Changeset 96696 in vbox for trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
- Timestamp:
- Sep 12, 2022 10:43:02 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r96694 r96696 316 316 ; 317 317 318 ; NSIS only supports global vars, even in functions -- great ;; @todo r=bird: why don't you just change $g_bInstallTimestampCA?319 Var /GLOBAL bDoInstallCA320 StrCpy $bDoInstallCA "false" ; Set a default value321 322 318 ; If not explicitly specified, let the detected Windows version decide what to do. 323 ${If} $g_bInstallTimestampCA == "unset" 324 ${If} $g_strWinVersion != "10" 325 ; On guest OSes < Windows 10 we always go for the PreW10 drivers and install our legacy timestamp CA. 326 StrCpy $bDoInstallCA "true" 327 ${EndIf} 328 ${Else} 329 StrCpy $bDoInstallCA $g_bInstallTimestampCA 330 ${EndIf} 331 332 ${If} $bDoInstallCA == "true" 319 ; On guest OSes < Windows 10 we always go for the PreW10 drivers and install our legacy timestamp CA. 320 ${If} $g_bInstallTimestampCA == "unset" 321 ${AndIf} $g_strWinVersion != "10" 322 StrCpy $g_bInstallTimestampCA "true" 323 ${EndIf} 324 325 ${If} $g_bInstallTimestampCA == "true" 333 326 ${LogVerbose} "Installing legacy timestamp CA certificate ..." 334 327 ${CmdExecute} "$\"$INSTDIR\cert\VBoxCertUtil.exe$\" add-root $\"$INSTDIR\cert\vbox-legacy-timestamp-ca.cer$\"" 'non-zero-exitcode=log'
Note:
See TracChangeset
for help on using the changeset viewer.