Hello,
Please note that in a radio button group one of the buttons must always be selected. Please take a look on our article :
Radio Button Group. By default "Only for me" is selected, thus Ai_InstallPerUser is set to "1". You could evaluate a condition before the InstallTypeDlg is displayed and if it is true, set Ai_InstallPerUser to "0", thus selecting "Everybody (all users).
The behaviour you need could be obtained by creating a "Set Installer Property" custom action for Ai_InstallPerUser property. The execution of this custom action should be conditioned by your criteria.
This method could be implemented in the following way:
-go to "Custom Actions" page and create a new "Set installer property" without sequence. In the Property field enter "Ai_InstallPerUser" and "0" in the value field.
-go to WelcomeDlg, the dialog preceding the dialog containing the radio button group, select "Next" button and create a new published event associated with it. Select "Execute Custom" action from "Installer Actions" and your custom action from "Argument" listbox. In the condition field enter the condition that changes the install type to "per-machine install".
Please take a look on our article regarding
Edit Condition Dialog. This explains how the condition should be formulated.
Best regards,
Sorin
FOLLOW US
Get the latest news in Application Packaging