Reputation: 4451
I've published a WPF app for ClickOnce deployment, to a network share. Now I've been told it needs to be changed to an Intranet web deployment. (Wish I'd known that before...)
So how do I change how a ClickOnce deployment is deployed?
Upvotes: 0
Views: 46
Reputation: 1099
A useful post by Johann Blais @ http://johannblais.blogspot.com/2009/04/change-deployment-url-of-clickonce.html shows you how to move an existing app without forcing users to uninstall and reinstall, as long as your app that is already deployed is configured to check for updates. In summary, you deploy out a version in your new location that only knows how to update itself from the new location, then you deploy out a version in the old location that only knows how to update itself from the new location. When the publish version numbers are configured as below, your app will go to the correct location for updates.
As long as your clients are configured to auto-update, you can move from file share to file share, file share to web (and probably visa versa) using Johann's steps above.
Upvotes: 1