10-16-2008 03:21 PM
Under the Advanced options of the deployment dialog, you can specify the build version (and to automatically increment the build).
It seems this version get converted to a string and inserted in the registry as a DisplayVersion for the Windows Installer section.
This registry entry is attached to a GUID that will change everytime a new build is made?
How can I extract the version that was installed on the computer??
Any other approach possible other than the registry??
thx
Gig52
10-20-2008 12:10 AM
Hello Gig52,
From the help on that field:
Version—Specifies the current software version number. The installer uses this number to check for a current installation and to check for upgrades. You must increment the version number to create versions of the installer capable of overwriting previous installers. The version corresponds to the [ProductVersion] Microsoft Installer (MSI) property
It is an MSI property so using the registry or SDK functions is going to be the way to go for what you are wanting to do.