Anthrax
Posts: 19
Joined: Tue Jul 31, 2007 1:51 pm

Problems running custom action from radio button choice

Hello,

after spending hours with my problem to start a custom action with an execution condition which ist set by a radio button group, i give up and post my problem so i hope that somebody can help me.
I am using AI 6.5.2 Enterprise and try to start a custom action (.exe) in InstallExecuteSequence->Install with the execution condition InstDrv = 1.
The Property InstDrv ist my Radio button group with two radio buttons on a custom dialog (DriverInstallDlg). This dialog is shown after the License Agreement Dialog. When i choose "Run Custom Action" the RB Group Property gets the value 1 and when i choose the other option, the property gets the value 0.
Now when the actions are shown in the progress dialog, my custom action will not be started and it doesn't matter which option i choose.
When i remove the execution condition, the custom action will be started every time.
To debug this, i have created a static text which shows me the actual value of the property InstDrv in the progress dialog. The static text shows every time the correct value, but it seems that the value of the radio button group will not be considered.
I hope somebody can help me
Thanks in advance
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Problems running custom action from radio button choice

Hello,

Please use INSTDRV with ALL UPPERCASE letters for the property to be available during the entire install process.
Let me know how this works for you.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Anthrax
Posts: 19
Joined: Tue Jul 31, 2007 1:51 pm

Re: Problems running custom action from radio button choice

Dear Gabriel,

IT WORKS!!!
After changing the property to complete Uppercase Letters, the custom action started everytime when i select install.
Thank you very much for your help.

Return to “Common Problems”