cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
flex1234
Level 3

Executing .bat files after setup

Is there a clean explanation about running batch files in InstallShield 2013 Express?

What to write to File name and command line section?
File name and command line: cmd.exe /c [DATABASEDIR]/BATCHFILE.bat
Labels (1)
0 Kudos
(1) Reply
tjohnson1
Technical Writer
Technical Writer

The [DATABASEDIR] property contains the trailing slash so you do not need to add one to the command line.

Here are the settings for the custom action.

Source Location: File Exists on Target Computer
File Location: [SystemFolder]
File Name and Command Line: cmd.exe \c [DATABASEDIR]BATCHFILE.BAT

As you are running this at the end of the setup you may want to set Wait for Action to No
0 Kudos