Skip to main content

is_nsis_installer

Function is_nsis_installer 

Source
pub fn is_nsis_installer(path: &Path) -> bool
Expand description

Check if file contains NSIS installer signature.

NSIS installers are Windows executables that contain a specific signature string. This function searches the first 8KB of the file for “Nullsoft.NSIS.exehead”.

§Returns

true if the NSIS signature is found within the first 8KB, false otherwise or on IO error.