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

add nsis check for environment var #6185

Merged
merged 2 commits into from
Jan 18, 2024
Merged

Conversation

mattdurham
Copy link
Collaborator

@mattdurham mattdurham commented Jan 18, 2024

PR Description

Previously if the environment var existed the installer would fail. Likely in asking for confirmation to overwrite. This follows the pattern of Arguments reg key

Which issue(s) this PR fixes

Fixes #6179

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated

@mattdurham mattdurham marked this pull request as ready for review January 18, 2024 15:47
Copy link
Contributor

@erikbaranowski erikbaranowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I built the installer locally and confirmed the fix.

@mattdurham mattdurham merged commit 3cc7901 into main Jan 18, 2024
10 checks passed
@mattdurham mattdurham deleted the fix_windows_environment_var branch January 18, 2024 16:33
marctc pushed a commit that referenced this pull request Jan 19, 2024
* add nsis check for environment var

* add changelog
marctc added a commit that referenced this pull request Jan 19, 2024
* add nsis check for environment var (#6185)

* add nsis check for environment var

* add changelog

* chore(sec): fix vulns by bumping pkgs to patched ver (#6060)

* chore(sec): fix vulns by bumping pkgs to patched ver

Signed-off-by: hainenber <dotronghai96@gmail.com>

* chore(doc): add CHANGELOG entry

Signed-off-by: hainenber <dotronghai96@gmail.com>

* fix(ci): accomodate func signature change

Signed-off-by: hainenber <dotronghai96@gmail.com>

---------

Signed-off-by: hainenber <dotronghai96@gmail.com>

---------

Signed-off-by: hainenber <dotronghai96@gmail.com>
Co-authored-by: mattdurham <mattdurham@ppog.org>
Co-authored-by: Đỗ Trọng Hải <41283691+hainenber@users.noreply.github.com>
BarunKGP pushed a commit to BarunKGP/grafana-agent that referenced this pull request Feb 20, 2024
* add nsis check for environment var

* add changelog
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Feb 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows install fails in 0.39.0 if $hklm/Software/Grafana/Grafana Agent Flow/Environment entry exists
2 participants