Premiers pas avec nsis
Sur cette page
Installation ou configuration
Le programme d’installation de NSIS peut être téléchargé à partir de http://nsis.sourceforge.net/Download. Un exe de 1,6 Mo sera téléchargé. Vous pouvez l’installer à l’aide de l’assistant. Lors de l’installation, il existe des options pour installer
1. Full: Installs all the components
2. Lite: Basic and only essential components from the UI
3. Minimal: The NSIS core files only.
4. Custom: It's up to us to install whichever components that we need.
Bonjour le monde!
Code, à enregistrer dans “helloworld.nsi” :
Name "Hello World"
OutFile "helloworld.exe"
Section "Hello World"
MessageBox MB_OK "Hello World!"
SectionEnd
Compilez-le avec :
<Path to NSIS>\makensis.exe <Path to script>\helloworld.nsi