PDA

View Full Version : Is it possible to designate pre-requisite folder by InstallShield project?



ctdeveloper
09-30-2015, 08:22 AM
We have a single InstallShield 2015 Professional Edition license and use InstallShield Editor to manage two separate projects (.ism).

Both projects, include Microsoft .NET Framework 4.5.2 Full redistributable. However, the pre-requisite behavior is different in both projects.

To handle this, a separate pre-requisite folder was created. This allows us to have two .NET Framework 4.5.2 pre-requisites with different behavior.

However, InstallShield is configured to show redistributables from both folders (Tools->Options->Prerequisites->All Users).

Is there a way to designate by InstallShield project which pre-requisite folder to use?

DLee65
10-06-2015, 01:46 PM
I am not sure how to do this from the developer UI, but you can specify the prererequisites directory for build machines using your command line switches.
Command line options are here. http://helpnet.installshield.com/installshield22helplib/helplibrary/ISCmdBldParam.htm#ref-command-linetools_195517592_1033924
Look at the use for -prqPath. Maybe that will help you.

MarkusLatz
10-07-2015, 04:53 AM
Never used myself, but according the InstallShield help you can use path variables like <ISProjectFolder>

See help:

http://helpnet.flexerasoftware.com/installshield22helplib/installshield22helplib.htm#StartTopic=helplibrary/ToolsOptionsPrereq.htm

regards

Markus