2002-08-02 10:01:35 +00:00
|
|
|
; example1.nsi
|
|
|
|
;
|
|
|
|
; This script is perhaps one of the simplest NSIs you can make. All of the
|
2002-11-22 17:10:51 +00:00
|
|
|
; optional settings are left to their default settings. The installer simply
|
|
|
|
; prompts the user asking them where to install, and drops a copy of makensisw.exe
|
2002-08-02 10:01:35 +00:00
|
|
|
; there.
|
|
|
|
;
|
|
|
|
|
|
|
|
; The name of the installer
|
|
|
|
Name "Example1"
|
|
|
|
|
|
|
|
; The file to write
|
|
|
|
OutFile "example1.exe"
|
|
|
|
|
|
|
|
; The default installation directory
|
|
|
|
InstallDir $PROGRAMFILES\Example1
|
|
|
|
|
|
|
|
; The text to prompt the user to enter a directory
|
|
|
|
DirText "This will install the very simple example1 on your computer. Choose a directory"
|
|
|
|
|
|
|
|
; The stuff to install
|
|
|
|
Section "ThisNameIsIgnoredSoWhyBother?"
|
|
|
|
; Set output path to the installation directory.
|
|
|
|
SetOutPath $INSTDIR
|
|
|
|
; Put file there
|
|
|
|
File ..\makensisw.exe
|
|
|
|
SectionEnd ; end the section
|
|
|
|
|
|
|
|
; eof
|