PDA

View Full Version : [Registry] installation version detection


Regulator
10-10-2006, 03:25 PM
I'm posting here, because the Setup factory 6 topic is locked.
HKEY_LOCAL_MACHINE
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstal l\{EEFB15EB-FE8B-47DF-A496-1C4D1420294A}
"DisplayVersion"="1.0"
Now I need to forbid the installation of the program if else than "1.0" version found in the registry. For example 1.2 or 1.3.
Does anyone know how to do it?

Adam
10-11-2006, 09:21 AM
I would add code to the "Startup" action event.

The actions I would use are:

Read From Registry
IF (%RegVar% <> 1)
Abort
END

Adam Kapilik