Click here to Skip to main content
15,893,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am coming from .NET Framework where I used ClickOnce to publish updates to my software for computers on our private network. I'm trying to transition to .NET Core moving forward but ClickOnce is not available for .NET Core apps.

I tried MSIX and Squirrel to publish and although they did publish fine, when the installed instance was updated, it overrode the Settings.Settings file which I use to lots of customization properties that the user can change. ClickOnce worked great in that on initial install all the properties in the Settings.Settings file would be the default values, and then when updating it would leave those intact and if simply add any new properties that were added in the update that didn't exist in the initial install.

Is there any publishing alternatives that are more similar to ClickOnce? And/Or have the same settings migration behavior when updating?

What I have tried:

I've tried MSIX installer and Squirrel.
Posted
Updated 24-Aug-20 20:46pm

1 solution

Have you thought of using the Wix Installer Tool-Set to build an MSI - which can have custom screens, options ? .. I haven't tried this one myself (ie Wix on a Dotnet Core project) - there's an article here that demos using it for WinForms, I'm sure a search for Wix Installer Dotnet core will turn up something useful... ASP.NET - Create MSI or setup.exe installer for .NET Projects with WiX[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900