Silent deployment

Specific support for Deluge on Microsoft Windows OS
Post Reply
prmanningham
New User
New User
Posts: 3
Joined: Mon Nov 18, 2013 6:43 pm

Silent deployment

Post by prmanningham »

Hi, I've been able to successfully deploy Deluge using the /S switch.
However, I'd like to be able to uninstall the software the same way but it doesn't seem possible with the same switch or by using
"C:\Program Files (x86)\Deluge\Deluge-uninst.exe" /S

Is there a way to achieve this?

Many thanks,
-Pierre
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Silent deployment

Post by Cas »

It's not explicitly setup afaik so would need to determine why NSIS doesn't uninstall with same switch
prmanningham
New User
New User
Posts: 3
Joined: Mon Nov 18, 2013 6:43 pm

Re: Silent deployment

Post by prmanningham »

following NSIS documentation http://nsis.sourceforge.net/Docs/Chapter3.html#3.2.2
We should be able to run the uninstaller.exe /S
Are you implementing this feature in your installer?

Thanks for the quick reply,
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Silent deployment

Post by Cas »

Ok the problem is that the uninstall part has two MessageBox that requires user intervention. http://git.deluge-torrent.org/deluge/tr ... table#n109

This can be fixed by appending /SD IDOK and /SD IDYES to the relevant lines.

Be aware that the uninstaller will simply wipe the entire install directory: http://dev.deluge-torrent.org/ticket/2325

I'll try and update the nsis script to fix both these issues soon.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Silent deployment

Post by Cas »

prmanningham
New User
New User
Posts: 3
Joined: Mon Nov 18, 2013 6:43 pm

Re: Silent deployment

Post by prmanningham »

Thanks for the support, this will be usefull for us.

Quick question regarding your comment about the switch only wiping Deluge's directory.
Does it mean it will leave those behind?

Code: Select all

HKLM\SOFTWARE\Classes\Deluge 
HKLM\SOFTWARE\Classes\magnet 
HKLM\SOFTWARE\Classes\.torrent 
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Deluge 
%appdata%\deluge
%public%\Desktop\Deluge.ink
Post Reply