10.1 Custom Action setting "unsupported type" - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

10.1 Custom Action setting "unsupported type"

With 10.1 when creating a "Set Installer Property" with sequence Custom Action with basic common values AI is creating a "caphyon.advinst.msicomp.MsiCustActComponent" ROW with Type="115", instead of Type="51". When built and the installer is executed that type is causing the exception "Custom action (the-name) specifies an unsupported type." and the installation fails.

The workaround is to manually edit the type changing it from 115 to 51. Then everything works as expected.

The verbose install log is attached here.

The project file was emailed earlier today for a previous post:
10.1 Custom Action GUI displays "Error"
http://www.advancedinstaller.com/forums ... =2&t=25877

The log ...
Attachments
DocVue-Install.zip
Installer verbose log
(28.96 KiB) Downloaded 386 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: 10.1 Custom Action setting "unsupported type"

Thank you for bringing this to our attention, we shall investigate it and fix the problem ASAP.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: 10.1 Custom Action setting "unsupported type"

This happens only if you untick the option "Fail installation if custom action returns an error". This option is not supported by this custom action and should not be available for editing,
disabling it is already on our TODO list.

If you add a new custom action and don't change this option it should work.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

Re: 10.1 Custom Action setting "unsupported type"

Bogdan wrote:This happens only if you untick the option "Fail installation if custom action returns an error".
Yup - I was disabling that on the notion it wasn't necessary. Disabling the checkbox for the appropriate types would help in keeping us from shooting ourselves in the foot! :mrgreen:

Return to “Common Problems”