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

execute a batch (.BAT) file


2 replies to this topic

rjm

rjm
  • Members
  • 1 posts

Posted 27 January 2003 - 21:11

i can only see ways to execute an .EXE file using custom actions. is there any way to execute a windows batch file (.BAT) using custom actions?

luke_s

luke_s
  • Full Members
  • 532 posts

Posted 29 January 2003 - 04:57

Could you just create a custom action that kicks of the batch file?

rmadassery77

rmadassery77
  • Members
  • 52 posts

Posted 29 January 2003 - 09:34

In the installation project, u can call a custom action to launch cmd.exe and pass the bat as the command line argument.
Rajiv Madassery
Galway Scripting Center
Digital GlobalSoft Ltd.
(Subsidiary of Hewlett-Packard Company)