Hi,
You can launch the BAT file by using a "
Launch file or open URL" custom action. Here are the steps:
- go to the
Custom Actions page
- add a "Launch file or open URL" custom action under "InstallExecuteSequence" -> "Install"
- set the "Command Line" field of the custom action to the path of the BAT file
- make sure that the "Condition" field is set to "Not Installed"
Note that if the BAT file is in your package, you can use the "Edit" button to select it. In this case the command line will contain a file reference which looks like this:
Since the path of the file may contain blank spaces, it is recommended to enclose the file reference in quotes:
Let me know if you encounter any problems with this approach.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging