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

Impossible to get InstallLocation due to random key #85

Open
brunvonlope opened this issue Sep 13, 2024 · 0 comments
Open

Impossible to get InstallLocation due to random key #85

brunvonlope opened this issue Sep 13, 2024 · 0 comments

Comments

@brunvonlope
Copy link

Trying to get MSYS2 InstallLocation with

Get-ItemProperty (Resolve-Path Registry::'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\MSYS*') | Select-Object -ExpandProperty DisplayVersion

is simple impossible since the key is named as {85409743-9467-48d0-b0e8-7f8a1cbda52e}, which seems to be random.

image


Would be nice to be able to get MSYS2 install path to make portable scripts

@brunvonlope brunvonlope changed the title Impossible to get InstallLocation key due to random key Impossible to get InstallLocation due to random key Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant