Generate simple application in examples (bug #1252)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7222 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2020-08-29 17:20:05 +00:00
parent 654c8ad4d7
commit 2a922782ec
5 changed files with 88 additions and 2 deletions

View file

@ -59,7 +59,10 @@ Section "Program files (Required)"
WriteRegDWORD HKCU "${REGPATH_UNINSTSUBKEY}" "NoModify" 1
WriteRegDWORD HKCU "${REGPATH_UNINSTSUBKEY}" "NoRepair" 1
File "/oname=$InstDir\MyApp.exe" "${NSISDIR}\Bin\MakeLangId.exe" ; Pretend that we have a real application to install
!tempfile APP
!makensis '-v2 "-DOUTFILE=${APP}" "-DNAME=NSISPerUserAppExample" -DCOMPANY=Nullsoft "AppGen.nsi"' = 0
File "/oname=$InstDir\MyApp.exe" "${APP}" ; Pretend that we have a real application to install
!delfile "${APP}"
SectionEnd
Section "Start Menu shortcut"