/build/static/layout/Breadcrumb_cap_w.png

Easy Fix for [Some] Wise Custom Actions Resulting in MSI Installation Failure

Scenario:

You have an unruly CA - e.g. "Call VBScript from Embedded Code" and it sometimes works, but sometimes fails and ruins the whole install. In any case the result is not crucial to the successful deployment of the application.

What to do:

In the CA window, select tab 'Properties' and in the 'Processing' drop-down box select 'Synchronous, Ignore exit code'

This way, the msi installation no longer result in the ghastly 1720 msi error code.

Detailed scenario:

We all know that most of the times we have to use MST with vendor's MSI to customise the install process.

We all also know that sometimes the uninstall doesn't remove certain folders or you sometimes need to move a Shortcuts Folder and similar cases.

In these cases we are most likely to use a quick VBScript (objFS.deleteFolder(pathToFolder) with the necessary declarations and variables)

VBScript is very peculiar on whether a folder exists before you can move a file (shortcut) into it or whether you are trying to delete a non-existent folder.

One little slip and we are likely to get 1720.

In cases like this, utilize the option depicted in the 'What to do' section above.


Comments

This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ