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

    .vbs doesn't run on setup commit


    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.

    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?


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

    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:

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