Creating a patch to upgrade .NET application

前端 未结 1 1448
北海茫月
北海茫月 2021-02-04 17:24

I would like to create a patch for my .NET application. The requirements are:

  • Find the installation directory
  • Overwrite the old files with the new ones
相关标签:
1条回答
  • 2021-02-04 17:43

    If you already use a a VS Setup Project you can deploy the new version of this project and it will upgrade existing installations. Have a look at the setup and upgrade ids. The stop and start of the service can be done by custom actions that can be defined in the project and will be executed i.e. when your setup is committed or rollbacked etc.

    0 讨论(0)
提交回复
热议问题