fixed bug #1411970 - Settings in HKLM instead of HKCU?
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4874 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3e66b3771a
commit
6e6b20ea64
4 changed files with 33 additions and 12 deletions
|
@ -1125,10 +1125,10 @@ BOOL CALLBACK SymbolSetProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam
|
|||
HKEY hKey;
|
||||
|
||||
EnableWindow(GetDlgItem(hwndDlg, IDDEL), FALSE);
|
||||
if (RegOpenKeyEx(REGSEC,REGKEY,0,KEY_READ,&hKey) == ERROR_SUCCESS) {
|
||||
if (OpenRegSettingsKey(hKey)) {
|
||||
HKEY hSubKey;
|
||||
|
||||
if (RegCreateKey(hKey,REGSYMSUBKEY,&hSubKey) == ERROR_SUCCESS) {
|
||||
if (RegOpenKeyEx(hKey,REGSYMSUBKEY,0,KEY_READ,&hSubKey) == ERROR_SUCCESS) {
|
||||
char subkey[1024];
|
||||
int i=0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue