NfUtils header file: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 23: Line 23:
nfUtils is a collection of macros and functions in a NSIS header file.  
nfUtils is a collection of macros and functions in a NSIS header file.  


== How to use ==
Download the zipped installer for the current version of nfUtils, unzip and start the installer nfUtils.exe. The installer will add the following files to your NSIS installation:<br><br>
nfUtils.nsh (the header file)<br>
nfUtils.nsi (the installer script)<br>
nfUtils.exe (the installer)<br>
nfgetver.exe (utility used by nfUtils.nsh)<br><br>
Basically you will only need nfUtils.nsh in the include directory of your NSIS installation: nfgetver.exe will be generated, when it is needed and unavailable. The installer's script is provided for learning purposes, because it will show the usage of some macros and functions.<br>


To use the header, place this at the beginning of your script:
To use the header, place this at the beginning of your script:

Revision as of 10:44, 20 July 2006

Author: niteflyer (talk, contrib)


Links

Go to Forum thread

Download current version:
Version 1.2.0.0 (07-11-2006): Zip.gif nfUtils12.zip

Download older versions:
Version 1.1.0.0 (06-30-2006): Zip.gif nfUtils11.zip
Version 1.0.0.0 (06-03-2006): Zip.gif nfUtils.zip


Description

nfUtils is a collection of macros and functions in a NSIS header file.

How to use

Download the zipped installer for the current version of nfUtils, unzip and start the installer nfUtils.exe. The installer will add the following files to your NSIS installation:

nfUtils.nsh (the header file)
nfUtils.nsi (the installer script)
nfUtils.exe (the installer)
nfgetver.exe (utility used by nfUtils.nsh)

Basically you will only need nfUtils.nsh in the include directory of your NSIS installation: nfgetver.exe will be generated, when it is needed and unavailable. The installer's script is provided for learning purposes, because it will show the usage of some macros and functions.

To use the header, place this at the beginning of your script:

  !include "nfUtils.nsh"