CustomAction <action_name> returned actual error code 1603 in installshield

Vimal picture Vimal · Aug 3, 2011 · Viewed 30.3k times · Source

I'm using using Basic MSI to install my application.

I'm getting Error 1001 during installation and roll back action takes place. I've noticed in the installation log that I get this error:

"CustomAction returned actual error code 1603. Action ended InstallFinalize. Return value 3.

Custom Action dll is a .NET Installer Class and the property is set to True.

Does anyone have an idea what could be the problem?

Answer

Michael Urman picture Michael Urman · Aug 2, 2011

Your installation project includes a component with .NET Installer Class set to Yes. Using this option is an anti-pattern, as it can result in modal UI even in silent installations, and often tells you only "Error 1001". You can either look for the component with this setting, or take a verbose log and look for information shortly before the first or only return value 3.