diff --git a/win32/deluge.nsi b/win32/deluge.nsi index e0424c06e..0c751acf0 100644 --- a/win32/deluge.nsi +++ b/win32/deluge.nsi @@ -108,7 +108,7 @@ ; Macros !macro download url filename - DetailPrint "Attempting to download ${url} as ${filename}" + DetailPrint "Downloading: ${url}" NSISdl::download ${url} ${filename} Pop $0 StrCmp $0 "success" +2 @@ -138,22 +138,6 @@ ; Installer Sections -SubSection /e "Core" core - - Section "Deluge" deluge - - SectionIn RO - - ${install_MSI} DELUGE_INSTALLER "$INSTDIR\Deluge" - - SetOutPath "$INSTDIR\Deluge" - - WriteUninstaller "$INSTDIR\Deluge\uninstall.exe" - - SectionEnd - -SubSectionEnd - SubSection /e "Dependencies" dependencies Section "Python" python @@ -237,3 +221,19 @@ Section "Uninstall" RMDir "$INSTDIR" SectionEnd + +SubSection /e "Core" core + + Section "Deluge" deluge + + SectionIn RO + + ${install_MSI} DELUGE_INSTALLER "$INSTDIR\Deluge" + + SetOutPath "$INSTDIR\Deluge" + + WriteUninstaller "$INSTDIR\Deluge\uninstall.exe" + + SectionEnd + +SubSectionEnd