Community Forums
Results 1 to 4 of 4

Thread: Set Product_version at runtime

  1. #1
    Join Date
    May 2014
    Posts
    6

    Set Product_version at runtime

    I have a 'Basic MSI' project of InstallShield 2013 Pro. I would like to create the setup with isbuild.exe like "isbuild.exe" -p"<project>.ism" -b"<workingDir>".
    Is it possible to set the 'Product Version' and 'Product Name' Properties, which are defined in the 'General Information' tab of the project, via Batch or PowerShell or parameter or whatever before isbuild.exe is going to start?

  2. #2
    Join Date
    Dec 2013
    Posts
    103
    you'll want to use the command line interface. I use the .ini file approach.

  3. #3
    chad.petersen Guest
    Instead of isbuild.exe you might want to look at IsCmdBld.exe. It has a few options that might help.

    -y <Product Version> version number in the format xx.xx.xxxxx
    -z <Property=Value> set Property to Value in built MSI

    Another way that I've used is to save the ISM as XML format instead of Binary format (the default). Then I just write to the XML file into the spots for the things I want to update and save before starting the actual build.

    Chad

  4. #4
    Join Date
    May 2014
    Posts
    6
    Thank's a lot for reply.
    I think the easiest way is to use IsCmdBld.exe. I'll try that.
    I had looked at the ism-file but did not know the possibility to saved it as an xml-file. Thank's for the hint.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •