MSI Install Errror with CustomAction to execute a VBS-Script

The following error: "There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor"

Usually results from using the line:

	Set WShell = WScript.CreateObject("WScript.Shell")

instead of

	Set WShell = CreateObject("WScript.Shell")

this is caused because inside a MSI vbs-Scripts are executed with a different object model than when running standalone.

 

 

Leave a comment

Your email address will not be published. Required fields are marked *