summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-02-15 15:07:47 +0100
committerVladimir Glazunov <vg@openoffice.org>2010-02-15 15:07:47 +0100
commit5b7dd611218128c4747d01add8387ae909a61c13 (patch)
tree84f411438bd85b8384c8c15ac0a811769f5be600 /setup_native
parentd5d3184fcd9e73adfcf14d15df9c5a86cca481af (diff)
parentf898e1170f4567e79d1e82cebd670c8d9152e59c (diff)
CWS-TOOLING: integrate CWS dv17
Diffstat (limited to 'setup_native')
-rw-r--r--[-rwxr-xr-x]setup_native/source/win32/customactions/reg64/reg64.cxx12
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..100644
--- 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:");