installshieldbasic-msi

How can I dynamically customize the product version in the MSI file properties with Installshield


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


Solution

  • 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.