Changeset 96772 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Sep 16, 2022 10:24:39 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 153660
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r96766 r96772 160 160 FunctionEnd 161 161 162 !macro W2K_CleanupCerts un 163 ;; 164 ; Removes certificates and the certificate utility. 165 ; 166 ; Since the certificate collection depends on the build config and have 167 ; changed over time, we always clean it up before installation. 168 ; 169 Function ${un}W2K_CleanupCerts 170 Delete /REBOOTOK "$INSTDIR\cert\vbox.cer" 171 Delete /REBOOTOK "$INSTDIR\cert\vbox-root.cer" 172 Delete /REBOOTOK "$INSTDIR\cert\vbox-timestamp-root.cer" 173 Delete /REBOOTOK "$INSTDIR\cert\vbox-sha1.cer" 174 Delete /REBOOTOK "$INSTDIR\cert\vbox-sha1-root.cer" 175 Delete /REBOOTOK "$INSTDIR\cert\vbox-sha1-timestamp-root.cer" 176 Delete /REBOOTOK "$INSTDIR\cert\vbox-sha256.cer" 177 Delete /REBOOTOK "$INSTDIR\cert\vbox-sha256-root.cer" 178 Delete /REBOOTOK "$INSTDIR\cert\vbox-sha256-timestamp-root.cer" 179 Delete /REBOOTOK "$INSTDIR\cert\vbox-sha256-r3.cer" 180 Delete /REBOOTOK "$INSTDIR\cert\vbox-sha256-r3-root.cer" 181 Delete /REBOOTOK "$INSTDIR\cert\vbox-sha256-r3-timestamp-root.cer" 182 Delete /REBOOTOK "$INSTDIR\cert\vbox-legacy-timestamp-ca.cer" 183 Delete /REBOOTOK "$INSTDIR\cert\root-versign-pca3-g5.cer" ; only for a while during 7.0 beta phase 184 Delete /REBOOTOK "$INSTDIR\cert\root-digicert-assured-id.cer" ; ditto 185 Delete /REBOOTOK "$INSTDIR\cert\root-digicert-high-assurance-ev.cer" ; ditto 186 Delete /REBOOTOK "$INSTDIR\cert\VBoxCertUtil.exe" 187 RMDir /REBOOTOK "$INSTDIR\cert" 188 FunctionEnd 189 !macroend 190 !insertmacro W2K_CleanupCerts "" 191 !insertmacro W2K_CleanupCerts "un." 192 193 162 194 !ifdef VBOX_SIGN_ADDITIONS 163 195 ;; … … 210 242 ; Delete old VBoxService.exe from install directory (replaced by VBoxTray.exe) 211 243 Delete /REBOOTOK "$INSTDIR\VBoxService.exe" 244 245 ; Ditch old certificates and stuff to avoid confusion if we now ship fewer / different files. 246 Call W2K_CleanupCerts 212 247 213 248 !ifdef VBOX_SIGN_ADDITIONS … … 602 637 !endif ; $%VBOX_WITH_WDDM% == "1" 603 638 604 ; Log file 639 ; Certificates, utility and directory. 640 Call ${un}W2K_CleanupCerts 641 642 ; Log files 605 643 Delete /REBOOTOK "$INSTDIR\install.log" 606 644 Delete /REBOOTOK "$INSTDIR\install_ui.log" 645 Delete /REBOOTOK "$INSTDIR\install_drivers.log" 607 646 608 647 FunctionEnd
Note:
See TracChangeset
for help on using the changeset viewer.