Skip to content
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

[resharper] Installing with /PerMachine can't be uninstalled successfully #178

Open
flcdrg opened this issue May 30, 2024 · 0 comments
Open

Comments

@flcdrg
Copy link
Owner

flcdrg commented May 30, 2024

(From https://community.chocolatey.org/packages/resharper#comment-6469638368)

Looks like if the package is installed with the /PerMachine parameter, it can not be uninstalled using chocolatey.
choco install ReSharper --yes --params "/PerMachine"
followed by
choco uninstall ReSharper --debug --params "/PerMachine"
results in

Uninstalling ReSharper...
Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements '/Silent=True /SpecificProductNamesToRemove=ReSharper /VsVersion=* ' -exeToRun 'C:\ProgramData\chocolatey\lib\resharper-platform\JetBrains.dotUltimate.2024.1.2.exe'
Test-ProcessAdminRights: returning True
Elevating permissions and running ["C:\ProgramData\chocolatey\lib\resharper-platform\JetBrains.dotUltimate.2024.1.2.exe" /Silent=True /SpecificProductNamesToRemove=ReSharper /VsVersion=* ]. This may take a while, depending on the statements.
Per-machine (all users) installations detected. Please specify '/PerMachine=True' command line key.
Command ["C:\ProgramData\chocolatey\lib\resharper-platform\JetBrains.dotUltimate.2024.1.2.exe" /Silent=True /SpecificProductNamesToRemove=ReSharper /VsVersion=* ] exited with '-1'.
@flcdrg flcdrg changed the title [resharper] Installing with /PerMachine can't be ininstalled successfully [resharper] Installing with /PerMachine can't be uninstalled successfully Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant