|
I have created VS2005 windows application and Setup project. During installationI have to check for some condition and only allowsthe installation if the condition is true. ElseI want to stop Installation process and rollback application. I used
throw new InstallException("Sorry. You cannot install. Invalid Email Address.");
throw new Install Exception, but it shows some strange message. (”An exception occurred in the OnBeforeInstall event handler ofInstaller1->Sorry. You cannot install. Invalid Email Address. This is the message I got. I want to remove the first part of the erro message. Can anyone help me?
|