c# - Upgrade an existing application to include ClickOnce -


Is it possible to apply clickon functionality to an existing application?

The scenario is: Version 1.0 is already installed in the client premises, I would like to send them a new setup package which will be upgraded to 1.1 which has the functionality of clickon, making future upgrades "easy" can go.

Except it, is there any other solution to such a problem?

PS: Was developed with the original application (i.e., .NET 2.0). I'm using now.

No, this is not possible with the standard click-on deployment scenario.

Once clicked on the client side there is a sandboxed installation it will not know about version 1.0 already installed. It's just going to see if its click-through has already been installed, and if it has been updated, but only if the previous version has been deployed through click-on.

In your case, if the user installed version 1.1, both versions will be installed on one side, Version 1.0 will not be updated, since ClickOnce does not know that there is an association because it is a different method Was deployed through the medium. If they do not want version 1.0, they have to manually remove it. After deploying version 1.1 through ClickOn, later updates will work correctly.

Think about the click-on why you are not "involved", think of it as a method of deployment.

Alternatively:

I should make it clear that whatever you are looking for with the addition of standard click-ON is not possible, however, Mentioned that you want to send them the initial setup file. In that case, you might have a workaround:

  1. Automatically script the setup file to remove version 1.0 installation
  2. Launch the ClickOn installation Scrip the setup file for.

For subsequent updates, simply tell the user in the "Pure" click-over setup package, and your updates should work fine.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -