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 8982083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:29:51+00:00 2026-06-15T20:29:51+00:00

I`m currently new to Wix and having trouble with a vbs script that should

  • 0

I`m currently new to Wix and having trouble with a vbs script that should be run at the end of the installation process.

What do I have so far:

I was able to insert several files and registry calls into my msi file. The installation process works fine, all files are stored in a proper folder and the registry is being updated.
Now, I`m trying to call a vbs script at the end of the installation process. The script itself is nothing special, for starters it should just display a message box.

I created a custom action prior to this document (Custom Action Type 6):
http://blogs.technet.com/b/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx

The following is being displayed when running the msi file:

‘There is a problem with this Windows Installer package.
A script required for this install to complete could not be
run. Contact your support personnnel or package vendor.’

I tried to implement and run the script in wix like this:

<Binary Id="dasd" SourceFile="C:\Dokumente und Einstellungen\administrator\Desktop\dasd.vbs" />
<CustomAction Id="DoSomething" BinaryKey="dasd" HideTarget="no" Impersonate="no" VBScriptCall="" Execute="deferred" Return="check" />
    <InstallExecuteSequence>
        <Custom Action="DoSomething" Before="InstallFinalize" />
    </InstallExecuteSequence>

The attribute ‘VBScriptCall’ previously had the value ‘Main’. I deleted it, because I am not using a function called ‘Main’. I thought that ‘Main’ wold just run the complete script. However, it`s neither working with ‘Main’ nor without it.

I`m under the impression that it is not required to have the script file on the file system (during execution of the msi file). May I be wrong here?

Might anyone figure out what`s going wrong here?

Best regards,
Markus

  • 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. Editorial Team
    Editorial Team
    2026-06-15T20:29:53+00:00Added an answer on June 15, 2026 at 8:29 pm

    finally, I was able to solve the problem.
    The path to the vbs script was wrong:

    <Binary Id="dasd" SourceFile="C:\Dokumente und codeEinstellungen\administrator\Desktop\dasd.vbs" />
    

    I edited the path in the wxs file manually to ‘C:\Dokumente und Einstellungen[…]\dasd.vbs’ by mistake. WixEdit just sets it to ‘dasd.vbs’, which is correct in this case.

    Maybe someone may find this helpful and doesn`t have to search for too long to solve the case ;-).

    Best regards,
    Markus

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

Sidebar

Related Questions

I'm new to msbuild and currently I'm trying to create msbuild script that will
I have created a .railsrc file in home directory that currently creates new Rails
I am currently new to open layers. And I am having trouble on using
I am currently new in OPC ( OLE for process control). I want to
We are currently creating a new strategy for our inhouse applications. We currently have
I'm currently starting a new project that will display user distrubuted data links in
I am currently developing a new WPF application and have the majority of my
I'm currently developing a new website powered by Play! framework 2.0 and I have
Currently our new database design is changing rapidly and I don't always have time
I have a msi package generated by wix that creates a system environment variable

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.