Skip to content

negrutiu/nsis-nsutils

Repository files navigation

NSutils (NSIS plugin)

NSutils has multiple functions packed in one plugin
Check out the readme file for additional details and usage examples
This plugin is known to work well on NT4, Win11 and everything in between...

License: zlib/libpng Latest Release Downloads GitHub issues

Functions:

Function Details
GetVersionInfoString Retrieve strings from an executable's version info
GetFileVersion Extract numeric file version from an executable's version info
GetProductVersion Extract numeric product version from an executable's version info
ReadResourceString
WriteResourceString
Read/Write strings to an executable's string table
DisableProgressStepBack
RestoreProgressStepBack
Prevent installer's progress bar to step back during loops
StartTimer
StopTimer
Work with timers in NSIS scrips
StartReceivingClicks
StopReceivingClicks
Callback NSIS functions for custom buttons
LoadImageFile Loads an image in memory and returns a HBITMAP handle. Supports bmp, jpeg, gif
RejectCloseMessages Protects your installer against "close" windows messages such as WM_CLOSE, WM_DESTROY, WM_COMMAND(IDCANCEL), etc.
CloseFileHandles Close files that are locked by other programs
RegMultiSzInsertBefore
RegMultiSzInsertAfter
RegMultiSzInsertAtIndex
RegMultiSzDelete
Operations with REG_MULTI_SZ registry values
CPUID Retrieve CPU capabilities
CompareFiles Check if two files are equal (content comparison)
DriveIsSSD Check if a drive is SSD by examining its TRIM capability