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

Escape input for Get-UninstallRegistryKey #1342

Closed
ferventcoder opened this issue Jun 20, 2017 · 1 comment
Closed

Escape input for Get-UninstallRegistryKey #1342

ferventcoder opened this issue Jun 20, 2017 · 1 comment

Comments

@ferventcoder
Copy link
Member

[array]$foundKey = Get-ItemProperty -Path $keyPaths -ErrorAction Stop | ? { $_.DisplayName -like $softwareName }

@ferventcoder
Copy link
Member Author

It turns out there isn't actually an issue here - https://github.com/chocolatey/chocolatey-coreteampackages/issues/784 is where the issue is (Get-AppInstallLocation will need to escape input or the package for Notepad++ will need to call the regex escape).

@ferventcoder ferventcoder removed this from the 0.10.8 milestone Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant