Reputation: 307
I'm using Installshield 2019 to generate a basic MSI file. I want to customize the file properties that are displayed in the windows explorer file properties (in the details tab => title, subject, comments) Sadly (and strangely), the Product Version does not appear in my generated MSI file's props, and I would like to have at least one file property with the product version.
Constraint: It is automated => I'm using the command line with IsBuildCmd.exe to pass the product version.
In the General Information panel of my project I can define a few values they are mapped to "Strings" (and not properties). In the release information it is the same, I can override the file properties values, but they are mapped to "strings".
1/ I don't manage to map those values to properties
2/ I did not find anything to override "Strings" from the command line
Thanks for your help
Upvotes: 3
Views: 678
Reputation: 42226
Try these old answers:
On Installshield Build Automation. IsCmdBld.exe
, InstallShield Automation Interface
, MsBuild.exe
, etc...
- make sure to read the actual answer.
Chris Painter on COM automation (scroll up to see question details)
Short answer is that there are various options here to review. Be aware that there are some persistent bugs here and there, have a good read of the answers - particularly the problems described in the second one. Maybe run a smoke test.
Further Links:
Upvotes: 0
Reputation: 708
It may be a little tough but I think you can control this using the IsWiProject COM interface. With this you can dynamically set the ProductVersion property for the project.
Upvotes: 1