VirtualBox

Changeset 107273 in vbox


Ignore:
Timestamp:
Dec 10, 2024 10:39:24 AM (7 weeks ago)
Author:
vboxsync
Message:

Windows Additions installer: Touch the installer via the new VBoxNSISTool for verifying + repairing NSIS installer files. This is necessary for getting the CRC32 right after we've built the NSIS installer and set the version via VBoxSetPeVersion afterwards, which renders the initial checksum within the installer invalid and thus prevents starting the installer. bugref:10761

File:
1 edited

Legend:

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

    r107269 r107273  
    249249                $(VBOX_GA_CERT_ROOT_SHA2_R3) \
    250250                $(VBOX_GA_CERT_ROOT_SHA2_R3_TS))
     251
     252# Tool is needed in order to repair the NSIS installer .exe's internal CRC32 checksum
     253# after touching it via $(VBOX_PE_SET_VERSION).
     254VBOX_NSIS_TOOL := $(PATH_STAGE_BIN)/VBoxNSISTool$(HOSTSUFF_EXE)
    251255
    252256VB_WIN_ADD_NSIS_ENV := \
     
    323327                        '$(subst /,\,$<)'
    324328        $(REDIRECT) -- $(VBOX_PE_SET_VERSION) $@
     329        $(REDIRECT) -- $(VBOX_NSIS_TOOL) repair $@
    325330        $(call VBOX_SIGN_IMAGE_FN,$@)
    326331
     
    369374                        '$(subst /,\,$<)'
    370375        $(QUIET)$(REDIRECT) -- $(VBOX_PE_SET_VERSION) $@
     376        $(QUIET)$(REDIRECT) -- $(VBOX_NSIS_TOOL) repair $@
    371377
    372378 $(PATH_TARGET)/uninst.exe: \
Note: See TracChangeset for help on using the changeset viewer.

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