Changeset 95648 in vbox
- Timestamp:
- Jul 14, 2022 12:59:06 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk
r95647 r95648 66 66 PACKING += $(PATH_STAGE_BIN)/additions/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH).exe 67 67 OTHER_CLEAN += \ 68 $(PATH_STAGE_BIN)/additions/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH).exe 68 $(PATH_STAGE_BIN)/additions/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH).exe \ 69 $(PATH_STAGE_BIN)/additions/VBoxWHQLFake.exe 69 70 70 71 ## @todo r=andy Rename DRIVER_FILES to INST_FILES or something, as those files are not strictly driver-related files. … … 81 82 $(PATH_STAGE_BIN)/additions/VBoxTray.exe \ 82 83 $(PATH_STAGE_BIN)/additions/VBoxControl.exe \ 84 $(PATH_STAGE_BIN)/additions/VBoxWHQLFake.exe \ 83 85 $(PATH_STAGE_BIN)/additions/VBoxService.exe 84 86 ifeq ($(KBUILD_TARGET_ARCH),amd64) … … 219 221 $(call VBOX_SIGN_FILE_FN,$@) 220 222 endif 223 224 WHQLFAKE := $(PATH_SUB_CURRENT)/VBoxWHQLFake.au3 225 226 $(PATH_STAGE_BIN)/additions/VBoxWHQLFake.exe: 227 $(call MSG_L1,Creating $@, from $<) 228 $(QUIET)$(EXEC_X86_WIN32) $(VBOX_PATH_AUTOIT3)/Aut2Exe/Aut2exe.exe \ 229 /in $(WHQLFAKE) \ 230 /out $(PATH_STAGE_BIN)/additions/VBoxWHQLFake.exe \ 231 /icon $(VBOX_WINDOWS_ADDITIONS_ICON_FILE) \ 232 /comp 4 \ 233 /unicode 221 234 222 235 ifdef VBOX_GA_ATTESTATION_SIGNING -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r95647 r95648 33 33 34 34 ; Defines for special functions 35 !define WHQL_FAKE ; Enables faking of non WHQL signed / approved drivers 36 ; Needs the VBoxWHQLFake.exe in the additions output directory! 35 37 !define WFP_FILE_EXCEPTION ; Enables setting a temporary file exception for WFP proctected files 36 38 … … 226 228 ; Command line parameters - these can be set/modified 227 229 ; on the command line 230 Var g_bFakeWHQL ; Cmd line: Fake Windows to install non WHQL certificated drivers (only for W2K and XP currently!!) ("/unsig_drv") 228 231 Var g_bForceInstall ; Cmd line: Force installation on unknown Windows OS version 229 232 Var g_bUninstall ; Cmd line: Just uninstall any previous Guest Additions and exit … … 377 380 StrCpy $g_iSfOrder $5 378 381 ${Break} 382 383 !ifdef WHQL_FAKE 384 ${Case} '/unsig_drv' 385 StrCpy $g_bFakeWHQL "true" 386 ${Break} 387 !endif 379 388 380 389 ${Case} '/uninstall' … … 919 928 StrCpy $g_bIgnoreUnknownOpts "false" 920 929 StrCpy $g_bLogEnable "false" 930 StrCpy $g_bFakeWHQL "false" 921 931 StrCpy $g_bForceInstall "false" 922 932 StrCpy $g_bUninstall "false" -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r95647 r95648 207 207 !ifdef VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST 208 208 FILE "$%PATH_OUT%\bin\additions\VBoxAudioTest.exe" 209 !endif 210 211 ; WHQL fake 212 !ifdef WHQL_FAKE 213 FILE "$%PATH_OUT%\bin\additions\VBoxWHQLFake.exe" 209 214 !endif 210 215 … … 282 287 FunctionEnd 283 288 289 !ifdef WHQL_FAKE 290 291 Function W2K_WHQLFakeOn 292 293 StrCmp $g_bFakeWHQL "true" do 294 Goto exit 295 296 do: 297 298 ${LogVerbose} "Turning off WHQL protection..." 299 ${CmdExecute} "$\"$INSTDIR\VBoxWHQLFake.exe$\" $\"ignore$\"" "true" 300 301 exit: 302 303 FunctionEnd 304 305 Function W2K_WHQLFakeOff 306 307 StrCmp $g_bFakeWHQL "true" do 308 Goto exit 309 310 do: 311 312 ${LogVerbose} "Turning back on WHQL protection..." 313 ${CmdExecute} "$\"$INSTDIR\VBoxWHQLFake.exe$\" $\"warn$\"" "true" 314 315 exit: 316 317 FunctionEnd 318 319 !endif 284 320 285 321 Function W2K_InstallFiles … … 393 429 Call W2K_Prepare 394 430 Call W2K_CopyFiles 431 432 !ifdef WHQL_FAKE 433 Call W2K_WHQLFakeOn 434 !endif 435 395 436 Call W2K_InstallFiles 437 438 !ifdef WHQL_FAKE 439 Call W2K_WHQLFakeOff 440 !endif 441 396 442 Call W2K_SetVideoResolution 397 443 … … 465 511 !endif ; $%VBOX_WITH_WDDM% == "1" 466 512 513 ; WHQL fake 514 !ifdef WHQL_FAKE 515 Delete /REBOOTOK "$INSTDIR\VBoxWHQLFake.exe" 516 !endif 517 467 518 ; Log file 468 519 Delete /REBOOTOK "$INSTDIR\install.log"
Note:
See TracChangeset
for help on using the changeset viewer.