This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Prevent Installation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 06, 2010
04:10 PM
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.
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 09, 2010
03:06 AM
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.
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.