Script Blocked - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

harry
Posts: 4
Joined: Fri Feb 05, 2010 6:26 am

Script Blocked

Hi,

In our Enterprise installer project, we have a Custom Action to run a vbscript. Some of our customers failed to install our software and get the error message “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.”

They have tried to disabled the anti-virus software but this didn’t help. Do you have any ideas about what blocks the script from running? Besides our custom vbscript, are there any other scripts in the installer required to be run and possible to be blocked?

Kind regards
Harry
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Script Blocked

Hello Harry,

This type of error usually occurs when there is an error in your VBscript. Here is FAQ from our user guide that refers to it.
You may also want to debug your custom action before attaching it to your project. You can do so with the help of "MsgBox" functions inside your script.
You could also run/debug the custom action outside the installer on the computers that manifest the problem. This way you could perhaps isolate the problem.

Another reason may be that the custom action does not have enough privileges to run. You could solve this by setting its execution option to "Deferred with no impersonation".

If all the above fail in your case, please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”