Share via

How to deploy a modular Windows Form Application using ClickOnce ?

Simon Ghislain 0 Reputation points
2023-04-26T08:24:16.8333333+00:00

I am trying to figure out the best deployment strategy for my Windows Form Application. The idea is that every user can download the main Form and some standard tools within the form for free, but that additionnal tools and forms (more advanced, called "modules") can be purchased. I got the Data and Code part done and it is working as intended on my local machine, but I struggle around the best strategy to publish and deploy this model online.

  1. Today, I ship all the code (with all the modules), and I only display on the Main Form the purchased ones (through an SQL reading of a remote USER sqltable).
  2. My goal is to be able to only send to the user's machine the purchased modules (for example throught ClickOnce). So all modules should be considered as packages (with their own versionning and manifest). Not only would this enable a better control over purchased modules, it would also only auto-update said module if you have purchased and installed it (whereas today it auto-updates all the modules even if not purchased). If possible, I'd like to stay on a Desktop App and not go for PaaS. I have read some docs (ClickOnce, Squirrel, MSI, etc), but I did not find what I need (and ChatGPT was not of great help either). I would appreciate good advice from the most experienced deployers amongst this group ;-) Thanks !
Developer technologies | Windows Forms

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.