- Timestamp:
- Apr 18, 2016 9:04:31 AM (9 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r53008 r60526 574 574 575 575 ; Does the guest have a DLL cache? 576 ${If} $g_strWinVersion == "Vista" 577 ${OrIf} $g_strWinVersion == "7" 578 ${OrIf} $g_strWinVersion == "8" 579 ${OrIf} $g_strWinVersion == "8_1" 580 ${OrIf} $g_strWinVersion == "10" 576 ${If} $g_strWinVersion == "NT4" 577 ${OrIf} $g_strWinVersion == "2000" 578 ${OrIf} $g_strWinVersion == "XP" 581 579 StrCpy $g_bCapDllCache "true" 582 580 ${LogVerbose} "OS has a DLL cache" … … 890 888 ${EndIf} 891 889 892 ${If} ${FileExists} "$g_strSystemDir\takeown.exe" 893 ${CmdExecute} "$\"$g_strSystemDir\takeown.exe$\" /F $\"$0$\"" "true" 894 ${Else} 895 ${LogVerbose} "WRP: Warning: takeown.exe not found, skipping" 896 ${EndIf} 897 898 AccessControl::SetFileOwner "$0" "(S-1-5-32-545)" 899 Pop $1 900 ${LogVerbose} "WRP: Setting file owner for $\"$0$\" returned: $1" 901 902 AccessControl::GrantOnFile "$0" "(S-1-5-32-545)" "FullAccess" 903 Pop $1 904 ${LogVerbose} "WRP: Setting access rights for $\"$0$\" returned: $1" 905 890 ${Switch} $g_strWinVersion 891 ${Case} "NT4" 892 ${Case} "2000" 893 ${Case} "XP" 894 ${LogVerbose} "WRP: changing ownership or permissions is not required on NT4, 2000, XP." 895 ${Break} 896 ${Default} 897 ${CmdExecute} "$\"$g_strSystemDir\takeown.exe$\" /A /F $\"$0$\"" "true" 898 Pop $1 899 ${LogVerbose} "WRP: Changing ownership for $\"$0$\" returned: $1" 900 901 ${CmdExecute} "icacls.exe $\"$0$\" /grant *S-1-5-32-544:F" "true" 902 Pop $1 903 ${LogVerbose} "WRP: Changing DACL for $\"$0$\" returned: $1" 904 905 Sleep 1000 ; TrustedInstaller needs some time to forget about the file 906 ${EndSwitch} 907 906 908 !if $%VBOX_WITH_GUEST_INSTALL_HELPER% == "1" 907 909 !ifdef WFP_FILE_EXCEPTION -
trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk
r56301 r60526 68 68 ifdef VBOX_WITH_WDDM 69 69 VBoxTray_DEFS += VBOX_WITH_WDDM 70 #VBoxTray_DEFS += LOG_ENABLED70 VBoxTray_DEFS += LOG_ENABLED 71 71 VBoxTray_SOURCES += ../Graphics/Video/disp/wddm/VBoxDispKmt.cpp 72 72 endif -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp
r60274 r60526 35 35 #else 36 36 #define WARN(_m) do { \ 37 Log (_m); \37 LogRel(_m); \ 38 38 } while (0) 39 39 #define WARN_FUNC(_m) do { \ 40 Log Func(_m); \40 LogRelFunc(_m); \ 41 41 } while (0) 42 42 #endif … … 1314 1314 static DWORD vboxDispIfUpdateModesWDDM(VBOXDISPIF_OP *pOp, uint32_t u32TargetId, const RTRECTSIZE *pSize) 1315 1315 { 1316 LogRel(("VBoxTray: vboxDispIfUpdateModesWDDM Enter, u32TargetId %d\n", u32TargetId)); 1316 1317 DWORD winEr = ERROR_SUCCESS; 1317 1318 VBOXDISPIFESCAPE_UPDATEMODES EscData = {0}; … … 1399 1400 DWORD winEr = NO_ERROR; 1400 1401 1401 Log (("VBoxTray: vboxDispIfResizeModesWDDM iChanged %d cDevModes %d\n", iChangedMode, cDevModes));1402 LogRel(("VBoxTray: vboxDispIfResizeModesWDDM fEnable %d, iChanged %d, cDevModes %d\n", fEnable, iChangedMode, cDevModes)); 1402 1403 VBoxRrRetryStop(); 1403 1404 … … 1437 1438 1438 1439 NTSTATUS Status = Op.pIf->modeData.wddm.KmtCallbacks.pfnD3DKMTInvalidateActiveVidPn(&DdiData); 1439 Log Func(("InvalidateActiveVidPn 0x%08x\n", Status));1440 LogRel(("VBoxTray: InvalidateActiveVidPn cElements %d, returns 0x%08x\n", cElements, Status)); 1440 1441 1441 1442 /* Resize displays always to keep the display layout because … … 1452 1453 winEr = vboxDispIfUpdateModesWDDM(&Op, iChangedMode, &Size); 1453 1454 if (winEr != NO_ERROR) 1454 WARN(("vboxDispIfUpdateModesWDDM failed %d\n", winEr)); 1455 WARN(("VBoxTray: vboxDispIfUpdateModesWDDM failed %d\n", winEr)); 1456 else 1457 LogRel(("VBoxTray: vboxDispIfUpdateModesWDDM is OK for iChangedMode %d\n", iChangedMode)); 1455 1458 } 1456 1459 … … 1459 1462 winEr = vboxDispIfResizePerform(pIf, iChangedMode, fEnable, fExtDispSup, paDisplayDevices, paDeviceModes, cDevModes); 1460 1463 1464 LogRel(("VBoxTray: vboxDispIfResizePerform returned 0x%08x for iChangedMode %d\n", winEr, iChangedMode)); 1461 1465 if (winEr == ERROR_RETRY) 1462 1466 { -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp
r58308 r60526 1004 1004 } 1005 1005 1006 RTLogGroupSettings(NULL, "+all.e.l.f"); 1007 1006 1008 if (RT_SUCCESS(rc)) 1007 1009 { -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
r60272 r60526 539 539 LogRelFunc(("Logging to host log enabled (%#x)", uValue)); 540 540 } 541 542 pDevExt->Core.fLoggingEnabled = true; 541 543 542 544 /* Ready to rumble! */
Note:
See TracChangeset
for help on using the changeset viewer.