Changeset 42142 in vbox
- Timestamp:
- Jul 13, 2012 11:38:14 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79111
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk
r41477 r42142 135 135 $(PATH_STAGE_BIN)/additions/VBoxVideoWddm.inf \ 136 136 $(PATH_STAGE_BIN)/additions/VBoxDispD3D.dll 137 ifdef VBOX_WDDM_WIN8 138 DRIVER_FILES += \ 139 $(PATH_STAGE_BIN)/additions/VBoxVideoW8.sys \ 140 $(PATH_STAGE_BIN)/additions/VBoxVideoW8.inf 141 endif 137 142 ifdef VBOX_WITH_CROGL 138 143 DRIVER_FILES += \ … … 143 148 DRIVER_FILES += \ 144 149 $(PATH_STAGE_BIN)/additions/VBoxVideoWddm.cat 150 ifdef VBOX_WDDM_WIN8 151 DRIVER_FILES += \ 152 $(PATH_STAGE_BIN)/additions/VBoxVideoW8.cat 153 endif 145 154 endif 146 155 ifeq ($(KBUILD_TARGET_ARCH),amd64) … … 184 193 -E 'VBOX_WITH_LICENSE_INSTALL_RTF=$(if $(VBOX_BRAND_LICENSE_RTF),1,0)' \ 185 194 -E 'VBOX_WITH_WDDM=$(if $(VBOX_WITH_WDDM),1,0)' \ 195 -E 'VBOX_WDDM_WIN8=$(if $(VBOX_WDDM_WIN8),1,0)' \ 186 196 -E 'VBOX_BRAND_WIN_ADD_INST_DLGBMP=$(subst /,\,$(VBOX_BRAND_WIN_ADD_INST_DLGBMP))' \ 187 197 -E 'VBOX_BRAND_LICENSE_RTF=$(subst /,\,$(VBOX_BRAND_LICENSE_RTF))' \ -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r41432 r42142 98 98 99 99 !if $%VBOX_WITH_WDDM% == "1" 100 ; WDDM Video driver 100 ; WDDM Video driver for Vista and 7 101 101 SetOutPath "$0\VBoxVideoWddm" 102 102 … … 137 137 !endif ; $%VBOX_WITH_CROGL% == "1" 138 138 !endif ; $%BUILD_TARGET_ARCH% == "amd64" 139 140 !if $%VBOX_WDDM_WIN8% == "1" 141 ; WDDM Video driver for Win8 142 SetOutPath "$0\VBoxVideoW8" 143 144 !ifdef VBOX_SIGN_ADDITIONS 145 FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.cat" 146 !endif 147 FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.sys" 148 FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.inf" 149 FILE "$%PATH_OUT%\bin\additions\VBoxDispD3D.dll" 150 151 !if $%VBOX_WITH_CROGL% == "1" 152 FILE "$%PATH_OUT%\bin\additions\VBoxOGLarrayspu.dll" 153 FILE "$%PATH_OUT%\bin\additions\VBoxOGLcrutil.dll" 154 FILE "$%PATH_OUT%\bin\additions\VBoxOGLerrorspu.dll" 155 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpackspu.dll" 156 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpassthroughspu.dll" 157 FILE "$%PATH_OUT%\bin\additions\VBoxOGLfeedbackspu.dll" 158 FILE "$%PATH_OUT%\bin\additions\VBoxOGL.dll" 159 160 FILE "$%PATH_OUT%\bin\additions\VBoxD3D9wddm.dll" 161 FILE "$%PATH_OUT%\bin\additions\wined3dwddm.dll" 162 !endif ; $%VBOX_WITH_CROGL% == "1" 163 164 !if $%BUILD_TARGET_ARCH% == "amd64" 165 FILE "$%PATH_OUT%\bin\additions\VBoxDispD3D-x86.dll" 166 167 !if $%VBOX_WITH_CROGL% == "1" 168 FILE "$%PATH_OUT%\bin\additions\VBoxOGLarrayspu-x86.dll" 169 FILE "$%PATH_OUT%\bin\additions\VBoxOGLcrutil-x86.dll" 170 FILE "$%PATH_OUT%\bin\additions\VBoxOGLerrorspu-x86.dll" 171 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpackspu-x86.dll" 172 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpassthroughspu-x86.dll" 173 FILE "$%PATH_OUT%\bin\additions\VBoxOGLfeedbackspu-x86.dll" 174 FILE "$%PATH_OUT%\bin\additions\VBoxOGL-x86.dll" 175 176 FILE "$%PATH_OUT%\bin\additions\VBoxD3D9wddm-x86.dll" 177 FILE "$%PATH_OUT%\bin\additions\wined3dwddm-x86.dll" 178 !endif ; $%VBOX_WITH_CROGL% == "1" 179 !endif ; $%BUILD_TARGET_ARCH% == "amd64" 180 !endif ; $%VBOX_WDDM_WIN8% == "1" 139 181 !endif ; $%VBOX_WITH_WDDM% == "1" 140 182 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r40768 r42142 210 210 SetOutPath "$INSTDIR" 211 211 212 !ifdef VBOX_SIGN_ADDITIONS 213 FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.cat" 214 !endif 215 FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.sys" 216 FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.inf" 212 !if $%VBOX_WDDM_WIN8% == "1" 213 ${If} $g_strWinVersion == "8" 214 !ifdef VBOX_SIGN_ADDITIONS 215 FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.cat" 216 !endif 217 FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.sys" 218 FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.inf" 219 ${Else} 220 !endif 221 !ifdef VBOX_SIGN_ADDITIONS 222 FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.cat" 223 !endif 224 FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.sys" 225 FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.inf" 226 !if $%VBOX_WDDM_WIN8% == "1" 227 ${EndIf} 228 !endif 229 217 230 FILE "$%PATH_OUT%\bin\additions\VBoxDispD3D.dll" 218 231 … … 360 373 ${If} $g_bNoVideoDrv == "false" 361 374 ${If} $g_bWithWDDM == "true" 362 DetailPrint "Installing WDDM video driver ..." 363 nsExec::ExecToLog '"$INSTDIR\VBoxDrvInst.exe" driver install "$INSTDIR\VBoxVideoWddm.inf" "$INSTDIR\install_drivers.log"' 375 !if $%VBOX_WDDM_WIN8% == "1" 376 ${If} $g_strWinVersion == "8" 377 DetailPrint "Installing WDDM video driver for Windows 8..." 378 nsExec::ExecToLog '"$INSTDIR\VBoxDrvInst.exe" driver install "$INSTDIR\VBoxVideoW8.inf" "$INSTDIR\install_drivers.log"' 379 ${Else} 380 !endif 381 DetailPrint "Installing WDDM video driver for Windows Vista and 7..." 382 nsExec::ExecToLog '"$INSTDIR\VBoxDrvInst.exe" driver install "$INSTDIR\VBoxVideoWddm.inf" "$INSTDIR\install_drivers.log"' 383 !if $%VBOX_WDDM_WIN8% == "1" 384 ${EndIf} 385 !endif 364 386 ${Else} 365 387 DetailPrint "Installing video driver ..." … … 507 529 Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxVideoWddm.sys" 508 530 Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxVideoWddm.inf" 531 !if $%VBOX_WDDM_WIN8% == "1" 532 Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxVideoW8.cat" 533 Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxVideoW8.sys" 534 Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxVideoW8.inf" 535 !endif 509 536 Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxDispD3D.dll" 510 537 … … 568 595 ; Remove video driver 569 596 !if $%VBOX_WITH_WDDM% == "1" 570 DetailPrint "Uninstalling WDDM video driver ..." 597 598 !if $%VBOX_WDDM_WIN8% == "1" 599 DetailPrint "Uninstalling WDDM video driver for Windows 8..." 600 nsExec::ExecToLog '"$INSTDIR\VBoxDrvInst.exe" driver uninstall "$INSTDIR\VBoxVideoW8.inf"' 601 Pop $0 ; Ret value 602 ; Always try to remove both VBoxVideoW8 & VBoxVideoWddm services no matter what is installed currently 603 nsExec::ExecToLog '"$INSTDIR\VBoxDrvInst.exe" service delete VBoxVideoW8' 604 Pop $0 ; Ret value 605 ;misha> @todo driver file removal (as well as service removal) should be done as driver package uninstall 606 ; could be done with "VBoxDrvInst.exe /u", e.g. by passing additional arg to it denoting that driver package is to be uninstalled 607 Delete /REBOOTOK "$g_strSystemDir\drivers\VBoxVideoW8.sys" 608 !endif ; $%VBOX_WDDM_WIN8% == "1" 609 610 DetailPrint "Uninstalling WDDM video driver for Windows Vista and 7..." 571 611 nsExec::ExecToLog '"$INSTDIR\VBoxDrvInst.exe" driver uninstall "$INSTDIR\VBoxVideoWddm.inf"' 572 612 Pop $0 ; Ret value
Note:
See TracChangeset
for help on using the changeset viewer.