Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 72607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:04:16+00:00 2026-05-10T20:04:16+00:00

The Custom Action is configured as follows: Custom Action Name : MyCustomAction VBScript Filename

  • 0

The Custom Action is configured as follows:

Custom Action Name: MyCustomAction

VBScript Filename: <PathVar01>\MyFolder\MyVBSfile.vbs

ScriptFunction: MyFunction

Return Processing: Synchronous (Check exit code)

In-Script Execution: Immediate Execution

It is being executed via the following InstallScript code:

result = MsiDoAction(ISMSI_HANDLE,'MyCustomAction'); 

When the setup reaches that line in InstallScript, the installer shows an error alert, stating:

‘Error 1720.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.’

The result code returned by MsiDoAction is that of ‘1603’, which, according to winerror.h, is:

// // MessageId: ERROR_INSTALL_FAILURE // // MessageText: // //  Fatal error during installation. // #define ERROR_INSTALL_FAILURE            1603L 

Why is this happening? I was starting to doubt that the file was included properly. Yet, I am pointing to the correct file, and I’ve tried including the VBS via the InstallShield Support Files, thinking this would ensure the file was present with the setup, but same result.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:04:17+00:00Added an answer on May 10, 2026 at 8:04 pm

    Running the setup with logging enabled revealed the problem:

    Action 13:29:19: MyCustomAction.
    Action start 13:29:19: MyCustomAction.

    Error 1720.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. Custom action MyCustomAction script error -2146827278, Microsoft VBScript compilation error: Expected identifier Line 163, Column 37,
    blnExample,)

    To run a setup with logging enabled:

    ‘C:\SetupFolder\setup.exe’ /V’/l*v c:\Install.log’

    This forum thread was helpful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a basic WIX custom action: UINT __stdcall MyCustomAction(MSIHANDLE hInstaller) { DWORD dwSize=0;
I am running a VBScript as a Custom Action at the Commit part of
I have configured result as follows : Its my custom result type. <result-types> <result-type
I created a vbscript custom action which checks for some registry keys and alters
Here is a portion of my struts.xml: <constant name=struts.custom.i18n.resources value=global /> and <action name=picture_save
So I have a custom action <CustomAction Id=GetTarget BinaryKey=CA DllEntry=GetTargetPath Execute=immediate Return=check HideTarget=no Impersonate=no
I have added a custom action to the CustomList type. For testing purposes I
I've a custom Action on Deployment project of .NET Application, which contains custom dialogbox
I have one custom action (add) and two custom objects (favorites list) and (tv
How can I add custom action in generator.yml that point to an action in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.