Open nefarius opened 1 year ago
I guess it smelled my dissatisfaction and started to comply, here's what went wrong:
Nefarius Software Solutions e.U.
getting mangled to Nefarius Software Solutions e.U
in the file system, which resulted in path and MSI properties not matching upDo not delete extracted MSI and CAB files
has to be ticked, otherwise the bootstrapper nukes the directory when finished and it will be gone after a reboot and the installation of the new version can not continueWill consider this solved, for now, until it starts to annoy me again, then it gets the boot for real 👢
Unearthed to track new problems (it never ends):
This piece of shit just doesn't wanna learn so as soon as I have the time, it gets replaced entirely. Period.
The new updater is taking shape, will be release-ready pretty soon.
Related #137
Note: the new setup workflow should be able to detect if a driver update is even necessary and if so, hot-swap to the new version so only one reboot is required. Currently since each product version is treated as an independent installation, the user is first faced with one reboot dialog on upgrade due to removal of the existing version:
Then after reboot nr. 1 is greeted with another dialog to reboot again; this time it comes from finishing the actual installation of the latest version:
It works but is very clunky and not user-friendly, to put it mildly.
I have managed to come up with a new control flow that skips removing and re-installing the driver entirely if the current local version is equal to or newer to what the current setup ships. This now makes shipping upgrades that only touch user-mode components blazing fast and completely eliminates the need to reboot. Small steps.
I also got ETW tracing and logging of all components to work again; the shipped installation directory and the paths used in the ETW manifest files drifted apart some time in the past, which caused issues with tools like wevtutil
and alike.
My patience has run out with all these weird unexplainable Advanced Installer issues and I'm done wasting my time with the product. Putting this here as a reminder for the year 2027.
Wix# sounds promising, could reuse all the .NET efforts already put into making a stable driver installer.