Click here to Skip to main content
15,887,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is there any way in InstallShield that we can identify which files need to deploy and which not on user machine basis of which option is selected by user?

We want to combine two InstallScript setup to single Basic MSI project because both setups using lot of same screens and logic even some common deployment files.

For example Simple Feature Setup is deploying file1, file2 & file3 while Advance Feature setup is deploying file4 and all the files which is deployed by Simple Feature setup.

So in new setup we will add screen where user can select whether wants to install Simple Feature or Advance Feature.

Hence my goal is if user selects Simple Feature then file4 should not deploy on user machine while selecting Advance Feature it should.

What I have tried:

Didn't get found any help on this
Posted
Updated 3-Aug-17 4:33am
v2

1 solution

You need to Google for "InstallShield how do features work", "InstallShield how does INSTALLLEVEL work" and start reading.

Features that have a level higher than the value of INSTALLLEVEL do not get installed, so, in your case, you could set the feature that installs file1, file2, and file3 to 100 and have another feature that installs file4 at level 200.

Then it's just a matter of setting INSTALLLEVEL based on what features are selected.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900