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
- :
- Command Line Build Path Variable Issues
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
Feb 13, 2014
09:28 AM
Command Line Build Path Variable Issues
"C:\Program Files (x86)\InstallShield\2013\System\iscmdbld.exe" -p "C:\InstallShield 2013 Projects\MyProjectTest.ism" -l CODE_BRANCH="Sapphire" -l INTERNALVERSION="2.0.0.76" -a PROJECT_ASSISTANT -R SINGLE_MSI_IMAGE -x
We are running the above code to build a project (Basic MSI). In our path variables we have 3:
CODE_BRANCH
INTERNALVERSION
SOURCE_PATH = \\FolderLocation\
If we use SOURCE_PATH and just set that one variable to be replaced it works fine, but it appears the way the build is working if you try to set two variables that are stored in another variable its ignored.. Am I right or am I missing something? Any help would be appreciated.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 14, 2014
05:57 PM
Perhaps the -l option needs to be a comma or semicolon delimited list rather than a duplicated switch?
I asked the exe for its usage and it wasn't very helpful.
-l="New Path" override path variable location
I also tried it with my build software. The command line it generated was the same as yours. -r "Release 1" -l Hello=c:\ -l Test=c:\
Maybe the quotes are a problem?
I asked the exe for its usage and it wasn't very helpful.
-l
I also tried it with my build software. The command line it generated was the same as yours. -r "Release 1" -l Hello=c:\ -l Test=c:\
Maybe the quotes are a problem?
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)