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:
parent
654c8ad4d7
commit
2a922782ec
5 changed files with 88 additions and 2 deletions
|
@ -62,7 +62,10 @@ Section "Program files (Required)"
|
|||
WriteRegDWORD HKLM "${REGPATH_UNINSTSUBKEY}" "NoModify" 1
|
||||
WriteRegDWORD HKLM "${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=NSISSharedAppExample" -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue