King Chan
King Chan

Reputation: 4302

Replace with different project with ClickOnce update?

We have an old old WinForm project that was deployed with ClickOnce.

I have just created a new WPF project and planning to deploy with ClickOnce and remove the old WinForm application from all the computers.

Is there a way that I can let all machine when they run the old WinForm application => Check for Update => Install the new WPF application?

Upvotes: 2

Views: 331

Answers (1)

RLH
RLH

Reputation: 15698

There is way to code in an implementation for this type of behavior but there is no automatic, easy way to do this.

This has been a bit of an annoyance because any time you need to update a prerequisite or re-publish your application with a new security certificate, the user needs to re-install your application.

To get around this, however, I created a very simple API that you can use to help automate this process.

Check it out here.

Upvotes: 1

Related Questions