Run batch file in Windows Installer Commit

后端 未结 5 994
梦如初夏
梦如初夏 2020-12-06 03:18

I am having no success in modifying a Windows Installer MSI to run a batch file after the primary output has been installed. I have searched for this and found many suggesti

5条回答
  •  粉色の甜心
    2020-12-06 03:40

    I was able to solve this by creating an EXE consisting essentially of:

    System.Diagnostics.Process.Start(pathToBatchFile);
    

    Adding the EXE to the MSI file then running it as a custom action.

提交回复
热议问题