Hello,
My install sets registry key "Version" to [ProductVersion] in the registry. This works fine.
However, when a previous version is installed and I run a major upgrade, the version in the registry is not updated and the previous version number remains. If, however, I uninstall the old version and install the new version it is working just fine.
In the log file, I do have these related lines, so the last entry says it saves 1.01.0028 to the registry.
MSI (s) (08:30) [12:23:36:366]: Executing op: RegRemoveValue(Name=VersionMinor,Value=#0,)
RemoveRegistryValues: Key: \Software\Microsoft\Windows\CurrentVersion\Uninstall\*** 1.01.0027, Name: VersionMinor
...
MSI (s) (08:30) [12:23:36:409]: Executing op: RegRemoveValue(Name=Version,Value=[ProductVersion],)
RemoveRegistryValues: Key: \Software\***\***, Name: Version
...
MSI (s) (08:A0) [12:24:14:365]: Executing op: RegAddValue(Name=Version,Value=1.01.0028,)
WriteRegistryValues: Key: \Software\***\***, Name: Version, Value: 1.01.0028
When I now look at the value with the registry editor, I still see 1.01.0027. During the install I also looked in regedit updating values as the installation goes. I could see that the "Version" key was removed (uninstall step) properly in line with the conditions for key removal I have defined. But then it is added again as 1.01.0027.
I am using installer version 11.5.
Is it possible that this version has introduced a bug here?
Thank you,
Stephan
FOLLOW US
Get the latest news in Application Packaging