Changeset 95753 in vbox for trunk/src/VBox/Additions/WINNT/Installer
- Timestamp:
- Jul 20, 2022 12:20:35 PM (3 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r95649 r95753 244 244 Var g_bOnlyExtract ; Cmd line: Only extract all files, do *not* install them. Only valid with param "/D" (target directory) 245 245 Var g_bPostInstallStatus ; Cmd line: Post the overall installation status to some external program (VBoxTray) 246 Var g_bInstallTimestampCA ; Cmd line: Force installing the timestamp CA on the system 246 247 247 248 ; Platform parts of this installer … … 365 366 ${Break} 366 367 !endif 368 369 ${Case} '/install_timestamp_ca' ; Not officially documented 370 StrCpy $g_bInstallTimestampCA "true" 371 ${Break} 372 373 ${Case} '/no_install_timestamp_ca' ; Ditto 374 StrCpy $g_bInstallTimestampCA "false" 375 ${Break} 367 376 368 377 ${Case} '/reboot' … … 939 948 StrCpy $g_bCapWDDM "false" 940 949 StrCpy $g_bPostInstallStatus "false" 950 StrCpy $g_bInstallTimestampCA "unset" ; Tri-state: "unset", "true" and "false" 941 951 942 952 ; We need a special directory set to SysWOW64 because some -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r95731 r95753 169 169 170 170 !ifdef VBOX_SIGN_ADDITIONS && VBOX_WITH_VBOX_LEGACY_TS_CA 171 ; On guest OSes < Windows 10 we always go for the PreW10 drivers and install our legacy timestamp CA. 172 ${If} $g_strWinVersion != "10" 171 ; NSIS only supports global vars, even in functions -- great 172 Var /GLOBAL bDoInstallCA 173 StrCpy $bDoInstallCA "false" ; Set a default value 174 175 ; If not explicitly specified, let the detected Windows version decide what to do. 176 ${If} $g_bInstallTimestampCA == 'unset': 177 ${If} $g_strWinVersion != "10" 178 ; On guest OSes < Windows 10 we always go for the PreW10 drivers and install our legacy timestamp CA. 179 StrCpy $bDoInstallCA "true" 180 ${EndIf} 181 ${Else} 182 StrCpy $bDoInstallCA $g_bInstallTimestampCA 183 ${EndIf} 184 185 ${If} $bDoInstallCA == "true" 173 186 ${LogVerbose} "Installing legacy timestamp CA certificate ..." 174 187 SetOutPath "$INSTDIR\cert"
Note:
See TracChangeset
for help on using the changeset viewer.