I am developing a package and i need to run one .bat
file that will install a windows service for me.
I need 2 things:
.bat
files? or other may to run .bat file.*note: my service that I am installing is Delphi service. Regards.
Ideally, you should look into creating a component that installs the service using MSI standard action InstallService.
Otherwise, you can use the following steps to execute the batch file during installation.
Also, don't forget to add a rollback custom action that reverts whatever modifications the batch file is doing and schedule it right before this custom action.
[Edited Step 3]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With