[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug Report: Do not need to restart computer after every installation

From: Thomas Hruska <thruska_at_cubiclesoft.com>
Date: Fri, 08 Feb 2008 07:19:00 -0700

Stefan Küng wrote:
> Nicolas Alvarez wrote:
>> Sean Leonard escribió:
>>> Perhaps it is possible to scan (if you are an administrator at least)
>>> open handles in SYSTEM, LOCALSERVICE and NETWORKSERVICE to the
>>> TortoiseSVN DLLs (if running with admin privileges) at the end of
>>> installation, and I suppose that would be out-of-scope for the
>>> installer code without a lot more engineering effort. But still, I
>>> just used procexp.exe as an administrator and as a non-administrator
>>> to scan for TortoiseSVN DLL handles, and I found no handles to the
>>> DLLs in processes running as SYSTEM or *SERVICE--only as the user in
>>> question. Admittedly, I found several references to comdlg32.dll in
>>> SYSTEM processes--which I can only ascribe to poor engineering--but I
>>> cannot think of any way to actually invoke a common dialog in the
>>> system processes that I found (because they are not set to interact
>>> with the desktop). Fair enough?
>>>
>>
>> Isn't Vista "restart manager" supposed to take care of all this? Of
>> course, that won't help XP users any :)
>
> The Vista restart manager is a feature that applications can use to have
> the OS restart them without loosing data, i.e. close and start again to
> the same state they were before so the user doesn't have to open all the
> documents manually again.
> But if an application doesn't use those restart manager API's, the
> restart manager can't do anything.
>
> Which means from an installer point of view, the restart manager is
> pretty much useless for the next years. Only when most applications make
> use of it, *then* we can have this discussion again.
>
> Stefan

I don't see this as likely to ever happen for three reasons:

1) About 75% of those who write applications that stick an icon in the
system tray (Taskbar Notification Area) don't account for Explorer
restarts. It takes about 10 lines of code to do this simple task and
there are hundreds of code snippets out there already written that
manage the tray icon that include the code but apparently everyone still
wants to roll their own code and see their icons disappear when Explorer
restarts. Programmers either know how to do it but they don't bother or
they just don't know about it. I see this falling into the same
category. Microsoft makes all the various APIs/features of their OSes
_optional_.

2) Since the feature in Vista was not back-ported to other OSes, there
is apparently even less incentive to incorporate it into existing programs.

3) It isn't a very impressive "new application feature" to end-users:
"Under Windows Vista, our application won't require you to reboot upon
installation...eventually!" Product managers like to present new
features in such a way that end-users are impressed. I can't think of a
good way to present this that doesn't sound cheesy, lame, and downright
confusing.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197
*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.
http://www.CubicleSoft.com/MyTaskFocus/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-02-08 15:19:22 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.