VirtualBox

Ignore:
Timestamp:
Jul 14, 2022 1:00:56 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152293
Message:

Additions/WINNT/Installer: Remove the VBoxFakeWHQL tool which requires AutoIt and needs to be activated by a special CLI switch and is probably unused for a long time now, bugref:8515

Location:
trunk/src/VBox/Additions/WINNT/Installer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk

    r95648 r95649  
    6666PACKING     += $(PATH_STAGE_BIN)/additions/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH).exe
    6767OTHER_CLEAN += \
    68         $(PATH_STAGE_BIN)/additions/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH).exe \
    69         $(PATH_STAGE_BIN)/additions/VBoxWHQLFake.exe
     68        $(PATH_STAGE_BIN)/additions/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH).exe
    7069
    7170## @todo r=andy Rename DRIVER_FILES to INST_FILES or something, as those files are not strictly driver-related files.
     
    8281        $(PATH_STAGE_BIN)/additions/VBoxTray.exe \
    8382        $(PATH_STAGE_BIN)/additions/VBoxControl.exe \
    84         $(PATH_STAGE_BIN)/additions/VBoxWHQLFake.exe \
    8583        $(PATH_STAGE_BIN)/additions/VBoxService.exe
    8684ifeq ($(KBUILD_TARGET_ARCH),amd64)
     
    221219        $(call VBOX_SIGN_FILE_FN,$@)
    222220endif
    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
    234221
    235222ifdef VBOX_GA_ATTESTATION_SIGNING
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi

    r95648 r95649  
    3333
    3434; 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!
    3735!define WFP_FILE_EXCEPTION          ; Enables setting a temporary file exception for WFP proctected files
    3836
     
    228226; Command line parameters - these can be set/modified
    229227; 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")
    231228Var g_bForceInstall                     ; Cmd line: Force installation on unknown Windows OS version
    232229Var g_bUninstall                        ; Cmd line: Just uninstall any previous Guest Additions and exit
     
    380377        StrCpy $g_iSfOrder $5
    381378        ${Break}
    382 
    383 !ifdef WHQL_FAKE
    384       ${Case} '/unsig_drv'
    385         StrCpy $g_bFakeWHQL "true"
    386       ${Break}
    387 !endif
    388379
    389380      ${Case} '/uninstall'
     
    928919  StrCpy $g_bIgnoreUnknownOpts "false"
    929920  StrCpy $g_bLogEnable "false"
    930   StrCpy $g_bFakeWHQL "false"
    931921  StrCpy $g_bForceInstall "false"
    932922  StrCpy $g_bUninstall "false"
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh

    r95648 r95649  
    207207!ifdef VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST
    208208  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"
    214209!endif
    215210
     
    287282FunctionEnd
    288283
    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
    320284
    321285Function W2K_InstallFiles
     
    429393  Call W2K_Prepare
    430394  Call W2K_CopyFiles
    431 
    432 !ifdef WHQL_FAKE
    433   Call W2K_WHQLFakeOn
    434 !endif
    435 
    436395  Call W2K_InstallFiles
    437 
    438 !ifdef WHQL_FAKE
    439   Call W2K_WHQLFakeOff
    440 !endif
    441 
    442396  Call W2K_SetVideoResolution
    443397
     
    511465!endif ; $%VBOX_WITH_WDDM% == "1"
    512466
    513   ; WHQL fake
    514 !ifdef WHQL_FAKE
    515   Delete /REBOOTOK "$INSTDIR\VBoxWHQLFake.exe"
    516 !endif
    517 
    518467  ; Log file
    519468  Delete /REBOOTOK "$INSTDIR\install.log"
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette