Is there an NuGet equivalent for deploying content to end users?

I have a C # application, and I'm mostly interested in pushing automatic updates for clients running my software. These updates can be any of the new / fixed dlls in the new resource file.

I know that I can create a ClickOnce application to get part of the path there, but it does not allow me to control as much as I would like (for example, I want to be able to easily β€œconnect” third-party components with my software or be able to make the user decide which components they want to update).

I see that programs such as NotePad ++ have a special update module, but I hope that I can play with others, and not with my own update from scratch.

Notepad ++ Plugin Manager

What are my options?

+8
c # updates clickonce patch
source share
2 answers

There are several different that you can check.

This has already been talked about and talked about, but I have not heard any news that in fact it is ready for use yet

https://github.com/Squirrel/Squirrel.Windows

https://www.nuget.org/packages/NuSelfUpdate/

https://www.nuget.org/packages/NuGetUpdate/

I would recommend this, since the last time I opened the ticket, he turned to him almost immediately.

https://www.nuget.org/packages/Sidewinder.Core/

None of them will be 100% smaller, because updating the application is one of those things that are difficult to generalize.

For me, what I do is one of two things.

1) Use http://www.myget.org to post my updates and roll up my own system that downloads / restarts / updates things.

2) Scan your own component index on AWS S3. Xml lists the components and provides a URL for each update. From there, your application decides how / when to stop / update / restart it.

In addition, if I update the main application, usually how to do it (if the application is already running)

  • Check for updates.
  • If there is an update, download it.
  • At the beginning of the application, check the local update file.
  • If it exists, install it silently

If the application does not work, I check / download / install the update at startup (but this is only when it is critical that people work with the absolute latest).

In the end, none of these frameworks will 100% meet your needs, because not a single scenario will be the same, I hope that they will deliver you most of the way.

+4
source share

Based on the comments of SLaks.

Chocolatey is a nuget shell for installing applications, similar to the app-get in the Linux world. It is a tool for wrapping all types of installers.

If your customers are happy with the command line, the chocolate option is a good solution for publishing applications.

The WiX installer describes itself as "The most powerful toolkit for building your Windows installation. Free and open source since 2004!" So, depending on how much you want to improve, you can also take a look at this.

+2
source share

All Articles