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
- :
- Prereq Editor - Files to Include allow path variables?
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
‎Mar 16, 2010
08:24 AM
Prereq Editor - Files to Include allow path variables?
In InstallShield 12, I was able create a Prerequisiste and then modify the path afterwards to use a Path Variable (See First Image below - IS12_Prereq.jpg)
In InstallShield 2010, I cannot "Modify" the path to use a Path Variable even though the path clearly exists. (See Second Image below - IS2010_Prereq.jpg)
I get the "The specified file does not exist, therefore the size of the file as stored by the prerequisite will be 0" warning.
Did something change between the two versions to not allow this?
I do not want to hard code this path when the build computer and my computer may differ in the names of our ClearCase views?
How would one recommend I remedy this situation?
In InstallShield 2010, I cannot "Modify" the path to use a Path Variable even though the path clearly exists. (See Second Image below - IS2010_Prereq.jpg)
I get the "The specified file does not exist, therefore the size of the file as stored by the prerequisite will be 0" warning.
Did something change between the two versions to not allow this?
I do not want to hard code this path when the build computer and my computer may differ in the names of our ClearCase views?
How would one recommend I remedy this situation?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 18, 2010
03:06 PM
:confused:
Bumping my thread up.
Does anyone know how to use Path variables in a prerequisite?
Bumping my thread up.
Does anyone know how to use Path variables in a prerequisite?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 12, 2010
04:00 PM
Prerequisites are created separately from projects, so it's not feasible to know what path variables will be available at consumption time. So this isn't exactly supported. However it should be easy enough to open up the .prq file in a text editor and change the paths to use variables, and I believe that should continue to build correctly.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
12:11 PM
We're facing the same issue where we want to avoid hard-coding a single path into the PRQ file. I'm able to manually edit the PRQ file by using the ISProjectFolder variable in the LocalFile path. The project builds but the resulting setup.exe does not contain the prerequisite (based on its file size).
This works
This builds but does not include the prerequisite in the setup.exe.
Any ideas? What types of path variables are supposed to work?
Thanks.
Brian Baltz
This works
This builds but does not include the prerequisite in the setup.exe.
Any ideas? What types of path variables are supposed to work?
Thanks.
Brian Baltz
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
01:07 PM
I think I figured out my mistake. I needed to encode the braces surrounding ISProjectFolder so the XML isn't corrupted.
\SourceFiles
When I make this change (manually) the installer builds and the prerequisite is included. I'm still not able to modify the PRQ file in Prerequisite Editor but that's ok.
Brian
When I make this change (manually) the installer builds and the prerequisite is included. I'm still not able to modify the PRQ file in Prerequisite Editor but that's ok.
Brian