Page 1 of 1
Silent deployment
Posted: Mon Nov 18, 2013 6:50 pm
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
Re: Silent deployment
Posted: Mon Nov 18, 2013 7:40 pm
by Cas
It's not explicitly setup afaik so would need to determine why NSIS doesn't uninstall with same switch
Re: Silent deployment
Posted: Mon Nov 18, 2013 8:11 pm
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,
Re: Silent deployment
Posted: Tue Nov 19, 2013 11:32 am
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.
Re: Silent deployment
Posted: Tue Nov 19, 2013 11:56 am
by Cas
Re: Silent deployment
Posted: Tue Nov 19, 2013 2:06 pm
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