-
Notifications
You must be signed in to change notification settings - Fork 905
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
Add uninstall PowerShell helper for VSIX (visual studio extension) #389
Comments
@timabell You are correct, an uninstall helper just has not been added. If you want to add one, we accept pull requests. Just make sure you read over our Contributing doc prior to ensure you set up commits correctly and can sign the CLA. :) |
Okay thanks for confirming. I'll pass on the PR then as I'm not keen on CLAs. |
No worries. |
I was going to look into this one. At first glance, it looks like the uninstall and install will have very similar code (i.e. like locating VS Install directory).
|
C# integration tests are in for testing different behaviors of packages, installing and uninstalling, but don't actually test making changes to the system itself. I've been thinking about how to introduce those kinds of tests without having to change system state. You are welcome to make suggestions. All of the PowerShell functions will be reimplemented as C# PowerShell cmdlets at some point, so something else to consider. |
I'd prefer to keep in C#, so maybe that's the path I'll go down. It also allows easier testing. |
When running Chocolatey, it is helpful to ensure environment variables are set correctly. Sometimes ChocolateyInstall location will not have been determined correctly or be waiting on a reboot/explorer.exe restart prior to applications realizing that the value has changed. Ensure that even with that, the value for ChocolateyInstall is determined correctly.
* stable: Remove duplicate word (chocolateyGH-1285) Default push to new or old w/warning (chocolateyGH-1285) Add old/new default push source (chocolateyGH-1298) GenericRunner.count() sets security protocol (chocolateyGH-1298) GenericRunner.list() should match run() (maint) API - Warn on extraction errors (chocolateyGH-389) API - Ensure ChocolateyInstall env var (maint) Do not load config back into global (chocolateyGH-1296) API - Reuse existing base configuration (maint) API - Note methods that won't allow changes (chocolateyGH-1294) API - Expose container directly (build) option to build debug version (doc) Source/Key notes surrounding source/apikey (maint) log that license file has been found (chocolateyGH-1287) Non-internal SimpleInjector XML Comments (maint) formatting (chocolateyGH-1287) API - Ensure dll can work w/licensed code (chocolateyGH-1284) Install-ChocolateyPackage aliases File/File64
Hi, hope you don't mind me asking here. I'm trying to create a package for a visual studio extension (vsix). I've got the install working; now I am wondering about allowing uninstall, it would be nice if I could provide that but there doesn't seem to provision for it.
I was following the instructions at https://github.com/chocolatey/choco/wiki/HelpersInstallChocolateyVsixPackage but can't find an equivalent uninstall command.
C:\Program Files (x86)\Microsoft Visual Studio 14.0>vsixinstaller /?
does show an uninstall switch.I assume it's just not implemented? Cheers
Thanks for a great tool.
The text was updated successfully, but these errors were encountered: