Page 1 of 1

solved: "Can't write: C:\Program Files (x86)\SABnzbd\SABnzbd-service.exe"

Posted: June 22nd, 2011, 11:55 am
by sander
FYI:

Windows 7, an old SAB version (060 beta 2) running as service. I tried to install the 065 version (as admin, with elevated rights), but I got:


Code: Select all

Output folder: C:\Program Files (x86)\SABnzbd
Extract: CHANGELOG.txt... 100%
Extract: COPYRIGHT.txt... 100%
Extract: GPL2.txt... 100%
Extract: GPL3.txt... 100%
Extract: INSTALL.txt... 100%
Extract: ISSUES.txt... 100%
Extract: README.txt... 100%
Extract: SABnzbd-console.exe... 100%
Can't write: C:\Program Files (x86)\SABnzbd\SABnzbd-service.exe

Solved by first stopping both SABnzbd services, then installing the new version, and then starting both SABnzbd services again.

So, @shypike: is this designed behaviour, or should the Windows SABnzbd install procedure first stop the services?

Re: solved: "Can't write: C:\Program Files (x86)\SABnzbd\SABnzbd-service.exe"

Posted: June 22nd, 2011, 12:25 pm
by shypike
It won't stop the service.
This feature is for people who know what they're doing.
This aspect is also described in our run-as-service page on the Wiki.

Re: solved: "Can't write: C:\Program Files (x86)\SABnzbd\SABnzbd-service.exe"

Posted: June 22nd, 2011, 3:05 pm
by sander
OK, I found it: "You can upgrade SABnzbd without changing the service registrations, but you do need to stop both services first"

Thanks!