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: Specify Alternate Folder for Setup Prerequisites?
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
‎Dec 26, 2007
11:59 AM
Specify Alternate Folder for Setup Prerequisites?
Is there a way to tell IS2008 to locate and load setup prerequisite files (prq files) from an alternative location rather than using %ProgramFiles%\Macrovision\IS2008\SetupPrerequisites? I would like to load them from a more project specific location rather than this general location.
Thanks.
Thanks.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 26, 2007
01:31 PM
I agree with you.... I don't like to have build box dependencies. I prefer to pull the prereq out of source into the project source tree space.
You can use the Direct Editor to manipulate the ISSetupPrerequisites table ( ISBuildSourcePath column ) to use any of your Path Variables like this:
\Prereqs\Microsoft XML 4.0.prq
You can also edit the XML .prq file and manipulate /SetupPrereq/files/file[@LocalFile] to be relatived path'd eith a .\foo.txt type reference.
You can use the Direct Editor to manipulate the ISSetupPrerequisites table ( ISBuildSourcePath column ) to use any of your Path Variables like this:
You can also edit the XML .prq file and manipulate /SetupPrereq/files/file[@LocalFile] to be relatived path'd eith a .\foo.txt type reference.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 27, 2007
12:33 PM
I agree too.
I had to use the manual method Chris mentions to make this work. The good news is that once you have added the entry you can modify PRQ settings for this particular prerequisite from within the Redistributables view.
I had to use the manual method Chris mentions to make this work. The good news is that once you have added the entry you can modify PRQ settings for this particular prerequisite from within the Redistributables view.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2009
03:17 AM
Hi,
That is very handy to do it if you want to have your prerequisites under source control, with your ISM project!
Is there any way to do that in newer version of IS (2009 or 2010), other than this manual way?
Regards
That is very handy to do it if you want to have your prerequisites under source control, with your ISM project!
Is there any way to do that in newer version of IS (2009 or 2010), other than this manual way?
Regards
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 29, 2009
04:21 PM
This worked quite well for me, as well. Just wanted to add one more detail that vexed me for a time. One of my prereqs depended on the other, and when you add the prereq, you are informed that the path will be added automatically. That path is always to ISProductDir, whether that's where you browse or not. This may be easily fixed by directly editing the .prq's XML outside of the Prereq Editor.
The problem showed up as an error that said my project referenced a prq in the Product folder, when I could find no such reference. Hopefully that'll help someone!
The problem showed up as an error that said my project referenced a prq in the Product folder, when I could find no such reference. Hopefully that'll help someone!
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)