Skip to main content

Module firstheader

Module firstheader 

Source
Expand description

NSIS FirstHeader structure.

The FirstHeader is a 28-byte structure found in the PE overlay at a 512-byte aligned offset. It contains the NSIS signature, flags, and size information needed to locate and decompress the header block.

Source: fileform.h from the NSIS source code.

Structs§

FirstHeader
View type for the NSIS FirstHeader (28 bytes).

Constants§

FH_FLAGS_FORCE_CRC
Flag: force CRC even if /NCRC was passed.
FH_FLAGS_MASK
Mask for valid FirstHeader flags.
FH_FLAGS_NO_CRC
Flag: CRC checking is disabled.
FH_FLAGS_SILENT
Flag: silent mode.
FH_FLAGS_UNINSTALL
Flag: this is an uninstaller.
FH_INT1
"Null" as a little-endian u32.
FH_INT2
"soft" as a little-endian u32.
FH_INT3
"Inst" as a little-endian u32.
FH_INT1_LEGACY
"nsis" as a little-endian u32 (NSIS 1.x legacy).
FH_INT2_LEGACY
"inst" as a little-endian u32 (NSIS 1.x legacy).
FH_INT3_LEGACY
"all\0" as a little-endian u32 (NSIS 1.x legacy).
FH_SIG
NSIS standard signature: 0xDEADBEEF.
FH_SIG_ALT
Alternate signature found in some NSIS variants: 0xDEADBEED.