macros need to appear before they are used
This commit is contained in:
parent
6a6f2998ed
commit
1684ffa612
@ -25,7 +25,14 @@
|
|||||||
InstType "Full"
|
InstType "Full"
|
||||||
InstType "Upgrade"
|
InstType "Upgrade"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
; Macros
|
||||||
|
|
||||||
|
!macro install installer_name
|
||||||
|
${download} "${${installer_name}_URL}" "$TEMP\${${installer_name}}"
|
||||||
|
delete "$TEMP\${installer_name}"
|
||||||
|
!macroend
|
||||||
|
|
||||||
; Defines
|
; Defines
|
||||||
|
|
||||||
; Base URL for installers
|
; Base URL for installers
|
||||||
@ -188,10 +195,4 @@ Section "Uninstall"
|
|||||||
Delete "$INSTDIR\Deluge\uninstall.exe"
|
Delete "$INSTDIR\Deluge\uninstall.exe"
|
||||||
RMDir "$INSTDIR"
|
RMDir "$INSTDIR"
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
; Macros
|
|
||||||
!macro install installer_name
|
|
||||||
${download} "${${installer_name}_URL}" "$TEMP\${${installer_name}}"
|
|
||||||
delete "$TEMP\${installer_name}"
|
|
||||||
!macroend
|
|
||||||
Loading…
x
Reference in New Issue
Block a user