VirtualBox

Changeset 107270 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Dec 10, 2024 8:25:35 AM (5 weeks ago)
Author:
vboxsync
Message:

Windows Additions: Added a new tool VBoxNSISTool for verifying + repairing NSIS installer files, only used at build time. 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 [build fix]. bugref:10761

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/NSISTool/VBoxNSISTool.cpp

    r107269 r107270  
    7979    /** File size (in bytes).
    8080     *  Set to 0 if not set (yet). */
    81     size_t      cbFile;
     81    uint64_t    cbFile;
    8282    /** Header structure, taken from NSIS. */
    8383    firstheader FirstHdr;
    8484    /** Absolute file offset (in bytes) of \a FirstHdr.
    8585     *  Set to UINT64_MAX if not set (yet). */
    86     size_t      offHdr;
     86    uint64_t    offHdr;
    8787    /** Absolute file offset (in bytes) of CRC32 to read/write.
    8888     *  Set to UINT64_MAX if not set (yet). */
    89     size_t      offCRC32;
     89    uint64_t    offCRC32;
    9090    /** Currente CRC32 checksum being used.
    9191     *  Set to 0 if not initialized. */
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