SHARE
TWEET

NSIS BEISPIELSCRIPT

a guest Jan 27th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  ; Beispiel-Skript
  2.  Name "MeinBeispiel"
  3.  OutFile "installer.exe"
  4.  SetCompressor lzma
  5.  InstallDir "$PROGRAMFILES\beispiel"
  6.  InstallDirRegKey HKLM "SOFTWARE\beispiel" "installdir"
  7.  LoadLanguageFile "${NSISDIR}\Contrib\Language files\German.nlf"
  8.  Page directory
  9.  Page instfiles
  10.  Section
  11.    SetOutPath $INSTDIR
  12.    File "meinbeispiel.exe"
  13.    WriteRegStr HKLM "SOFTWARE\beispiel" "installdir" "$INSTDIR"
  14.    CreateShortCut "$DESKTOP\beispiel.lnk" "$OUTDIR\meinbeispiel.exe"
  15.  SectionEnd
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top