I am using Installshield 2012 to build a basic msi installer , Here I have a custom dialog where i get the user inputs which are then passed to a dll for validation . The dll returns 0 or 1 based on the success or failure and in case of failure it also gives a msgbox.

The problem is that after clicking ok in the message box the installation is aborted . Is there anyway to throw the msg box without aborting the installation [Similar to a HTML form validation ??]

1

There are 1 answers

1
Ciprian On BEST ANSWER

Do not return 1 from your validation DLL. Windows Installer interprets this as failure and stops the installation. Always return 0. The correct approach would be to set a property in order to signal if the validation passed.