cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ningchen
Level 4

How to detect a new version of a redistributable software already exists?

The IS version I use is 2008 professional.

In Sequences->Installation->User Interface, I added a custom action to install a redistributable software, suppose its version is 2.0. If the redistributable software on the target PC is version 3.0, it would fail to install the redistributable software, and the installation exits.

Is there a way to figure out that there's a new version of the redistributable software on the target machine so that this step can be skipped?

Thank you!
Labels (1)
0 Kudos
(2) Replies
heiner_violet
Level 7

Hi,
Maybe there is a registry key (HKEY_LOCAL_MACHINE\SOFTWARE) indicating that the software is already installed.
Greetings H
0 Kudos
ningchen
Level 4

Yes, it works. I can find it from the registry and compare its version to decide whether to install it. Thank you.
0 Kudos