diff options
author | Dirk Voelzke <dv@openoffice.org> | 2010-01-25 07:08:21 +0100 |
---|---|---|
committer | Dirk Voelzke <dv@openoffice.org> | 2010-01-25 07:08:21 +0100 |
commit | f898e1170f4567e79d1e82cebd670c8d9152e59c (patch) | |
tree | 202a0e19821f22dbba87140ba4924f3c7cf8175c | |
parent | ca62b80499ee31088d41bf2a9254f5120810461c (diff) |
dv17: #i70994#: Proprty handler should work with 64bit, too
-rwxr-xr-x | setup_native/source/win32/customactions/reg64/reg64.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/setup_native/source/win32/customactions/reg64/reg64.cxx b/setup_native/source/win32/customactions/reg64/reg64.cxx index ffa225791ead..37dbb8276627 100755 --- a/setup_native/source/win32/customactions/reg64/reg64.cxx +++ b/setup_native/source/win32/customactions/reg64/reg64.cxx @@ -368,13 +368,13 @@ bool DoRegEntries( MSIHANDLE& rhMSI, OPERATION op, MSIHANDLE& rhView) case(-1): if (isInstall4AllUsers) { - key = HKEY_CURRENT_USER; - OutputDebugStringFormat(L"HKEY_CURRENT_USER" ); + key = HKEY_LOCAL_MACHINE; + OutputDebugStringFormat(L"HKEY_LOCAL_MACHINE" ); } else { - key = HKEY_LOCAL_MACHINE; - OutputDebugStringFormat(L"HKEY_LOCAL_MACHINE" ); + key = HKEY_CURRENT_USER; + OutputDebugStringFormat(L"HKEY_CURRENT_USER" ); } break; case(0): @@ -393,7 +393,9 @@ bool DoRegEntries( MSIHANDLE& rhMSI, OPERATION op, MSIHANDLE& rhView) key = HKEY_USERS; OutputDebugStringFormat(L"HKEY_USERS" ); break; - + default: + OutputDebugStringFormat(L"Unknown Root!" ); + break; } OutputDebugStringFormat(L"Key:"); |