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 "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