Installshield: can I use ProductVersion property in MSI update table?

A typical "upgrade table" for an InstallShield MSI installation contains two entries: "any version to current - upgrade" and "current to any - downgrade". This requires you to manually copy-paste the "current version" every time the major, minor or build number changes, which is not very good.

I am currently using a script that parses the .ism project file and replaces the version number in the pre-build update table. But this is a dirty hack. Perhaps the MSI "ProductVersion" property can be used in the update table so that the product version is only stored in this property? I tried to enter this property name in several ways, for example [ProductVersion]

or ##ProductVersion##

, but nothing helps - it is not replaced by the property value, and as a result the MSI contains the text "## ProductVersion ##" instead of "1.30. 1264".

+3


source to share


1 answer


, , . , - ***ALL_VERSIONS***

(, InstallShield ). , , ProductVersion .



If you have already changed the token to the actual version, you can change it using the "friendly" view by choosing the radio button that refers to "my version" instead of the actual version. Or you can create a new project to see it and copy it. The marker works in either the minimum or maximum margin in all recent versions (but only in the maximum margin in some older versions) of InstallShield.

+7


source







All Articles