/build/static/layout/Breadcrumb_cap_w.png

Add Remove Programs Version Display...

Hi All,

I was wondering if there was a way to tweak either the .msi or the registry to set the version displayed in Add/Remove Programs to reflect the actual applications .exe version. Since Windows Installer only recognizes/used #.#.# and executables and libraries are versioned #.#.#.#, they are out of wack a bit.

I would like add remove programs to reflect 1.2.0.44 instead of our install product version crunch to 1.2.44.

Then my question would be, would any change to this potentially harm the uninstall or upgrade processes due to a displayed version change.

I do see that in the registry that if I change the DisplayVersion value of HKLM\Software\Microsoft\Windows\CurrentVersion\Unintstall\{Product GUID} key, I see it reflected in ARP.

It would be nice, if a change here doesn't cause problems, I could set this in the .msi instead of setting in the registry at the end of the install.

Thoughts, pointers, pitfalls, warnings appreciated!

Thanks!

0 Comments   [ + ] Show comments

Answers (6)

Posted by: anonymous_9363 15 years ago
Red Belt
0
You could add the data to the ProductName property...or, as you say, change the DisplayVersion. Since they're both purely cosmetic, there are no implications that I can foresee.
Posted by: Superfreak3 15 years ago
2nd Degree Black Belt
0
What I was thinking of doing was to create a custom action near the end of the install to tweak this registry value. Will I still have [ProductCode] available to me in the Execute Deferred sequence sometime before InstallFinalize?
Posted by: yuri 15 years ago
Orange Belt
0
You can change the productname (as shown in Add/Remove Programs) in the registry:
HKEY_CLASSES_ROOT\Installer\Products\[GUID]\ProductName=

You can change the version (as shown in Add/Remove Programs)in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[GUID]\DisplayVersion=
Posted by: anonymous_9363 15 years ago
Red Belt
0
Will I still have [ProductCode] available to me in the Execute Deferred sequenceLuckily for you, PC is one of the 3 properties which are "natively" available in that sequence, viz. CustomActionData, ProductCode and UserSID.
Posted by: Superfreak3 15 years ago
2nd Degree Black Belt
0
I know now. I ran a simple little install with an action to display ProductCode right before InstallFinalize and I SAW THE CODE!!!!

[:D]
Posted by: yuri 14 years ago
Orange Belt
0
If you use a tool like Wise it is also possible to run it in debug mode. You could use a number of breakpoints to see if certain properties still exist.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ