Open Alonzzzo2 opened 4 years ago
I would always go for option 1. Not because I have any experience with your scenario, but because it will invariably be easier to maintain and support down the line. 2 sounds like it might bug end users; there is no good answer as to why there are suddenly two uninstall entries. 3 sounds like a solution that could wind up being very brittle.
It should also pay off to familiarize yourself with the workings of vanilla Squirrel. The documentation has some holes in it, but even the best documentation can rarely match learning by doing. Also, if you run into any problems, it's way easier for other developers using Squirrel to help you out.
This is more of a discussion post, would love to get your advices / input on this: My work place already creates an MSI install file by using wix tools. I need to investigate and implement a switch to squirrel. The main reason to switch to squirrel is the update mechanism and not the installation procedure. The current MSI we're generating does relatively a lot of work in the installation process: update registry, edit environment variables and some more.
The discussion in my team is whether to switch completely to squirrel (and move all the work the MSI installer does to squirrel's onInitialInstall+onAppUninstall hooks) or to create some hybrid solution which will allow us to continue using our MSI for installation and uninstallation and still use squirrel for auto update. One of the things to consider is we want to avoid having 2 uninstall entries (both squirrel and the MSI create an uninstall entry)
So there are 3 options:
What do you think? Would love to get feedback on this, currently I'm starting to implement 3 at the MSI
Thanks