This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- User's Decision on Prerequisite
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 31, 2018
12:48 AM
User's Decision on Prerequisite
I have a number of prerequisites and binaries to be installed under an MSI. In one of the prerequisite, I want to set it with the behavior "The prerequisite may be optionally skipped by the user". The user's decision will then be used to determined if the corresponding binaries shall be installed. Is there a way to achieve this? Is it possible to track the user's decision on the prerequisite? If it is possible, how should I do it? Thank you.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 03, 2018
11:29 PM
Hi khteoh,
As per what you are asking this is possible.
You have to associate the redistributables with features in the redistributables tab.
I will try to explain this with an example:
1. Launch InstallShield.
2. Switch to "Installation Designer"
3. Navigate to Organization > Setup Design.
4. Create 2 Features :
- Bin 1
- Bin 2
5. Select "Bin 1", then Right click and create "New Component"
- Comp1
6. Select "Bin 2", then Right click and create "New Component"
- Comp2
7. Select "Comp1" and expand, select "Files".
8. Add "Bin1.exe"
9. Select "Comp2" and expand, select "Files".
10. Add "Bin2.exe"
Now It will look like this:
![](/legacyfs/online/vb/11567_RedistFeatureAssocia.png)
11. Navigate to Redistributables
12. Select "Redistributables One" and associate it with Feature "Bin 1" (in the bottom window)
13. Select "Redistributables Two" and associate it with Feature "Bin 2".
14. Build the project.
15. Run the setup.exe, now during installation select "Custom" insted of "Complete" in "Setup Type".
Only selecting "Bin1" will install "Redistributables One" and "Bin1.exe" (or any other payloads)
Only selecting "Bin2" will install "Redistributables Two" and "Bin2.exe" (or any other payloads)
Let me know if this helps 🙂
Regards,
Utsab
As per what you are asking this is possible.
You have to associate the redistributables with features in the redistributables tab.
I will try to explain this with an example:
1. Launch InstallShield.
2. Switch to "Installation Designer"
3. Navigate to Organization > Setup Design.
4. Create 2 Features :
- Bin 1
- Bin 2
5. Select "Bin 1", then Right click and create "New Component"
- Comp1
6. Select "Bin 2", then Right click and create "New Component"
- Comp2
7. Select "Comp1" and expand, select "Files".
8. Add "Bin1.exe"
9. Select "Comp2" and expand, select "Files".
10. Add "Bin2.exe"
Now It will look like this:
![](/legacyfs/online/vb/11567_RedistFeatureAssocia.png)
11. Navigate to Redistributables
12. Select "Redistributables One" and associate it with Feature "Bin 1" (in the bottom window)
13. Select "Redistributables Two" and associate it with Feature "Bin 2".
14. Build the project.
15. Run the setup.exe, now during installation select "Custom" insted of "Complete" in "Setup Type".
Only selecting "Bin1" will install "Redistributables One" and "Bin1.exe" (or any other payloads)
Only selecting "Bin2" will install "Redistributables Two" and "Bin2.exe" (or any other payloads)
Let me know if this helps 🙂
Regards,
Utsab
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2018
04:47 AM
khteoh wrote:
I have a number of prerequisites and binaries to be installed under an MSI. In one of the prerequisite, I want to set it with the behavior "The prerequisite may be optionally skipped by the user". The user's decision will then be used to determined if the corresponding binaries shall be installed. Is there a way to achieve this? Is it possible to track the user's decision on the prerequisite? If it is possible, how should I do it? Thank you.
Hi,
You are almost there,by setting "The prerequisite may be optionally skipped by the user" you could make optional pre-requisite installation to user.
-Enable "The prerequisite may be optionally skipped by the user" option on Prerequisite editor->Behavior tab.
-Then associate edited prerequisite by opting for either Feature\Install before feature selection under redistributables view(As per UtsabKarmakar's comments)
That is it,now you will be able to see user-optional installation..Following link talks about it in detail:http://helpnet.flexerasoftware.com/isxhelp20/Content/helplibrary/IHelpSetPrereqRun.htm
Find the attached snap for reference:
Hope it helps.
Thanks,
Jenifer
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)