Bugzilla – Bug 11438
Uninstalling SC does not stop squeezetray.exe on WHS
Last modified: 2009-10-05 14:35:53 UTC
When updating from nightly builds of 7.4 lately, the squeezetray.exe process is not stopped when SC is uninstalled through the add-in tab of the WHS console. This results in a error when attempting to install the new version. So you still have to remote desktop onto the server to kill the squeezetray.exe process before you can install the new version through the console. Personally, I wouldn't mind if squeezetray.exe was not even included or run with the WHS builds. This most recently happened when uninstalling 7.4-25534 to install 7.4-25665, but it happened my last update before that also.
Are you logged in locally? IMHO squeezetry shouldn't even be run unless there's a user session. If you're using the WHS console it shouldn't be run.
I don't know what you mean by "Are you logged in locally?" When I first started using the WHS version, Squeezetray didn't run, but at some point it came back... I don't know when or why.
Are you connecting to WHS using a remote desktop session, or the WHS console?
Created attachment 4960 [details] Screen shot Here's a screen shot showing that Squeezetray stops the installation.
To do a SC update I use the console, but there may be times I connect with RDC for other reasons. Does RDC always trigger the Squeezetray to be run? I don't think you can expect that users will never connect via remote desktop, and if it makes Squeezetray.exe run, then that should be handled by the installer, I would think.
> To do a SC update I use the console, but there may be times I connect with RDC > for other reasons. Can you make sure there's no RDC session running in the background (best open one, verify in task manager, then close it again) and you still see this issue? The installer can't kill tasks started by other users. (Well, it could, but that'd be rather rude :-))
>>Can you make sure there's no RDC session running in the background (best open one, verify in task manager, then close it again) and you still see this issue?<< That is precisely what I did yesterday when I took that screen shot.
Sue - are you still seeing this issue?
Did you want me to test it after having opened and then closed a RDC session? I did that just now and got the SqueezeTray error. I didn't make note of the version I was upgrading from (oops) but it was probably about a week old because I haven't been at home a lot. I'll try it again tomorrow. I does install with no errors if I don't open a RDC session since the last time SC was started.
Are you closing the RDP session by logging out, or by clicking the close button? I'll have to see whether there's a way to kill a process, even if it's owned by some other user. That's not nice doing :-)
I was clicking the close button. I never thought of logging off, and I don't know how many WHS users do it that way. Maybe I'm the only one, if this hasn't come up before... I don't think it's that rude to kill another user's task as part of an uninstall process. How can something be uninstalled if part of it is still running? But if that is somehow bad programmer etiquette, do what you think is best.
If I log out of the remote desktop connection, then SqueezeCenter is installed without the squeezetray error.
Thanks for the feedback, Sue. I'll probably add a check to kill a process if it doesn't quit as expected.
change 26321 - don't install SqueezeTray on WHS. This is not really the solution. But as most WHS administration should be done through the console anyway, there's not much need for the SqueezeTray on it. The SC add-in should by now provide almost the identical feature set as SqueezeTray/Control Panel.
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server! * SqueezeCenter: 28672 * Squeezebox 2 and 3: 130 * Transporter: 80 * Receiver: 65 * Boom: 50 * Controller: 7790 * Radio: 7790 Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.