cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
harid38
Level 5

How to block Msi to update.

Hi,

i'm using Basic Msi project and i wanted to block the update and tell the user to uninstall the previous version and then install the new version of the product. How to do this?

Thanks for the help in advance.
Labels (1)
0 Kudos
(1) Reply
manomatt
Level 8

Put a CustomAction at the begining of the installation which checks for the uninstall key of the product in the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[ProductGUID]

if its there then pop up a message.
0 Kudos