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

[FEATURE REQUEST] Add option to windows uninstaller to remove salt dir #60722

Closed
doesitblend opened this issue Aug 12, 2021 · 1 comment
Closed
Assignees
Labels
Feature new functionality including changes to functionality and code refactors, etc. Packaging Related to packaging of Salt, not Salt's support for package management. Windows
Milestone

Comments

@doesitblend
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
When uninstalling Salt with C:\salt\uninst.exe /S the C:\salt is left with the configuration directory in tact. This feature is possible when calling the uninstaller with no options and going through the prompts.

Describe the solution you'd like
The request is to have an option added to the uninstaller that will allow removing this directory.

@doesitblend doesitblend added Feature new functionality including changes to functionality and code refactors, etc. needs-triage labels Aug 12, 2021
@OrangeDog OrangeDog added Packaging Related to packaging of Salt, not Salt's support for package management. Windows and removed needs-triage labels Aug 16, 2021
@OrangeDog OrangeDog added this to the Approved milestone Aug 16, 2021
@twangboy
Copy link
Contributor

Two options have been added to the Uninstaller:

  • /delete-install-dir will delete the installation directory that contains the config and pki directories in an old-style installation where everything is in C:\salt
  • /delete-root-dir will delete the root directory containing config and pki in new-style installations where the root directory is in ProgramData

These options are available in the Silicon release

#60267

https://github.com/saltstack/salt/blame/master/pkg/windows/installer/Salt-Minion-Setup.nsi#L1767

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature new functionality including changes to functionality and code refactors, etc. Packaging Related to packaging of Salt, not Salt's support for package management. Windows
Projects
None yet
Development

No branches or pull requests

4 participants