Changeset 96694 in vbox for trunk/src/VBox/Additions/WINNT/Installer
- Timestamp:
- Sep 12, 2022 9:40:40 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 153577
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk
r96692 r96694 234 234 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsUninstall.nsh \ 235 235 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsUninstallOld.nsh \ 236 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsNT4.nsh \ 236 237 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsW2KXP.nsh \ 237 238 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsVista.nsh \ 238 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsNT4.nsh \ 239 $(PATH_SUB_CURRENT)/dumplog.nsh \ 240 $(PATH_SUB_CURRENT)/ReplaceDLL.nsh \ 241 $(PATH_SUB_CURRENT)/servicepack.nsh \ 242 $(PATH_SUB_CURRENT)/strstr.nsh \ 243 $(PATH_SUB_CURRENT)/winver.nsh \ 239 244 $(PATH_SUB_CURRENT)/Languages/English.nsh \ 240 245 $(PATH_SUB_CURRENT)/Languages/German.nsh \ … … 284 289 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsLog.nsh \ 285 290 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsUninstall.nsh \ 286 $(PATH_SUB_CURRENT)/VBoxGuestAdditions UninstallOld.nsh \291 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsNT4.nsh \ 287 292 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsW2KXP.nsh \ 288 293 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsVista.nsh \ 289 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsNT4.nsh \ 294 $(PATH_SUB_CURRENT)/dumplog.nsh \ 295 $(PATH_SUB_CURRENT)/ReplaceDLL.nsh \ 296 $(PATH_SUB_CURRENT)/servicepack.nsh \ 297 $(PATH_SUB_CURRENT)/strstr.nsh \ 298 $(PATH_SUB_CURRENT)/winver.nsh \ 290 299 $(PATH_SUB_CURRENT)/Languages/English.nsh \ 291 300 $(PATH_SUB_CURRENT)/Languages/German.nsh \ -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r96693 r96694 193 193 194 194 ; Must come after MUI includes to have certain defines set for DumpLog 195 !include "dumplog.nsh" ; Dump log to file function195 !include "dumplog.nsh" ; Dump log to file function 196 196 197 197 ; Language files … … 472 472 Quit 473 473 474 !ifdef UNUSED_CODE 474 475 done: 475 476 … … 480 481 ${LogVerbose} "Property: Logging enabled: $g_bLogEnable" 481 482 !endif 483 !endif ;UNUSED_CODE 482 484 483 485 exit: … … 786 788 787 789 skip: 788 789 ; Nothing to do here right now790 791 exit:792 790 793 791 SectionEnd … … 1046 1044 Pop $0 1047 1045 ${If} $0 <> 0 ; Wrong architecture? Tell the world 1048 !if $%KBUILD_TARGET_ARCH% == "amd64"1046 !if $%KBUILD_TARGET_ARCH% == "amd64" 1049 1047 MessageBox MB_ICONSTOP $(VBOX_NOTICE_ARCH_AMD64) /SD IDOK 1050 !else1048 !else 1051 1049 MessageBox MB_ICONSTOP $(VBOX_NOTICE_ARCH_X86) /SD IDOK 1052 !endif1050 !endif 1053 1051 Abort "$(VBOX_NOTICE_ARCH_AMD64)" 1054 1052 ${EndIf} … … 1105 1103 ${EndIf} 1106 1104 1107 !ifdef USE_MUI 1108 ; Display language selection dialog (will be hidden in silent mode!) 1109 !ifdef VBOX_INSTALLER_ADD_LANGUAGES 1110 !insertmacro MUI_LANGDLL_DISPLAY 1105 !ifdef USE_MUI 1106 ; Display language selection dialog (will be hidden in silent mode!) 1107 !ifdef VBOX_INSTALLER_ADD_LANGUAGES 1108 !insertmacro MUI_LANGDLL_DISPLAY 1109 !endif 1111 1110 !endif 1112 !endif1113 1111 1114 1112 Call SetAppMode64 … … 1198 1196 Goto exit 1199 1197 1198 !ifndef _DEBUG 1200 1199 restart: 1200 !endif 1201 1201 1202 1202 ${LogVerbose} "Rebooting ..." -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r96693 r96694 220 220 FunctionEnd 221 221 !macroend 222 !insertmacro CheckArchitecture "" 223 !insertmacro CheckArchitecture "un." 222 !ifndef UNINSTALLER_ONLY 223 !insertmacro CheckArchitecture "" 224 !insertmacro CheckArchitecture "un." 225 !endif 224 226 225 227 ; … … 266 268 FunctionEnd 267 269 !macroend 268 !insertmacro GetWindowsVersionEx "" 270 !ifndef UNINSTALLER_ONLY 271 !insertmacro GetWindowsVersionEx "" 272 !endif 269 273 !insertmacro GetWindowsVersionEx "un." 270 274 … … 325 329 Pop $g_strAddVerBuild 326 330 327 exit:328 329 331 Pop $1 330 332 Pop $0 … … 524 526 FunctionEnd 525 527 !macroend 526 !insertmacro CheckForCapabilities "" 528 !ifndef UNINSTALLER_ONLY 529 !insertmacro CheckForCapabilities "" 530 !endif 527 531 !insertmacro CheckForCapabilities "un." 528 532 … … 537 541 FunctionEnd 538 542 !macroend 539 !insertmacro SetAppMode32 "" 540 !insertmacro SetAppMode32 "un." 543 !ifndef UNINSTALLER_ONLY 544 !insertmacro SetAppMode32 "" 545 !insertmacro SetAppMode32 "un." 546 !endif 541 547 542 548 ; Because this NSIS installer is always built in 32-bit mode, we have to -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsNT4.nsh
r96693 r96694 197 197 ; Add the shared folders network provider 198 198 ;${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" netprovider add VBoxSF" 'non-zero-exitcode=abort' 199 200 Goto done201 202 error:203 Abort "ERROR: Could not install files for Windows NT4! Installation aborted."204 205 done:206 199 207 200 FunctionEnd … … 286 279 FunctionEnd 287 280 !macroend 288 !insertmacro NT4_Uninstall "" 281 !ifndef UNINSTALLER_ONLY 282 !insertmacro NT4_Uninstall "" 283 !endif 289 284 !insertmacro NT4_Uninstall "un." -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstall.nsh
r96693 r96694 134 134 FunctionEnd 135 135 !macroend 136 !insertmacro Uninstall "" 136 !ifndef UNINSTALLER_ONLY 137 !insertmacro Uninstall "" 138 !endif 137 139 !insertmacro Uninstall "un." 138 140 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsVista.nsh
r96693 r96694 70 70 ; Nothing here yet 71 71 72 !ifdef UNUSED_CODE 72 73 Goto done 73 74 … … 77 78 78 79 done: 80 !endif ; UNUSED_CODE 79 81 80 82 FunctionEnd … … 115 117 FunctionEnd 116 118 !macroend 117 !insertmacro Vista_Uninstall "" 119 !ifndef UNINSTALLER_ONLY 120 !insertmacro Vista_Uninstall "" 121 !endif 118 122 !insertmacro Vista_Uninstall "un." 119 123 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r96693 r96694 771 771 FunctionEnd 772 772 !macroend 773 !insertmacro W2K_Uninstall "" 773 !ifndef UNINSTALLER_ONLY 774 !insertmacro W2K_Uninstall "" 775 !endif 774 776 !insertmacro W2K_Uninstall "un." -
trunk/src/VBox/Additions/WINNT/Installer/dumplog.nsh
r76934 r96694 52 52 !macroend 53 53 !insertmacro DumpLog "" 54 !insertmacro DumpLog "un." 54 ;!insertmacro DumpLog "un." - not used -
trunk/src/VBox/Additions/WINNT/Installer/servicepack.nsh
r69354 r96694 27 27 !macroend 28 28 !insertmacro GetServicePack "" 29 !insertmacro GetServicePack "un." 29 ;!insertmacro GetServicePack "un." - unused -
trunk/src/VBox/Additions/WINNT/Installer/strstr.nsh
r33540 r96694 43 43 FunctionEnd 44 44 !macroend 45 !insertmacro StrStr "" 45 !ifndef UNINSTALLER_ONLY 46 !insertmacro StrStr "" 47 !endif 46 48 !insertmacro StrStr "un." 47 49 … … 304 306 !macroend 305 307 !insertmacro StrStrAdv "" 306 !insertmacro StrStrAdv "un."308 ;!insertmacro StrStrAdv "un."
Note:
See TracChangeset
for help on using the changeset viewer.