Changeset 98626 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Feb 18, 2023 2:13:49 AM (2 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 8 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/Makefile.kmk
r98416 r98626 109 109 VBoxGuest-inf_SOURCES = \ 110 110 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf 111 VBoxGuest-inf_SOURCES.x86 = \ 112 $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir/VBoxGuestEarlyNT.inf 111 113 VBoxGuest-inf_CLEAN = $(VBoxGuest-inf_SOURCES) 114 VBoxGuest-inf_CLEAN.x86 = $(VBoxGuest-inf_SOURCES.x86) 112 115 VBoxGuest-inf_BLDDIRS = $(PATH_TARGET)/VBoxGuestCat.dir 116 VBoxGuest-inf_BLDDIRS.x86 = $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir 113 117 114 118 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf: $(PATH_SUB_CURRENT)/common/VBoxGuest/win/VBoxGuest.inf $(MAKEFILE_CURRENT) | $$(dir $$@) 115 119 $(call MSG_GENERATE,VBoxGuest-inf,$@,$<) 120 $(call VBOX_EDIT_INF_FN,$<,$@) 121 122 $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir/VBoxGuestEarlyNT.inf: $(PATH_SUB_CURRENT)/common/VBoxGuest/win/VBoxGuestEarlyNT.inf $(MAKEFILE_CURRENT) | $$(dir $$@) 123 $(call MSG_GENERATE,VBoxGuestEarlyNT-inf,$@,$<) 116 124 $(call VBOX_EDIT_INF_FN,$<,$@) 117 125 … … 123 131 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \ 124 132 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe 125 126 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys: $$(VBoxGuest_1_TARGET) | $$(dir $$@) 133 VBoxGuest-inf_SOURCES.x86 += \ 134 $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir/VBoxGuestEarlyNT.cat 135 136 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \ 137 $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir/VBoxGuest.sys: $$(VBoxGuest_1_TARGET) | $$(dir $$@) 127 138 $(INSTALL) -m 644 $< $(@D) 128 139 129 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe: $$(VBoxControl_1_TARGET) | $$(dir $$@) 140 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \ 141 $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir/VBoxControl.exe: $$(VBoxControl_1_TARGET) | $$(dir $$@) 130 142 $(INSTALL) -m 755 $< $(@D) 131 143 132 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe: $$(VBoxTray_1_TARGET) | $$(dir $$@) 144 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe \ 145 $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir/VBoxTray.exe: $$(VBoxTray_1_TARGET) | $$(dir $$@) 133 146 $(INSTALL) -m 755 $< $(@D) 134 147 … … 139 152 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe 140 153 $(call MSG_TOOL,Inf2Cat,VBoxGuest-inf,$@,$<) 154 $(call VBOX_MAKE_CAT_FN, $(@D),$@) 155 156 $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir/VBoxGuestEarlyNT.cat: \ 157 $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir/VBoxGuestEarlyNT.inf \ 158 $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir/VBoxGuest.sys \ 159 $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir/VBoxControl.exe \ 160 $(PATH_TARGET)/VBoxGuestEarlyNTCat.dir/VBoxTray.exe 161 $(call MSG_TOOL,Inf2Cat,VBoxGuestEarlyNT-inf,$@,$<) 141 162 $(call VBOX_MAKE_CAT_FN, $(@D),$@) 142 163 endif # signing -
trunk/src/VBox/Additions/WINNT/Graphics/Video/Makefile.kmk
r98438 r98626 43 43 VBoxVideo-inf_SOURCES = \ 44 44 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf 45 VBoxVideo-inf_SOURCES.x86 = \ 46 $(PATH_TARGET)/VBoxVideoEarlyNTCat.dir/VBoxVideoEarlyNT.inf 45 47 VBoxVideo-inf_CLEAN = $(VBoxVideo-inf_SOURCES) 46 48 VBoxVideo-inf_BLDDIRS = $(PATH_TARGET)/VBoxVideoCat.dir 49 VBoxVideo-inf_BLDDIRS.x86 = $(PATH_TARGET)/VBoxVideoEarlyNTCat.dir 47 50 48 51 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf: $(PATH_SUB_CURRENT)/mp/xpdm/VBoxVideo.inf $(MAKEFILE_CURRENT) | $$(dir $$@) 49 52 $(call MSG_GENERATE,VBoxVideo-inf,$@,$<) 53 $(call VBOX_EDIT_INF_FN,$<,$@) 54 55 $(PATH_TARGET)/VBoxVideoEarlyNTCat.dir/VBoxVideoEarlyNT.inf: $(PATH_SUB_CURRENT)/mp/xpdm/VBoxVideoEarlyNT.inf $(MAKEFILE_CURRENT) | $$(dir $$@) 56 $(call MSG_GENERATE,VBoxVideoEarlyNT-inf,$@,$<) 50 57 $(call VBOX_EDIT_INF_FN,$<,$@) 51 58 … … 56 63 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys \ 57 64 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll 58 59 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys: $$(VBoxVideo_1_TARGET) | $$(dir $$@) 60 $(INSTALL) -m 644 $< $(@D) 61 62 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll: $$(VBoxDisp_1_TARGET) | $$(dir $$@) 65 VBoxVideo-inf_SOURCES.x86 += \ 66 $(PATH_TARGET)/VBoxVideoEarlyNTCat.dir/VBoxVideoEarlyNT.cat 67 68 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys \ 69 $(PATH_TARGET)/VBoxVideoEarlyNTCat.dir/VBoxVideo.sys: $$(VBoxVideo_1_TARGET) | $$(dir $$@) 70 $(INSTALL) -m 644 $< $(@D) 71 72 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll \ 73 $(PATH_TARGET)/VBoxVideoEarlyNTCat.dir/VBoxDisp.dll: $$(VBoxDisp_1_TARGET) | $$(dir $$@) 63 74 $(INSTALL) -m 644 $< $(@D) 64 75 … … 69 80 $(call MSG_TOOL,Inf2Cat,VBoxVideo-inf,$@,$<) 70 81 $(call VBOX_MAKE_CAT_FN, $(@D),$@) 82 83 $(PATH_TARGET)/VBoxVideoEarlyNTCat.dir/VBoxVideoEarlyNT.cat: \ 84 $(PATH_TARGET)/VBoxVideoEarlyNTCat.dir/VBoxVideoEarlyNT.inf \ 85 $(PATH_TARGET)/VBoxVideoEarlyNTCat.dir/VBoxVideo.sys \ 86 $(PATH_TARGET)/VBoxVideoEarlyNTCat.dir/VBoxDisp.dll 87 $(call MSG_TOOL,Inf2Cat,VBoxVideoEarlyNT-inf,$@,$<) 88 $(call VBOX_MAKE_CAT_FN, $(@D),$@) 89 71 90 endif # signing 72 91 -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxVideo.inf
r98328 r98626 1 1 ; $Id$ 2 2 ;; @file 3 ; VirtualBox Video miniport driver 3 ; VirtualBox Video miniport driver, XP+ edition. 4 4 ; 5 5 -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxVideoEarlyNT.inf
r98599 r98626 1 1 ; $Id$ 2 2 ;; @file 3 ; VirtualBox Video miniport driver 3 ; VirtualBox Video miniport driver, Windows 2000 and NT4 edition. 4 4 ; 5 5 … … 33 33 DriverPackageType=PlugAndPlay 34 34 ;edit-DriverVer=08/26/2008,2.00.0000 35 ;cat CatalogFile = VBoxVideo .cat35 ;cat CatalogFile = VBoxVideoEarlyNT.cat 36 36 37 37 [DestinationDirs] … … 40 40 VBoxVideo.Display = 11 ; system32 41 41 42 ; Windows 2000 and NT4 treats entries here as pure 'name=section' and will not 43 ; split the value on commas. Newer InfVerif.exe requires the comma stuff here. 42 44 [Manufacturer] 43 ;x86 %ORACLE%=VBoxVideo@COMMA-NT-ARCH@ 44 ;amd64 %ORACLE%=VBoxVideo@COMMA-NT-ARCH@@[email protected] 45 %ORACLE%=VBoxVideo 45 46 46 [VBoxVideo @DOT-NT-ARCH@]47 [VBoxVideo] 47 48 %VBoxVideo.SvcDesc% = VBoxVideo_Install, PCI\VEN_80EE&DEV_BEEF 48 49 ;amd64 [VBoxVideo@[email protected]]50 ;amd64 %VBoxVideo.SvcDesc% = VBoxVideo_Install, PCI\VEN_80EE&DEV_BEEF51 49 52 50 [VBoxVideo_Install] … … 60 58 VBoxDisp.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 61 59 62 [VBoxVideo _Install.Services]60 [VBoxVideo.Services] 63 61 AddService=VBoxVideo, 0x00000002, vboxvideo_Service_Inst, vboxvideo_EventLog_Inst 64 62 -
trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk
r98416 r98626 177 177 endif 178 178 179 ifeq ($(KBUILD_TARGET_ARCH),x86) 180 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \ 181 $(PATH_STAGE_BIN)/additions/VBoxGuestEarlyNT.inf \ 182 $(PATH_STAGE_BIN)/additions/VBoxVideoEarlyNT.inf 183 endif 184 179 185 if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS) 180 186 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \ … … 185 191 $(PATH_STAGE_BIN)/additions/VBoxMouse.cat \ 186 192 $(PATH_STAGE_BIN)/additions/VBoxMouse-PreW10.cat 193 ifeq ($(KBUILD_TARGET_ARCH),x86) 194 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \ 195 $(PATH_STAGE_BIN)/additions/VBoxGuestEarlyNT.cat \ 196 $(PATH_STAGE_BIN)/additions/VBoxVideoEarlyNT.cat 197 endif 187 198 endif 188 199 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r98103 r98626 237 237 Var g_bCapXPDM ; Capability: Is the guest able to handle/use our XPDM driver? 238 238 Var g_bCapWDDM ; Capability: Is the guest able to handle/use our WDDM driver? 239 Var g_strEarlyNTDrvInfix ; Empty or 'EarlyNT'. For Picking VBoxGuestEarlyNT.inf and VBoxVideoEarlyNT.inf on w2k & nt4. 240 239 241 240 242 ; Command line parameters - these can be set/modified … … 1039 1041 Pop $g_strWinVersion 1040 1042 1043 ; Init global variables that depends on the windows version. 1044 ${If} $g_strWinVersion == "2000" 1045 StrCpy $g_strEarlyNTDrvInfix "EarlyNT" 1046 ${ElseIf} $g_strWinVersion == "NT4" 1047 StrCpy $g_strEarlyNTDrvInfix "EarlyNT" 1048 ${Else} 1049 StrCpy $g_strEarlyNTDrvInfix "" 1050 ${EndIf} 1051 1041 1052 ; Retrieve capabilities 1042 1053 Call CheckForCapabilities … … 1186 1197 Pop $g_strWinVersion 1187 1198 1199 ; Init global variables that depends on the windows version. 1200 ${If} $g_strWinVersion == "2000" 1201 StrCpy $g_strEarlyNTDrvInfix "EarlyNT" 1202 ${ElseIf} $g_strWinVersion == "NT4" 1203 StrCpy $g_strEarlyNTDrvInfix "EarlyNT" 1204 ${Else} 1205 StrCpy $g_strEarlyNTDrvInfix "" 1206 ${EndIf} 1207 1188 1208 ; Retrieve capabilities 1189 1209 Call un.CheckForCapabilities -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r98103 r98626 60 60 61 61 FILE "$%PATH_OUT%\bin\additions\VBoxVideo.inf" 62 !if $%KBUILD_TARGET_ARCH% == "x86" 63 ${If} $g_strEarlyNTDrvInfix != "" 64 FILE "$%PATH_OUT%\bin\additions\VBoxVideoEarlyNT.inf" 65 !ifdef VBOX_SIGN_ADDITIONS 66 FILE "$%PATH_OUT%\bin\additions\VBoxVideoEarlyNT.cat" 67 !endif 68 ${EndIf} 69 !endif 62 70 !ifdef VBOX_SIGN_ADDITIONS 63 71 ${If} $g_strWinVersion == "10" … … 92 100 FILE "$%PATH_OUT%\bin\additions\VBoxVideo.sys" 93 101 FILE "$%PATH_OUT%\bin\additions\VBoxVideo.inf" 102 !if $%KBUILD_TARGET_ARCH% == "x86" 103 ${If} $g_strEarlyNTDrvInfix != "" 104 FILE "$%PATH_OUT%\bin\additions\VBoxVideoEarlyNT.inf" 105 !ifdef VBOX_SIGN_ADDITIONS 106 FILE "$%PATH_OUT%\bin\additions\VBoxVideoEarlyNT.cat" 107 !endif 108 ${EndIf} 109 !endif 94 110 !ifdef VBOX_SIGN_ADDITIONS 95 111 ${If} $g_strWinVersion == "10" … … 159 175 FILE "$%PATH_OUT%\bin\additions\VBoxGuest.sys" 160 176 FILE "$%PATH_OUT%\bin\additions\VBoxGuest.inf" 177 !if $%KBUILD_TARGET_ARCH% == "x86" 178 ${If} $g_strEarlyNTDrvInfix != "" 179 FILE "$%PATH_OUT%\bin\additions\VBoxGuestEarlyNT.inf" 180 !ifdef VBOX_SIGN_ADDITIONS 181 FILE "$%PATH_OUT%\bin\additions\VBoxGuestEarlyNT.cat" 182 !endif 183 ${EndIf} 184 !endif 161 185 !ifdef VBOX_SIGN_ADDITIONS 162 186 ${If} $g_strWinVersion == "10" -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r98103 r98626 380 380 FILE "$%PATH_OUT%\bin\additions\VBoxGuest.sys" 381 381 FILE "$%PATH_OUT%\bin\additions\VBoxGuest.inf" 382 !if $%KBUILD_TARGET_ARCH% == "x86" 383 ${If} $g_strEarlyNTDrvInfix != "" 384 FILE "$%PATH_OUT%\bin\additions\VBoxGuestEarlyNT.inf" 385 !ifdef VBOX_SIGN_ADDITIONS 386 FILE "$%PATH_OUT%\bin\additions\VBoxGuestEarlyNT.cat" 387 !endif 388 ${EndIf} 389 !endif 382 390 !ifdef VBOX_SIGN_ADDITIONS 383 391 ${If} $g_strWinVersion == "10" … … 506 514 ${If} $g_bNoGuestDrv == "false" 507 515 ${LogVerbose} "Installing guest driver ..." 508 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver install $\"$INSTDIR\VBoxGuest .inf$\" $\"$INSTDIR\install_drivers.log$\"" 'non-zero-exitcode=abort'516 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver install $\"$INSTDIR\VBoxGuest$g_strEarlyNTDrvInfix.inf$\" $\"$INSTDIR\install_drivers.log$\"" 'non-zero-exitcode=abort' 509 517 ${Else} 510 518 ${LogVerbose} "Guest driver installation skipped!" … … 517 525 ${Else} 518 526 ${LogVerbose} "Installing video driver ..." 519 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver install $\"$INSTDIR\VBoxVideo .inf$\" $\"$INSTDIR\install_drivers.log$\"" 'non-zero-exitcode=abort'527 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver install $\"$INSTDIR\VBoxVideo$g_strEarlyNTDrvInfix.inf$\" $\"$INSTDIR\install_drivers.log$\"" 'non-zero-exitcode=abort' 520 528 ${EndIf} 521 529 ${Else} … … 594 602 Delete /REBOOTOK "$INSTDIR\VBoxVideo.inf" 595 603 Delete /REBOOTOK "$INSTDIR\VBoxVideo.cat" 604 Delete /REBOOTOK "$INSTDIR\VBoxVideoEarlyNT.inf" 605 Delete /REBOOTOK "$INSTDIR\VBoxVideoEarlyNT.cat" 596 606 Delete /REBOOTOK "$INSTDIR\VBoxDisp.dll" 597 607 … … 605 615 Delete /REBOOTOK "$INSTDIR\VBoxGuest.inf" 606 616 Delete /REBOOTOK "$INSTDIR\VBoxGuest.cat" 617 Delete /REBOOTOK "$INSTDIR\VBoxGuestEarlyNT.inf" 618 Delete /REBOOTOK "$INSTDIR\VBoxGuestEarlyNT.cat" 607 619 608 620 Delete /REBOOTOK "$INSTDIR\VBCoInst.dll" ; Deprecated, does not get installed anymore … … 678 690 ; Remove VirtualBox video driver 679 691 ${LogVerbose} "Uninstalling video driver ..." 680 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver uninstall $\"$INSTDIR\VBoxVideo .inf$\"" 'non-zero-exitcode=log'692 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver uninstall $\"$INSTDIR\VBoxVideo$g_strEarlyNTDrvInfix.inf$\"" 'non-zero-exitcode=log' 681 693 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" service delete VBoxVideo" 'non-zero-exitcode=log' 682 694 Delete /REBOOTOK "$g_strSystemDir\drivers\VBoxVideo.sys" … … 764 776 ; Remove guest driver 765 777 ${LogVerbose} "Removing guest driver ..." 766 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver uninstall $\"$INSTDIR\VBoxGuest .inf$\"" 'non-zero-exitcode=log'778 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver uninstall $\"$INSTDIR\VBoxGuest$g_strEarlyNTDrvInfix.inf$\"" 'non-zero-exitcode=log' 767 779 768 780 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" service delete VBoxGuest" 'non-zero-exitcode=log' -
trunk/src/VBox/Additions/common/VBoxGuest/win/VBoxGuest.inf
r98308 r98626 1 1 ; $Id$ 2 2 ;; @file 3 ; INF file for installing the VirtualBox Windows guest driver .3 ; INF file for installing the VirtualBox Windows guest driver, XP and later. 4 4 ; 5 5 -
trunk/src/VBox/Additions/common/VBoxGuest/win/VBoxGuestEarlyNT.inf
r98599 r98626 1 1 ; $Id$ 2 2 ;; @file 3 ; INF file for installing the VirtualBox Windows guest driver .3 ; INF file for installing the VirtualBox Windows guest driver, pre-XP variant. 4 4 ; 5 5 … … 42 42 DriverPackageType=PlugAndPlay 43 43 ;edit-DriverVer=08/26/2008,2.00.0000 44 ;cat CatalogFile=VBoxGuest .cat44 ;cat CatalogFile=VBoxGuestEarlyNT.cat 45 45 46 46 [SourceDisksNames] … … 56 56 VBoxTray_CopyFiles = 11 ; system32 57 57 58 ; Windows 2000 and NT4 treats entries here as pure 'name=section' and will not 59 ; split the value on commas. Newer InfVerif.exe requires the comma stuff here. 58 60 [Manufacturer] 59 %ORACLE%=VBoxGuest @COMMA-NT-ARCH@61 %ORACLE%=VBoxGuest 60 62 61 [VBoxGuest @DOT-NT-ARCH@]63 [VBoxGuest] 62 64 %VBoxGuest.DeviceDesc%=VBoxGuest_Install,PCI\VEN_80ee&DEV_cafe 63 65
Note:
See TracChangeset
for help on using the changeset viewer.