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
- :
- Re: Validate duplicate instance name in InstallShield Basic MSI project
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
Apr 17, 2019
06:56 AM
Validate duplicate instance name in InstallShield Basic MSI project
Hi Team, I have enabled Multiple Instances in our MSI project. I am getting the instance name in a separate custom dialog and assign that to [ProductName] property before install. However i am able to input the same instance name multiple times and install the exe[Refer the image attached]. Is there any way inbuilt to validate the duplicate instance name before install. Thanks, Ramesh P.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 23, 2019
01:34 PM
You can search the Registry - in particular the Uninstall information that represents your installers. Look for the DisplayName using a SystemSearch. Set the SystemSearch to a custom Windows Installer property. It is expected you know the ProductCode GUID for all the instances.
Compare the result of the SystemSearch to the property entered on the dialog. This is expected to occur in the User Interface for you to handle accordingly.