-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(GH-15)(GH-9) AutoInstaller Enhancements #30
(GH-15)(GH-9) AutoInstaller Enhancements #30
Conversation
The specs are not passing yet, the tests have issues running as part of the suite but pass in isolation. :/ Plus I don't have all I want to test set up yet. |
I had fun with this recently on a Test Suite that I was writing. Things worked in isolation, but not when running all of them. Had to enable this setting to get it to work. |
Is there something for NUnit? |
Off the top of my head, I am not sure, I will do some digging, and let you know if I find anything. |
f9e54b5
to
f3608bb
Compare
81d0072
to
5d47b3d
Compare
Adding this will allow feature flagging new features.c
Require the feature and enabled to explicitly be set to true to allow a feature to be flagged as on.
Do not allow autouninstaller to run automatically. Since it is experimental, we want to lock it down and make folks explicitly opt into it.
Move the code for autouninstaller to its own service and remove the stipulation that powershell needed to have NOT run for the autouninstaller to run.
Remove nesting and return early.
Move checksumFiles and virusCheckFiles to feature flags and mark them appropriately.
Return whether a registry value exists.
If the registry key AND the install location still exist, run autouninstaller. Otherwise, skip and log the details.
Remove uninstall executable from uninstall arguments before cleaning it up for use by command executor.
- Move CommandExecutor away from static methods for the most part. Implement ICommandExecutor and set it up with container binding. Set AutoUninstallerService to use ICommandExecutor instead of static method calls. - Fix null reference error in Registry ctor - Log why when auto uninstaller is not run
Allows installer to report the InstallerType it implements.
Ensure uninstaller uses the right switches on uninstall based on HasQuietUninstall true or false.
651723b
to
ffc5e6e
Compare
Feature flag auto uninstaller.
Still in todo:
Closes #9
Closes #15