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: IsCmdBld.exe not accepting more than 1 parameter?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎May 07, 2012
02:17 AM
IsCmdBld.exe not accepting more than 1 parameter?
Hi,
We've been using IS for many years now and it seems the Standalone version for IS2012 have a pretty serious bug I'm surprised I'm not seeing more of.
The IsCmdBld.exe file does not accept more than 1 parameter and when trying to use more it simply does not recognize the following command entry. When I swap the entries around it recognize the other command but not the previous one since now it is the second entry.
I tried going around using -i to get all my parameters from an INI file but since Flexera STILL haven't made sure you can fetch -L from it I cannot do this.
Anyone else experienced similar issues?
We've been using IS for many years now and it seems the Standalone version for IS2012 have a pretty serious bug I'm surprised I'm not seeing more of.
The IsCmdBld.exe file does not accept more than 1 parameter and when trying to use more it simply does not recognize the following command entry. When I swap the entries around it recognize the other command but not the previous one since now it is the second entry.
I tried going around using -i to get all my parameters from an INI file but since Flexera STILL haven't made sure you can fetch -L from it I cannot do this.
Anyone else experienced similar issues?
(4) Replies
‎May 07, 2012
01:51 PM
In a quick test we are able to build a project passing -p, -a, and -r for the project file, product configuration, and release from the project to build. The project builds as expected from this command line.
Can you provide any additional information regarding the behavior you are seeing? For example, what is the exact command line you are trying to run?
Can you provide any additional information regarding the behavior you are seeing? For example, what is the exact command line you are trying to run?
‎May 08, 2012
03:18 AM
Sure, here is the line I'm trying to use:
!NOTE!
This is about *.issuite compile, not *.ism.
Ex.
IsCmdBld.exe -p "" -l WORKING_FOLDER="" -r ""
In the line above it finds the project file but does not use the path variable I've set. If I write the line like this:
IsCmdBld.exe -l WORKING_FOLDER="" -p "" -r ""
This line cannot find a specified project file.
I tried going the workaround via -i to provide all settings in an INI file but it does not support the path variable parameter (-l).
!NOTE!
This is about *.issuite compile, not *.ism.
Ex.
IsCmdBld.exe -p "
In the line above it finds the project file but does not use the path variable I've set. If I write the line like this:
IsCmdBld.exe -l WORKING_FOLDER="
This line cannot find a specified project file.
I tried going the workaround via -i to provide all settings in an INI file but it does not support the path variable parameter (-l).
‎May 08, 2012
12:51 PM
The -l command line build parameter was not supported in suite projects in IS 2012 (it is now supported in the latest release). However, that should only result in the -l overrides being ignored from the command line. It should not cause other parameters to be ignored.
We've tested the following command line in both IS 2012 and 2012 Spring and both are able to build a suite project successfully (though in 2012 the -l overrides are ignored, but both build the project release 'Release'):
iscmdbld.exe -p "C:\InstallShield 2012 Projects\My Suite Name-18.issuite" -l TEST="C:\test" -r "Release"
Can you try building a test suite project from the command line to see if the issue still occurs (to verify this isn't somehow project specific)? Also, what is the behavior you are seeing indicating the parameters after -l are ignored: if -p is after the -l do you get a -1017 error, or some other error?
We've tested the following command line in both IS 2012 and 2012 Spring and both are able to build a suite project successfully (though in 2012 the -l overrides are ignored, but both build the project release 'Release'):
iscmdbld.exe -p "C:\InstallShield 2012 Projects\My Suite Name-18.issuite" -l TEST="C:\test" -r "Release"
Can you try building a test suite project from the command line to see if the issue still occurs (to verify this isn't somehow project specific)? Also, what is the behavior you are seeing indicating the parameters after -l are ignored: if -p is after the -l do you get a -1017 error, or some other error?
‎May 09, 2012
07:48 AM
Thanks for the quick service!
We cannot build without the -l parameter unless we specify a real path in the issuite projects that isn't a relative path which is not acceptable in our environment.
When setting the -l parameter first I get the -1017 error yes. "Cannot find project file".
How do I get a hold of the latest version of IS2012 SAB where this is supported?
Brgds
We cannot build without the -l parameter unless we specify a real path in the issuite projects that isn't a relative path which is not acceptable in our environment.
When setting the -l parameter first I get the -1017 error yes. "Cannot find project file".
How do I get a hold of the latest version of IS2012 SAB where this is supported?
Brgds