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
- :
- Re: custom prereqs
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 14, 2008
10:23 AM
custom prereqs
Is it possible to store custom prereqs in different folder than the IS default and point to these prereqs in your Basic MSI project?
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 14, 2008
10:31 AM
Yes, but you have to modify the ISSetupPrerequisites table directly to reference the other location, and you will be unable to add it directly in the redistributables view. It's probably easiest to add a copy of the prerequisite to the folder, add it to the project, then edit it in the table.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 14, 2008
10:40 AM
InstallShields story could be a little better here. I don't like to have out of path dependencies on my build box the way InstallShield suggests to do things out of the box. Having a search order and command line override like `-o` for msm would be good for prereq.
I currently do as MichaelU suggests ( .\directory is my typical ) which also has the nasty side effect of breaking test builds in the IDE when InstallShield has changed my working directory. I have to quit the IDE and start it back up to reset it. Fortuanatly that's not a problem on my build box.
I currently do as MichaelU suggests ( .\directory is my typical ) which also has the nasty side effect of breaking test builds in the IDE when InstallShield has changed my working directory. I have to quit the IDE and start it back up to reset it. Fortuanatly that's not a problem on my build box.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 15, 2008
03:37 AM
I tried this and it works. In InstallShield 2009 I can still build through the IDE and the prereqs are still visible in the Redist view. This work-around works for me:)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 15, 2008
08:57 AM
Another question - is there a way to set the path to the file the prereq runs relative to where the prq file lives?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 15, 2008
10:08 AM
this seams to work - I copy the prereqs from the IS folder as above and edit the prq file to look at my Prereqs path variable in my project. this path is stored as "..\Prerequisites". This keeps the checksum and filesize in order so that the prereq doesn't grey out under the Redistributables view
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 11, 2008
08:18 AM
Is there a way to change a prerequite's output location? If I select "Copy from source media", IS creates the ISSetupPrerequisites folder and puts the prerequisites there, but I'd like to have the prerequisites in the same folder as setup.exe.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)