macros need to appear before they are used

This commit is contained in:
John Garland 2009-02-21 11:55:42 +00:00
parent 6a6f2998ed
commit 1684ffa612

View file

@ -25,7 +25,14 @@
InstType "Full"
InstType "Upgrade"
!endif
; Macros
!macro install installer_name
${download} "${${installer_name}_URL}" "$TEMP\${${installer_name}}"
delete "$TEMP\${installer_name}"
!macroend
; Defines
; Base URL for installers
@ -188,10 +195,4 @@ Section "Uninstall"
Delete "$INSTDIR\Deluge\uninstall.exe"
RMDir "$INSTDIR"
SectionEnd
; Macros
!macro install installer_name
${download} "${${installer_name}_URL}" "$TEMP\${${installer_name}}"
delete "$TEMP\${installer_name}"
!macroend
SectionEnd