View forum topic
List of forum topicsSubject: Execute .bat file
How can I execute an .bat file during the installation process?
I have included an .bat file in the installation package.
I want this file to be execute during the installation after files have been copied down but prior to applications being executed.
The batch file gets copied down into the Custom Path directory by the installation package
Using 5.11.2
I have an Run Application entry setup which calls cmd.exe
the Cmd/DOS window launches in the proper path.
I have the command-Line Parameters set to the batch file name XML_Prep.bat.
The "Wait until application finishes" is checked
Path and working directory all point to Custom Path
Run As Normal
However, the batch file does not seem to get fired off.
the DOS window displays and the prompt is at the custom path.
I can do a "dir" and see the batch file within the directory
You don't need to run it by using cmd.exe.
Foк example
Path: INSTALL PATH
Filename: XML_Prep.bat
You can send your .ci project file to info@createinstall.com with 'CreateInstall' subject.
January 16, 2025 Installer CreateInstall 8.11.1 was released.
June 19, 2024 Installer CreateInstall 8.11.0 was released. read more
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released.
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.