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

Executing a batch file using LaunchApp


3 replies to this topic

aarvee50

aarvee50
  • Members
  • 4 posts

Posted 02 November 2004 - 12:05

HI,
Please guide me as to how could I execute a BATCH file using LaunchApp in Install shield. Thanks in advance....
regards...venkat

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 02 November 2004 - 13:05

Launch cmd.exe or command.com (depending on the target operating system)

farrukh

farrukh
  • Full Members
  • 11 posts

Posted 07 January 2005 - 13:22

QUOTE (aarvee50 @ 2004-11-02 11:05)
HI,
Please guide me as to how could I execute a BATCH file using LaunchApp in Install shield. Thanks in advance....
regards...venkat

Hello,
Try this. I am running this Bat file successfully in my setup project.

szBatFilePath=CommonFilesFolder ^ "My Shared File";
ChangeDirectory (szBatFilePath);
LaunchAppAndWait("Register.bat", "",WAIT);

This would launch your Bat file and will wait for its completion. I tested this on Windows 2000, and currently working in DevStudio 9.

Regards
Farrukh






Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 January 2005 - 09:53

Duplicate thread. Please follow up here:
http://forum.install...showtopic=11156