cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kaneohe
Level 6

Prevent Installation

Project Type: InstallScript MSI

What is the best way to prevent an installation from running if a related product has not been installed? If product A has not been installed I want to prevent product B from installing with a message to the user that they're running them out of order.
Labels (1)
0 Kudos
(1) Reply
Vijay__K
Level 7

Hi,
You can do a System search for a component guid or product guid for Product A.

If it finds a guid in the registry , you can then insert a custom action to run only if the GUID is detected.
The custom action warns the users, and then exits the installatino.
0 Kudos