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

Duplicate IIS Registry Key Values When Installing x86 and x64 MSI #1858

Closed
tippmar-nr opened this issue Aug 22, 2023 · 1 comment · Fixed by #1890
Closed

Duplicate IIS Registry Key Values When Installing x86 and x64 MSI #1858

tippmar-nr opened this issue Aug 22, 2023 · 1 comment · Fixed by #1890
Assignees
Labels
bug Something isn't working

Comments

@tippmar-nr
Copy link
Member

Description
If both the x86 and x64 .NET Agent are installed via MSI, on a Windows machine with IIS, the HKLM\SYSTEM\CurrentControlSet\W3SVC\Environment and HKLM\SYSTEM\CurrentControlSet\WAS\Environment registry keys will show duplicate values for NEW_RELIC_INSTALL_PATH - one pointed at the x86 install and the other at the x64 install. This could lead to confusion and possible incorrect .NET Agent behavior when loading instrumentation extensions for IIS applications.
image

Expected Behavior
The Environment registry key should not have a duplicate value. Or it might be better if the installers would detect that the "other" bitness .NET Agent has already been installed and refuse to allow a second installation.

Steps to Reproduce

  1. On a Windows machine with IIS installed, install the x86 .NET Agent via the MSI installer.
  2. Select the options to monitor IIS applications.
  3. Run the same process with the x64 .NET Agent MSI installer.
  4. Use regedit to navigate to HKLM\SYSTEM\CurrentControlSet\W3SVC\Environment and notice the duplicate entries at the top and bottom.

For Maintainers Only or Hero Triaging this bug
Suggested Priority (P1,P2,P3,P4,P5):
P4
Suggested T-Shirt size (S, M, L, XL, Unknown):
M-L depending on chosen resolution.

@tippmar-nr tippmar-nr added the bug Something isn't working label Aug 22, 2023
@workato-integration
Copy link

@jaffinito jaffinito self-assigned this Sep 5, 2023
@jaffinito jaffinito linked a pull request Sep 7, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants