macros need to appear before they are used

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

View file

@ -26,6 +26,13 @@
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
@ -189,9 +196,3 @@ Section "Uninstall"
RMDir "$INSTDIR"
SectionEnd
; Macros
!macro install installer_name
${download} "${${installer_name}_URL}" "$TEMP\${${installer_name}}"
delete "$TEMP\${installer_name}"
!macroend