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
- :
- Using String in 'Single Exe File Name'...
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
‎Oct 08, 2009
03:48 PM
Using String in 'Single Exe File Name'...
This might be a dumb question: Can you use a constant string in the 'Single Exe File Name'?
I added some strings to the string table (ex: PRODUCT_VERSION_DEMO, ..._FULL) with the intent to replace the hard coded values in Release's 'Single Exe File Name'. From: "SomeProductFullv2.0.exe" to "##PRODUCT_VERSION_DEMO##.exe" Mainly I wanted to be able to change the version number in one place NOT four times in four different places.
When I did this (see shot below) it literally created ##PRODUCT_VERSION##.exe. I used "##" because I had to use those to use the new string in the
Here's a quick shot of what I want to do:
I added some strings to the string table (ex: PRODUCT_VERSION_DEMO, ..._FULL) with the intent to replace the hard coded values in Release's 'Single Exe File Name'. From: "SomeProductFullv2.0.exe" to "##PRODUCT_VERSION_DEMO##.exe" Mainly I wanted to be able to change the version number in one place NOT four times in four different places.
When I did this (see shot below) it literally created ##PRODUCT_VERSION##.exe. I used "##" because I had to use those to use the new string in the
Here's a quick shot of what I want to do:
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 25, 2010
08:44 AM
Short answer is no. Found out the hard way that you cannot use a string (from the string table or path table) for use in naming the physical *.exe
Thank you everyone for your responses...
Thank you everyone for your responses...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 25, 2010
09:38 AM
If nothing else, perhaps you could use the InstallShield automation interface to read property values and then feed them back to ISProductConfig.SetupFileName before building.