example1.nsi 868 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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 installer simply
  5. ; prompts the user asking them where to install, and drops a copy of example1.nsi
  6. ; there.
  7. ;--------------------------------
  8. ; The name of the installer
  9. Name "Example1"
  10. ; The file to write
  11. OutFile "example1.exe"
  12. ; The default installation directory
  13. InstallDir $DESKTOP\Example1
  14. ; Request application privileges for Windows Vista
  15. RequestExecutionLevel user
  16. ;--------------------------------
  17. ; Pages
  18. Page directory
  19. Page instfiles
  20. ;--------------------------------
  21. ; The stuff to install
  22. Section "" ;No components page, name is not important
  23. ; Set output path to the installation directory.
  24. SetOutPath $INSTDIR
  25. ; Put file there
  26. File example1.nsi
  27. SectionEnd ; end the section