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