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: Command Line build questions - Basic MSI
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 04, 2014
01:50 PM
Command Line build questions - Basic MSI
I am under the impression that it is possible to do a build using the command line using the IsCmdBld.exe.
are there any switches that let me change the product and package codes?
the -y switch mentions it can change the version number in the format of xx.xx.xxxx. My group uses a x.x.x.x notation, will the -y switch still accept that?
I currently have 7 different MSI's that I need to build and hand off to our testing group once a week, I am just looking for a way of streamlining/automating the process instead of having to open each installer file. 2 of the packages are always a major upgrade, while the other 5 are almost always minor.
are there any switches that let me change the product and package codes?
the -y
I currently have 7 different MSI's that I need to build and hand off to our testing group once a week, I am just looking for a way of streamlining/automating the process instead of having to open each installer file. 2 of the packages are always a major upgrade, while the other 5 are almost always minor.
(9) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 04, 2014
04:40 PM
You can change ProductCode property with ISCmdBld.exe. However, PackageCode is in Summary Information Stream, you will have to use InstallShield Automation Interface to open and modify project during build time.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 04, 2014
04:48 PM
Do you need to set the PackageCode to a specific value (typically build reproducibility scenarios) or do you just need it to be different with each build? If the latter, InstallShield has a setting in the project to do this automatically.
Also I rarely call ISCmdBld.exe anymore. I use the MSBuild support. With MSBuild it's trivial to use a property function to gen up a new guid and assign it to the ProductCode property as part of the build.
Also I rarely call ISCmdBld.exe anymore. I use the MSBuild support. With MSBuild it's trivial to use a property function to gen up a new guid and assign it to the ProductCode property as part of the build.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2014
06:31 AM
Christopher Painter wrote:
Do you need to set the PackageCode to a specific value (typically build reproducibility scenarios) or do you just need it to be different with each build? If the latter, InstallShield has a setting in the project to do this automatically.
Also I rarely call ISCmdBld.exe anymore. I use the MSBuild support. With MSBuild it's trivial to use a property function to gen up a new guid and assign it to the ProductCode property as part of the build.
Nope don't need any specific PackageCode. I wasn't aware I could use MSBuild, do you have a link handy with an example of how to do what you suggest? Or could you give me a example?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2014
06:37 AM
Here's something to get you started:
http://helpnet.installshield.com/installshield18helplib/MSBuild.htm
Are you using MSBuild with a CI engine or are you using TFS / MSBuild? If TFS, what version? Also what version of MSBuild?
http://helpnet.installshield.com/installshield18helplib/MSBuild.htm
Are you using MSBuild with a CI engine or are you using TFS / MSBuild? If TFS, what version? Also what version of MSBuild?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2014
06:41 AM
Christopher Painter wrote:
Here's something to get you started:
http://helpnet.installshield.com/installshield18helplib/MSBuild.htm
Are you using MSBuild with a CI engine or are you using TFS / MSBuild? If TFS, what version? Also what version of MSBuild?
TFS MSBuild, Visual Studio is 2012 Ultimate (Ver 11.0.60610.01 U3). We will most likely be upgrading to 2013 here in a few months.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2014
06:44 AM
Have you made customizations to your build process template or are you using the stock default template? Does your build automation currently handle versioning assemblies?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2014
06:47 AM
Christopher Painter wrote:
Have you made customizations to your build process template or are you using the stock default template? Does your build automation currently handle versioning assemblies?
Haven't made any changes to the build process template. As far as versioning assemblies all of our projects reference a cs file that is nothing more than
[assembly: AssemblyVersion("1.9.15.0")]
[assembly: AssemblyFileVersion("1.9.15.0")]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 06, 2014
07:46 PM
I wrote a message for you at work but every time I try to get on this site to post it I can't. I'll get it done here soon.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2014
03:35 PM
Christopher Painter wrote:
I wrote a message for you at work but every time I try to get on this site to post it I can't. I'll get it done here soon.
you ever get a chance to redo that message? 🙂
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)