home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 October / Chip_2001-10_cd1.bin / zkuste / delphi / nastroje / d23456 / NSIS.EXE / example1.nsi < prev    next >
Text File  |  2001-05-19  |  873b  |  30 lines

  1. ; example1.nsi
  2. ;
  3. ; This script is perhaps one of the simplest NSIs you can make. All of the
  4. ; optional settings are left to their default settings. The instalelr simply 
  5. ; prompts the user asking them where to install, and drops of notepad.exe
  6. ; there. If your Windows directory is not C:\windows, change it below.
  7. ;
  8.  
  9. ; The name of the installer
  10. Name "Example1"
  11.  
  12. ; The file to write
  13. OutFile "example1.exe"
  14.  
  15. ; The default installation directory
  16. InstallDir $PROGRAMFILES\Example1
  17.  
  18. ; The text to prompt the user to enter a directory
  19. DirText "This will install the very simple example1 on your computer. Choose a directory"
  20.  
  21. ; The stuff to install
  22. Section "ThisNameIsIgnoredSoWhyBother?"
  23.   ; Set output path to the installation directory.
  24.   SetOutPath $INSTDIR
  25.   ; Put file there
  26.   File "C:\windows\notepad.exe"
  27. SectionEnd ; end the section
  28.  
  29. ; eof
  30.