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 command line
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
‎May 19, 2008
08:14 AM
ISCmdBld command line
Hi,
The command line ISCmdBld.exe -p myprojectfile.ism -y "1.0.5" does
not overwrite the version "1.0.4" set from the IDE.
According to the documentation, the parameter -y enables you to
specify the product version from the command line.
What's wrong?
Thanx for your help
The command line ISCmdBld.exe -p myprojectfile.ism -y "1.0.5" does
not overwrite the version "1.0.4" set from the IDE.
According to the documentation, the parameter -y enables you to
specify the product version from the command line.
What's wrong?
Thanx for your help
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 19, 2008
08:48 AM
Hello,
I just did a "IsCmdBld /?" in a windows dos prompt and here is the output.
As you can see, there is no "-y" switch. I wouldn't mind seeing a screen shot on where you saw this, because I actually had to write a command line function that goes in and modifies the product version in the *.ism file.
I just did a "IsCmdBld /?" in a windows dos prompt and here is the output.
InstallShield (R)
Release Builder
Copyright 1997-2006 Macrovision Europe Ltd.
and/or Macrovision Corporation.
All Rights Reserved.
---COMMAND LINE OPTIONS---
--REQUIRED--
-pproject file name
--OPTIONAL--
-rname of the release
-bfull path to the output folders and files
-s silent build
-i <.ini file path> full path to an .ini file
-u upgrade only
-x stop at first error
-w treat warnings as errors
-n don't compile setup.rul
-q2 WINDOWS INSTALLER PROJECTS: build tables and refresh files
PROFESSIONAL PROJECTS: rebuild only changes since the last build
-q3 only compile setup.rul
--WINDOWS INSTALLER PROJECTS--
-aname of the product configuration
-c
COMP = Files compressed into .msi file;
UNCOMP = Files remain uncompressed
-f
-einclude Setup.exe in the build
-mname of the CUB file to use to validate the package
-k use specified skin
-q1 build tables only
For more information on command-line parameters, please see the Help Library.
As you can see, there is no "-y" switch. I wouldn't mind seeing a screen shot on where you saw this, because I actually had to write a command line function that goes in and modifies the product version in the *.ism file.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 19, 2008
09:18 AM
The -y parameter was added in InstallShield 2008 for changing the version number through ISCmdBld.exe. Only Basic MSI and InstallScript MSI projects support it. InstallScript projects do not.
If you are using an InstallScript project, you may want to use the automation interface to change the version number. The ISWiProject object includes a ProductVersion property that you can use to change the version number.
I hope that helps.
Debbie Landers
Acresso Software
If you are using an InstallScript project, you may want to use the automation interface to change the version number. The ISWiProject object includes a ProductVersion property that you can use to change the version number.
I hope that helps.
Debbie Landers
Acresso Software
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 19, 2008
09:55 AM
Hello,
Thanks for the heads up on that. We are currently using IS12. We are going to upgrade to '08 when we are through one of our release cycles.
I'm glad I didn't waste my time making a command line executable that goes in and modifies the product version in the ISM project file. Since my executable modifies the ISM file, it works for Install Shield Script projects.
Since it was so simple to write, I would recommend that IS put it into the next version of IS. If you need details, please let me know. I'm willing to share.
Thanks for the heads up on that. We are currently using IS12. We are going to upgrade to '08 when we are through one of our release cycles.
I'm glad I didn't waste my time making a command line executable that goes in and modifies the product version in the ISM project file. Since my executable modifies the ISM file, it works for Install Shield Script projects.
Since it was so simple to write, I would recommend that IS put it into the next version of IS. If you need details, please let me know. I'm willing to share.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 19, 2008
11:12 AM
Thanks for the quick reply.
I fully share the idea of submiting the -y parameter of ISCmdBld.exe for InstallScript of the next version. It's so simple instead of using the existing automation interface.
All of our builds are generated by batch files (.bat), so we make use of lot of command lines. The primary idea was to open the IS (I use IS 2008) IDE only once, set up the .ism file, and for next releases (major or minor), just run a batch file with appropriate parameters.
tsfboao
I fully share the idea of submiting the -y parameter of ISCmdBld.exe for InstallScript of the next version. It's so simple instead of using the existing automation interface.
All of our builds are generated by batch files (.bat), so we make use of lot of command lines. The primary idea was to open the IS (I use IS 2008) IDE only once, set up the .ism file, and for next releases (major or minor), just run a batch file with appropriate parameters.
tsfboao
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 19, 2008
01:15 PM
That is exactly what we are doing as well. May I make a suggestion. Create a Command Line executable that will modify the project that will update the product version. You see, you can do this easily since the ISM file is in XML format. Open it as an XML document and you can change anything you need.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 26, 2008
05:39 AM
Hello,
Can someone show the usage of automation interface to change the version number in InstallScript projects.
How can we use the ISWiProject object in a batch file to change the ProductVersion property?
Could you provide a code example?
Thanks,
Can someone show the usage of automation interface to change the version number in InstallScript projects.
How can we use the ISWiProject object in a batch file to change the ProductVersion property?
Could you provide a code example?
Thanks,
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)