How to move a ClickOnce deployment package

后端 未结 4 1680
北海茫月
北海茫月 2020-12-05 01:10

I have a collection of ClickOnce packages in a publish folder on a network drive and need to move them all to another server (our DR machine).

After copy/pasting t

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-05 01:55

    I would expect to have to do the following:

    • Copy current folder contents to new location
    • For each app:-
      • Change 'Installation folder' to the new location
      • Publish as a new version
      • Change 'Publishing folder' to the new location
      • Publish as a new version

    New setups run from the new folder should work and existing ones should update to look in the correct place.

    All this is untested, but I'm pretty sure that's what I did previously...

    Edit:

    Obviously, you'll have to run these in parallel for a certain amount of time, but as it's an internal app the worst that will happen when you finally switch over to the new location is that you'll have to inform the user of the new location to obtain a 'fixed' app

提交回复
热议问题