Bug 11438 - Uninstalling SC does not stop squeezetray.exe on WHS
: Uninstalling SC does not stop squeezetray.exe on WHS
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Windows Installer
: 7.4.0
: PC Windows Home Server
: P3 normal (vote)
: 7.4.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-22 11:34 UTC by Sue Chastain
Modified: 2009-10-05 14:35 UTC (History)
0 users

See Also:
Category: ---


Attachments
Screen shot (167.71 KB, image/png)
2009-03-23 07:24 UTC, Sue Chastain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sue Chastain 2009-03-22 11:34:03 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.
Comment 1 Michael Herger 2009-03-23 03:41:20 UTC
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.
Comment 2 Sue Chastain 2009-03-23 07:14:50 UTC
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.
Comment 3 Michael Herger 2009-03-23 07:23:50 UTC
Are you connecting to WHS using a remote desktop session, or the WHS console?
Comment 4 Sue Chastain 2009-03-23 07:24:18 UTC
Created attachment 4960 [details]
Screen shot

Here's a screen shot showing that Squeezetray stops the installation.
Comment 5 Sue Chastain 2009-03-23 07:28:42 UTC
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.
Comment 6 Michael Herger 2009-03-24 00:47:12 UTC
> 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 :-))
Comment 7 Sue Chastain 2009-03-24 06:25:06 UTC
>>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.
Comment 8 Michael Herger 2009-04-09 06:40:22 UTC
Sue - are you still seeing this issue?
Comment 9 Sue Chastain 2009-04-09 09:38:07 UTC
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.
Comment 10 Michael Herger 2009-04-09 09:46:00 UTC
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 :-)
Comment 11 Sue Chastain 2009-04-09 11:57:55 UTC
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.
Comment 12 Sue Chastain 2009-04-11 08:16:35 UTC
If I log out of the remote desktop connection, then SqueezeCenter is installed without the squeezetray error.
Comment 13 Michael Herger 2009-04-14 05:12:32 UTC
Thanks for the feedback, Sue. I'll probably add a check to kill a process if it doesn't quit as expected.
Comment 14 Michael Herger 2009-05-01 13:08:59 UTC
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.
Comment 15 James Richardson 2009-10-05 14:35:53 UTC
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.