Results 1 to 2 of 2

Thread: .vbs doesn't run on setup commit

  1. #1

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    .vbs doesn't run on setup commit

    Hello,

    I have a .vbs file that contains the following 2 lines. If I just double click on the .vbs file, it executes the run.bat file, but when I put this file in CustomActions -> Commit in Visual Studio setup, the setup fails at the end with the following error.

    Code:
    Set objShell = CreateObject("WScript.Shell")
    objShell.Run "run.bat"
    This is the 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.
    Any ideas how to solve this?

    Thanks.

  2. #2
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,398

    Re: .vbs doesn't run on setup commit

    Make sure that the run.bat file is being placed at the correct location for the .vbs file to use by the installer before executing the .vbs file.

    Possibly useful links:

    https://www.auslogics.com/en/article...aller-package/

    https://answers.microsoft.com/en-us/...6-9e738551fc3c

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width