Dec 03, 2021
12:13 PM
Thank you so much, a few tweaks and it works great, Just for others, to translate a bit of the solution, in the setup.rul make sure you define your function prototype's export prototype SetFeatureCondition(HWND); prototype SetFeatureStrCondition(HWND,STRING,NUMBER); Otherwise the response from roman2 was bang on. Much appreciated.
... View more
Dec 01, 2021
06:24 AM
Good Day All, Created a Basic MSI Followed similar suggested path as https://community.flexera.com/t5/InstallShield-Forum/Mutually-exclusive-feature-install/m-p/61442 However, I cannot get the behavior to do what I want, which is slightly different than the other poster. I have a Custom dialog created with 4 Radio Buttons, the intention is have the user select one of the four features they want to setup and then only that feature is visible in the Custom Setup dialog that is displayed when Next > is clicked on my Custom Dialog selection page. I also want that selected feature to be 'enabled' so its selected to install. This is what I did: 1. Created a custom dialog 'SelectSetupFeature' with Radio Button Group with its Property = SETUPOPTION 2. Added 4 Radio Button's which become "SETUPOPTION1" to "SETUPOPTION4" and each get their 'Value' Property set to A, B, C or D respectively. 3. Defined the 'SelectSetupFeature' Dialog's Next PushButton events as follows: The intention is that the Next > button is disabled unless they select A B C or D and that works as expected. The NewDialog is calling CustomSetup and the SETUPOPTION is getting set to A B C or D depending on which radio button selected. 4. In the 'ORGANIZATION > FEATURES' section I have 4 features defined Seems no matter what combination of feature property settings I use I cannot achieve the result I want. I only want to see the single feature the user selected via the radio button Dialog, in my Custom Setup dialog It seems that the SETUPOPTION is getting set to the A B C D value but my 'Conditions' for the feature definitions are not working like I expected, Ive tried so many combinations I am unable to get the behavior to work properly. During runtime it either defaults to "Feature A" or wont show any features at all in the Custom Setup dialog. (I have the dialog temporarily displaying the INSTALLLEVEL and SETUPOPTION values in right corner) In the features definition properties I have tried a variety of combination of things Tried setting the Install Level to 0 so it hides it by default, then wanted to use 'Conditions' to set the Install Level to 100 but the feature doesn't seem to show up. Note: for all four features I have them setup the same basically as above Any ideas on what I should be doing ? Perhaps what I want to achieve is not possible with a Basic MSI kit? Joe
... View more
Labels
- Labels:
-
InstallShield 2020
Latest posts by JosephV
Subject | Views | Posted |
---|---|---|
540 | Dec 03, 2021 12:13 PM | |
566 | Dec 01, 2021 06:24 AM |
Activity Feed
- Posted Re: Mutually exclusive feature install not working as expected on InstallShield Forum. Dec 03, 2021 12:13 PM
- Kudoed Re: Mutually exclusive feature install not working as expected for roman2. Dec 03, 2021 12:13 PM
- Posted Mutually exclusive feature install not working as expected on InstallShield Forum. Dec 01, 2021 06:24 AM