jberezanski / ChocolateyPackages

Chocolatey packages maintained by me
MIT License
86 stars 52 forks source link

fixing visualstudio-installer's uninstall script #63

Closed emreplt closed 5 years ago

emreplt commented 5 years ago

ChocolateyUninstall script for "visualstudio-installer" fails because of missing trailing terminator.

Here is the fault:

ERROR: At C:\ProgramData\chocolatey\lib\visualstudio-installer\tools\ChocolateyUninstall.ps1:3 char:26
+     -InstallerTechnology 'WillowVS2017OrLater
+                          ~~~~~~~~~~~~~~~~~~~~
The string is missing the terminator: '.
visualstudio-installer uninstall not successful.
Error while running 'C:\ProgramData\chocolatey\lib\visualstudio-installer\tools\ChocolateyUninstall.ps1'.
 See log for details.
visualstudio-installer not uninstalled. An error occurred during uninstall:
 visualstudio-installer uninstall not successful.

After I've added terminator to the script everything's done well with no issues.

jberezanski commented 5 years ago

Ah, how embarrassing. Thanks!

jberezanski commented 5 years ago

Published.