views:

30

answers:

1

I have an InstallShield project with 2 executable's. How do I change the product version property in General Information of InstallShield to match one of my executable's version number. I'm using auto builds.

Thanks in advance!!

A: 

Take a look at the following. You'll want to use the -y switch.

ISCmdBld.exe

Specifying the Product Version

WiX-Users: Exceeding Version Limits

Christopher Painter
Thanks, I'm using TFS for auto builds and the command line to call InstallShield is hardcoded, which means I cannot change the version for every build. I'm trying to save the version of .exe in a variable in TFS and pass this variable to IS using -z switch. Please let me know if there is a easy way.
smd
It would have been great if you said that in your question. If you are using TFS and TeamBuild you should be using MSBuild integration and not calling ISCmdBld directly. Either way your build automation should be driving a property down into your assembly versioner and your installshield build. You shouldn't have to version your EXE and then read the version from the EXE.
Christopher Painter
My bad, I should have mentioned that we use TFS 2010. We have a TFS build which outputs 2 exe's for 2 different solutions and I couldn't find a better way to integrate my build with InstallShield to use these exe's of both the solutions in my installer. So I edited the build process template by just dropping in an invoke process for ISCmdBld.exe , this works fine except the product version part. Please let me know if I can integrate InstallShield using MSBuild.
smd

related questions