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

[NPcap]The name of default item returned by reg can be affacted by system locale and may not be used by CheckStatus.bat and FixInstall.bat #354

Closed
yyjdelete opened this issue Apr 30, 2019 · 2 comments

Comments

@yyjdelete
Copy link

Replace all (Default) to REG_SZ in CheckStatus.bat and FixInstall.bat seems work for me.

>reg query "HKLM\Software\WOW6432Node\Npcap" /ve

HKEY_LOCAL_MACHINE\Software\WOW6432Node\Npcap
    (默认)    REG_SZ    C:\Program Files\Npcap

zh_CN:
image

After chcp 65001
image

@yyjdelete yyjdelete changed the title [NPcap]The name of default item returned by reg can be affacted by system locale and can not be used by CheckStatus.bat and FixInstall.bat [NPcap]The name of default item returned by reg can be affacted by system locale and may not be used by CheckStatus.bat and FixInstall.bat Apr 30, 2019
@dmiller-nmap
Copy link
Contributor

Thanks for this bug report! Your suggestion of using REG_SZ will work perfectly.

@yyjdelete
Copy link
Author

Forget to close this, the new version works for me.

@fyodor fyodor transferred this issue from nmap/nmap May 5, 2021
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

2 participants