From 1684ffa61211551e2c004b1c35cbb1de4273aad2 Mon Sep 17 00:00:00 2001 From: John Garland Date: Sat, 21 Feb 2009 11:55:42 +0000 Subject: [PATCH] macros need to appear before they are used --- win32/deluge.nsi | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/win32/deluge.nsi b/win32/deluge.nsi index b9efab5f2..f14b8fde4 100644 --- a/win32/deluge.nsi +++ b/win32/deluge.nsi @@ -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 \ No newline at end of file