Bug 635 - Uninstalling while Workrave is running requires a reboot
Status:
NEW
Component:
Build-Env
Version:
1.8.4
Hardware:
PC Windows XP
Importance:
P4 normal
Target Milestone:
---
Assignee:
Ray Satiro
URL:
Depends on:
Blocks:
Reported:
May 11 2007 07:18:59 UTC
by:
Matt Kraai
Modified:
Sep 21 2007 15:35:52 UTC
CC List:
Ray Satiro
WhoWhenWhatRemovedAdded
Rob CaelersAug 27 2007 14:04:07 UTCpriorityP2P4
Ray SatiroSep 19 2007 23:02:38 UTCccRay Satiro
assigned_toRob CaelersRay Satiro
Description
Matt Kraai  May 11 2007 07:18:59 UTC
If I uninstall Workrave while it is running, the uninstallation program asks to reboot the computer when it finishes.  If Workrave isn't running when I start to uninstall it, it doesn't require the computer to be rebooted.  I think it shouldn't require a reboot just because I happen to be running Workrave when I start to uninstall it.
Comment 1
Joann  Sep 12 2007 04:48:19 UTC
I need to temporarily uninstall Workrave.  However, I have been unable to do so.  Uninstall says the program cannot be uninstalled while running.  I have not been able to find a way to turn off the program.  HELP!
Comment 2
Kees-Jan Dijkzeul  Sep 12 2007 09:19:16 UTC
(In reply to comment #1)
> I have not been able to find a way to turn off the program.  HELP!

Could you please first verify that workrave is indeed running, for example by opening the task manager, and looking for the "workrave" process.

While there, you might want to hit the "end process" button, for a kind of brutal way of terminating workrave.

Alternative ways of terminating workrave include
- Right clicking on the "sheep" icon in the sytem tray, and then selecting "quit" from the menu that pops up.
- Right clicking on the workrave status window, and selecting "quit" from the menu that pops up.

Please let us know if you have any problems following these instructions (though an e-mail to the workrave-user mailinglist might be more apropriate than filing a bug-report ;-)
Comment 3
Ray Satiro  Sep 19 2007 23:02:38 UTC
Workrave requires a reboot to uninstall sometimes. You can uninstall all of Workrave without a reboot but it's tricky.

First you exit Workrave, then you alt+tab through your applications, clicking your mouse on each one of them. The first sign of activity after Workrave is closed (the mouse click) causes an unload of the monitoring DLL from the application it is attached to.

Next you have to disable workrave-applet dll in your taskbar and then unregister it. And you might have to terminate explorer in the process, or it might terminate on its own due to data execution prevention.

So you're better off rebooting I guess. Why are you continually uninstalling Workrave? Are you running nightlies?
Comment 4
Matt Kraai  Sep 20 2007 03:27:07 UTC
(In reply to comment #3)
[snip explanation]

Thanks for the explanation.

> So you're better off rebooting I guess. Why are you continually uninstalling
> Workrave? Are you running nightlies?

I was uninstalling it repeatedly because I was trying to figure out which GTK+ libraries it was compatible with and what install options I should use.  I'm not using the nightlies.
Comment 5
Ray Satiro  Sep 21 2007 05:55:26 UTC
OK. I'd stick with the included GTK. I know, it's weird, that like every gtk app on windows has its own gtk libs.

Personally I use 2.10 when I'm building nightlies.

If you are going to continue testing, I can give you some preferences to set that will prevent the monitor dll from loading. That should make it easier to uninstall without rebooting.
Also in explorer you can disable the toolbar and then do:
regsvr32 /u "c:\program files\workrave\lib\workrave-applet.dll"

Regardless, any information you have on what works and what doesn't would be appreciated.

Thanks,

Ray
Comment 6
Matt Kraai  Sep 21 2007 15:35:52 UTC
(In reply to comment #5)
> If you are going to continue testing, I can give you some preferences to set
> that will prevent the monitor dll from loading. That should make it easier to
> uninstall without rebooting.

That's OK.  I haven't been testing it for a while.

> Regardless, any information you have on what works and what doesn't would be
> appreciated.

The latest packages from

 http://gimp-win.sourceforge.net/stable.html

seem to work, though there are some bugs that I'm not sure the cause of.  I'll report them.