-
Notifications
You must be signed in to change notification settings - Fork 203
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
packaging: properly unregister Alloy when uninstalling on Windows #166
Conversation
grafana/agent#6550 fixed an issue where the service settings were not being removed properly, but inadvertedly broke the process of removing the application from the Add/Remove programs list. Alloy is registered as a program to the 32-bit registry, and so it must be removed from the 32-bit registry and not the 64-bit registry. Fixes #165. As a temporary workaround to this bug, users should delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Alloy from the 32-bit registry.
This makes sense but its super painful we have to use both registries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed the conflict so we can get this in, enabling auto-merge.
I'll backport this to the agent repo tomorrow.
…afana#166) grafana/agent#6550 fixed an issue where the service settings were not being removed properly, but inadvertedly broke the process of removing the application from the Add/Remove programs list. Alloy is registered as a program to the 32-bit registry, and so it must be removed from the 32-bit registry and not the 64-bit registry. Fixes grafana#165. As a temporary workaround to this bug, users should delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Alloy from the 32-bit registry. Co-authored-by: Paschalis Tsilias <[email protected]>
grafana/agent#6550 fixed an issue where the service settings were not being removed properly, but inadvertedly broke the process of removing the application from the Add/Remove programs list.
Alloy is registered as a program to the 32-bit registry, and so it must be removed from the 32-bit registry and not the 64-bit registry.
Fixes #165.
As a temporary workaround to this bug, users should delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Alloy from the 32-bit registry.