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

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.
0 Kudos
1 Reply
Flexera Alumni

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.
0 Kudos