Create Custom Action to Start Application and Exit Installer

前端 未结 2 1765
感情败类
感情败类 2021-02-10 20:57

Thanks to StackOverflow I found out yesterday how to add a custom action to the Visual Studio Installer to start my program after an update. The problem I now face is that at th

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-10 21:13

    I followed the instructions here: http://msdn.microsoft.com/en-us/library/d9k65z2d.aspx

    ..And got the "Error 1001: could not find file InstallState" error.

    After reading ThaKidd's answer above, I realized that I would have to: Add the installer class to both the Install and Commit folders.

    Really important. Just leaving this here for future visitors (I would have added a comment if SO allowed me to...)

提交回复
热议问题