This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Executing .bat files after setup
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 20, 2013
07:46 AM
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
What to write to File name and command line section?
File name and command line: cmd.exe /c [DATABASEDIR]/BATCHFILE.bat
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 02, 2013
08:31 AM
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
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
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)