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: How to Change Product/Package GUID from command-line build?
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
‎Sep 28, 2007
05:49 PM
How to Change Product/Package GUID from command-line build?
Hi,
I am using Basic MSI package, and I am trying to change Product GUID, Package GUID and the version number of my application during the package creation from a Command-Line build tool "ISSaBLD.exe", this is to acheive the full upgrade of the installation everytime we create the package. Is there anyway to make it work thru script?
Any help is appreciated.
Thanks,
-Moin
I am using Basic MSI package, and I am trying to change Product GUID, Package GUID and the version number of my application during the package creation from a Command-Line build tool "ISSaBLD.exe", this is to acheive the full upgrade of the installation everytime we create the package. Is there anyway to make it work thru script?
Any help is appreciated.
Thanks,
-Moin
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 03, 2007
07:28 PM
Is there any solution or any tip to accomplish this task?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 04, 2007
01:27 AM
I would recommend to use the (Standalone) Automation Interface of InstallShield. For more info take a look in the installshield help library.
-Nick
-Nick
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 04, 2007
09:42 AM
Note also the -z parameter, new to IS2008, which allows you to override properties from the command line. Both ProductVersion and ProductCode are properties, and the package code is generally set to be generated fresh each build (check your releases view > product configuration to be sure).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 05, 2007
01:27 PM
MichaelU wrote:
Note also the -z parameter, new to IS2008, which allows you to override properties from the command line. Both ProductVersion and ProductCode are properties, and the package code is generally set to be generated fresh each build (check your releases view > product configuration to be sure).
Nice, I can try that, is there any functionality in within IS2008 to generate GUID from a cmdline?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 08, 2007
09:10 AM
I believe one is exposed in the automation layer, but once you're using code, there are many ways to approach this. There's also a command line program called uuidgen which you may be able to use, but note that at least the version I have does not output upper-case letters.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)