Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to run a Batch file


1 reply to this topic

Raam

Raam
  • Members
  • 12 posts

Posted 28 December 2005 - 07:16

All,

In my Basic MSI project which is developed using Installshield 11, I need to run a batch file which will invoke the command prompt to do some action.

I want to know how we can run batch file during the installation of the msi.

Also is it possible to make the execution silently, I mean the command prompt window shouldnt come up and annoy the user.

Raam

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 28 December 2005 - 13:53

You can run cmd.exe as a custom action and pass /c your.bat on the command line. However it may be better to convert the .bat to a VBScript.