Try – Catch Blocks in the InstallScript Language

If you are new to InstallShield or the InstallScript language, and are coming from the C# or VB.NET world, you may be wondering how to handle exceptions in your installation.

The InstallScript language has a Try – Catch capability just like the languages you are used to working in. Here’s what it looks like:

try
     // do some stuff

catch
     // handle the exception

endcatch;

 

InstallShield Thinks It's An Upgrade When You're Not Doing One

Leave a Comment

Security Code: