It became alittle to crazy imho with 16 files provided now lol, so I have changed my mind and will now just provide 4 installers, one stable and one git deluge installer, and each in both available libtorrent versions.
I think i'll quit making portable-archives, because there's no issues with the actual installers anymore and because you can just extract the installers with 7-zip yourself and get a portable install if wanted simply(winrar doesn't support this though, I just checked, but 7-zip does and is free).
Lastly, I have added an extra checkbox to the installers, under component-selection page, though unchecked by default, with an option to install and enable Dark(Mantis-theme) by yziecg.
*OLD-THREAD - SEE NEW* [Unofficial] Deluge 2.0.x installer
Re: Deluge 2.0 unofficial Windows installer available.
Now that im not providing portable archives anymore, I have made and provided a small under 1mb 'make-portable.exe' tool, not needing admin-rights, which you simply drop your exe installer on-top off, and it will spit-out a portable install folder with same name as installer(except the ".exe" ending). It will initially prompt you to press 1 or 2 to select if wanting regular or Dark(Mantis-theme) added and enabled.
Re: Deluge 2.0 unofficial Windows installer available.
I removed the make-portable.exe tool because I made the installers to now also support portable installs.
Under components-section I added a checkbox for portable installs, which will deselect and grey-out the two checkboxes for adding reg-associations for torrents/magnets and disable the next page about adding shortcuts and the desktop-shortcut checkbox at finish-page + set default suggested "install" folder to current folder, in a Deluge folder generated, and skip making uninstall info in windows. You can change folder wanted, and you can also select Dark(Mantis-theme) for the portable install too.
I originally added a custom extra page where to select regular or portable install, because that is what foobar2000 and some other good apps use, I saw, but imho the installer is cluttered enough with pages already(I'd remove 2, maybe 3 myself, and add the settings instead as extra checkboxes under components-page, if not striving to adhere to "looks" of official installers as much as possible), so I redecided and changed to a checkbox like described above.
This was a headache honestly, not the simple checkbox, but a certain part of the underlying logic in the code, and I had to register at the NSIS developer forum and have a conversation with the lead-dev Anders to solve it. I followed the documentation, but still didn't work, but luckilly Anders told me about a special semantic not mentioned in documentation, which let me to easily change my code up to work right.
No need to update for current users, as only installer changes.
Under components-section I added a checkbox for portable installs, which will deselect and grey-out the two checkboxes for adding reg-associations for torrents/magnets and disable the next page about adding shortcuts and the desktop-shortcut checkbox at finish-page + set default suggested "install" folder to current folder, in a Deluge folder generated, and skip making uninstall info in windows. You can change folder wanted, and you can also select Dark(Mantis-theme) for the portable install too.
I originally added a custom extra page where to select regular or portable install, because that is what foobar2000 and some other good apps use, I saw, but imho the installer is cluttered enough with pages already(I'd remove 2, maybe 3 myself, and add the settings instead as extra checkboxes under components-page, if not striving to adhere to "looks" of official installers as much as possible), so I redecided and changed to a checkbox like described above.
This was a headache honestly, not the simple checkbox, but a certain part of the underlying logic in the code, and I had to register at the NSIS developer forum and have a conversation with the lead-dev Anders to solve it. I followed the documentation, but still didn't work, but luckilly Anders told me about a special semantic not mentioned in documentation, which let me to easily change my code up to work right.
No need to update for current users, as only installer changes.
Re: Deluge 2.0 unofficial Windows installer available.
I changed the installers again, so now I only provide two installers, one with stable deluge and one with latest git-develop, and both have latest libtorrent v1.2.2 by default, but now also have an extra checkbox added under components-page for installing libtorrent 1.1.13 instead, unchecked by default. As my previous post, there's still the portable checkbox also, and the Dark(Mantis-theme) checkbox still, I added some days ago.
Again, no need to update for current users, as only installer changes.
Edit: I just got this during testing, so please remember delete session.state from deluge-profile-dir and restart deluge if getting an error on startup, because of old unfixed deluge-bug occuring sometimes when switching between libtorrent versions. Also, Arvid libtorrent lead-dev, states if going from libtorrent 1.2.x and back to 1.1.x, then your loaded torrents will show failed and needing a recheck.
Again, no need to update for current users, as only installer changes.
Edit: I just got this during testing, so please remember delete session.state from deluge-profile-dir and restart deluge if getting an error on startup, because of old unfixed deluge-bug occuring sometimes when switching between libtorrent versions. Also, Arvid libtorrent lead-dev, states if going from libtorrent 1.2.x and back to 1.1.x, then your loaded torrents will show failed and needing a recheck.
Re: Deluge 2.0 unofficial Windows installer available.
I added small tool deluge-fix.exe to use if having startup-errors after updating, and which deletes session.state from your deluge profile folder - it also first kills, if running, any of the UIs or daemons, also debug-versions, though shouldn't be running if having that error in first place but regardless. Again, it would be easy for me to add another checkbox to installers for this, or just doing it automatically always during installing, but as not considered propper, I decided to resort to this instead, as next best solution.
Edit: Screw what's propper!
I removed said tool again, because changed installers to now always delete that session.state file if available. I didn't make checkbox for it, because you never know when it's needed untill too late(after install finished), and there's anyways a session.state.bak file still in deluge profile folder.
Edit: Screw what's propper!

Re: Deluge 2.0 unofficial Windows installer available.
I added 3 extra checkboxes to components-page, unchecked by default, one for installing adwaita theme(default gtk3 theme), another for installing adwaita's dark theme, and a final one for enabling GTK_CSD=0 to get old look back of native windows titlebar(despite possible performance degradation). I coded it so you only can select a single theme of the 3 optionally available(Dark(Mantis-theme) included here) and the others gets unselected and greyed out, likewise what I did previously with the "portable install" checkbox unselecting/greying-out the "add magnet/torrent associations" checkboxes. If not selecting any of the 3 optionally available theme's, then win32 theme is used as been default all along.
Re: Deluge 2.0.x unofficial Windows installer available.
Shaved 82mb off from install-size on each of both installers. I could get, I can't remember if 25mb or 40mb more off, if omiting localised translations, so only english, which i'd myself prefer, but probably would piss some off, so won't touch that. Again, I made the installers to be able to install over without needing uninstalling first(and still save the space).
-
- New User
- Posts: 5
- Joined: Thu Dec 19, 2019 10:34 am
Re: Deluge 2.0.x unofficial Windows installer.
Trying to run the client in "thin" mode.
It silently (nothing except "Starting gtk ui.." in logs) crashes after loading the torrents list.
Debug-version crashes the same way too, even the debug-window.
Have no idea what's the reason for this.
Tried deleting profile dir, standard and standalone installations.
The OS is Win10 1803
It silently (nothing except "Starting gtk ui.." in logs) crashes after loading the torrents list.
Debug-version crashes the same way too, even the debug-window.
Have no idea what's the reason for this.
Tried deleting profile dir, standard and standalone installations.
The OS is Win10 1803
Re: Deluge 2.0.x unofficial Windows installer.
Damn, hoped these "special" issues where gone... It's really hard for me to troubleshoot when not getting an error I specifically can google like previously fixed issues, as not happening on clean win10 install. The little thing listed in log makes it sound like an old conflicting file you have in system32 folder(or elsewhere in PATH), like previous fixed issue, but i'm unsure about how your crash occured specifically? Could you please reiterate for me how it happens, thanks. You say it crashes after loading torrent list, so you get the deluge gtk window opening and it just crashes after trying load the torrents in? Or no window showing? Also, crashes as in the window disappears, or staying up unresponsive. You do connect to 2.0.x daemon also right, as 1.x isn't supported. If not using thinclient, it also doesn't work/start? And x64 right?
You state the debug window closed, could you please run deluge-debug.exe from command-line so you can see all errors still after deluge crashes/closes, e.g. if having deluge installed in the standard suggested place, then press win+r > cmd > "%programfiles%\deluge\deluge-debug.exe". It probably won't help because you already stated the log didn't reveal anything specific, but just in case.
Also, just in case, did you install deluge 2.0.3 or 2.0.4.dev23, and under components-page during install did you select to install:
libtorrent 1.1.13?
A theme?
GTK_CSD=0?
Portable install?
Thank you in advance.
In meantime the only thing I really can do, is prepare a portable test version for you in zip archive for you to test thanks, where several things are "different", like older python version and all files, or atleast many of them, that I deleted to save space which didn't for me where needed for propper operation. I'll wait for your reply first though, and will take a little time, not long though. If finding the issue then, i'll rebuild the installers of course.
You state the debug window closed, could you please run deluge-debug.exe from command-line so you can see all errors still after deluge crashes/closes, e.g. if having deluge installed in the standard suggested place, then press win+r > cmd > "%programfiles%\deluge\deluge-debug.exe". It probably won't help because you already stated the log didn't reveal anything specific, but just in case.
Also, just in case, did you install deluge 2.0.3 or 2.0.4.dev23, and under components-page during install did you select to install:
libtorrent 1.1.13?
A theme?
GTK_CSD=0?
Portable install?
Thank you in advance.
In meantime the only thing I really can do, is prepare a portable test version for you in zip archive for you to test thanks, where several things are "different", like older python version and all files, or atleast many of them, that I deleted to save space which didn't for me where needed for propper operation. I'll wait for your reply first though, and will take a little time, not long though. If finding the issue then, i'll rebuild the installers of course.
Re: Deluge 2.0.x unofficial Windows installer.
Btw, I just downloaded older official MS ISO and clean installed win10 1809 in new VM and it worked fine there(before I only had tested latest win10 1903 as far as win10 concerned), so must be a conflicting file some app has placed in your win32 folder i'm thinking, but i'll wait for your reply on above questions before uploading a test-version as said.