(iobit-uninstaller) Added silent uninstaller options and helper function to close all iobit-uninstaller exes/services
Added tools/helpers.ps1 with Close-Iobit function
Close-Iobit function closes the main executable for iobit-uninstaller, then stops the iobit uninstall monintor service followed by any process of iobit-uninstaller's executables
Added tools/chocolateyUninstall.ps1 for uninstallation It sources the helpers.1 function and calls the Close-Iobit function prior to running the autouninstaller.
Description
Added tools/helpers.ps1 with Close-Iobit function
Close-Iobit function closes the main executable for iobit-uninstaller, then kills its uninstall monintor service followed by any process of its executables
Added tools/chocolateyUninstall.ps1 for uninstallation
Added silent arguments for uninstaller exe
Sources tools/helpers.ps1
Calls Close-Iobit function
After calling above, it performs the standard uninstaller
Motivation and Context
Uninstaller isn't silent; it normally sends you a survey upon uninstallation
As well, it's not even if you use the silent options, because it will spawn a lock on the unins000.dat file and can give popups warning about processes trying to access it. And in the case that this happens, clicking OK causes the uninstaller to exit with errors.
So, by using the silent options and closing all of the other processes/services, it avoids those problems.
How Has this Been Tested?
I've installed the package several times, finding it worked. And it's had no effect on the program; it's just changing the uninstallation to not show the survey or have any popups Though, I haven't done this in the test environment. I'm currently on a computer that I can't get the test environment to work on.
Screenshot (if appropriate, usually isn't needed):
Types of changes
[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)
Checklist:
[X] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[ ] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[ ] I have updated the package description and it is less than 4000 characters.
(iobit-uninstaller) Added silent uninstaller options and helper function to close all iobit-uninstaller exes/services Added tools/helpers.ps1 with Close-Iobit function Close-Iobit function closes the main executable for iobit-uninstaller, then stops the iobit uninstall monintor service followed by any process of iobit-uninstaller's executables
Added tools/chocolateyUninstall.ps1 for uninstallation It sources the helpers.1 function and calls the Close-Iobit function prior to running the autouninstaller.
Description
Added tools/helpers.ps1 with Close-Iobit function
Added tools/chocolateyUninstall.ps1 for uninstallation
Motivation and Context
Uninstaller isn't silent; it normally sends you a survey upon uninstallation As well, it's not even if you use the silent options, because it will spawn a lock on the unins000.dat file and can give popups warning about processes trying to access it. And in the case that this happens, clicking OK causes the uninstaller to exit with errors. So, by using the silent options and closing all of the other processes/services, it avoids those problems.
How Has this Been Tested?
I've installed the package several times, finding it worked. And it's had no effect on the program; it's just changing the uninstallation to not show the survey or have any popups Though, I haven't done this in the test environment. I'm currently on a computer that I can't get the test environment to work on.
Screenshot (if appropriate, usually isn't needed):
Types of changes
Checklist: