always elevate on Vista
authorkramm <kramm>
Wed, 12 Nov 2008 10:28:49 +0000 (10:28 +0000)
committerkramm <kramm>
Wed, 12 Nov 2008 10:28:49 +0000 (10:28 +0000)
installer/installer.c

index 08e3c0e..85f91be 100644 (file)
@@ -425,7 +425,7 @@ BOOL CALLBACK PropertySheetFunc2(HWND hwnd, UINT message, WPARAM wParam, LPARAM
        }
     }
     if(message == WM_NOTIFY && (((LPNMHDR)lParam)->code == PSN_SETACTIVE)) {
-        if(!elevated && !has_full_access && config_forAllUsers) {
+        if(!elevated && !has_full_access) {
             OSVERSIONINFO winverinfo;
             memset(&winverinfo, 0, sizeof(OSVERSIONINFO));
             winverinfo.dwOSVersionInfoSize = sizeof(winverinfo);