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

RE: Re: Painfull TortoiseSVN reinstall

From: Tomasz Trejderowski <tomasz_at_trejderowski.pl>
Date: Mon, 19 Nov 2012 10:36:18 -0800 (PST)

Hi,

appologies for late reply.

> All those applications load the TSVN shell extension dll via the shell
> dlls, so they have the TSVN dll loaded and therefore must be closed.

As explained in previous answer, I know many programs that either uses shell or that updates shell and none of them is so intrusive to the system, when updating.

> Restarting applications is not possible for applications that don't
> implement it:
> http://msdn.microsoft.com/en-us/library/windows/desktop/aa373524.aspx

I'm not Windows developer (any more), but I never heard about such thing, that any program needs to implements any functionality to be restarted. What prevents TSVN from writing all apps, that it is going to shutdown, along with paths to EXE files and after update manually restart them, calling simple ShellExecuteEx or similar API function?

If this is true, what you're writing, then can you name me ANY program, that has this functionality implemented? As even such famous programs like Chrome or Total Commander are not restarted after TSVN update. To be honest, I don't recall ANY program that was ever restarted automatically after TSVN update. All I had to restart manually. Does it means that none known program supports this functionality you're talking about?

> Nope. It doesn't.
> It sends a WM_CLOSE message to the apps. Then after the app doesn't
> exist immediately, it uses the shutdown message. If the app still
> doesn't quit, you get a dialog telling you that not all apps could be
> closed and a restart will be required to finish the installation.

Explained in details in previous answer. AFAIK, when program receives WM_CLOSE, it should display for example a Save dialog for any unsaved docs or it should notify user in any other way, that it is going to be closed. The facts that Netbeans is not displaying any Save dialog, but instead is being immediately closed plus the fact, that Chrome upon restart (manual, as TSVN failed to do so) claims that previously it was closed incorrectly and offers user to restore previous tab set, seems to be a proof that those program are rather killed than closed with WM_CLOSE.

> and btw: it's not TSVN that does this, that's the default behavior of
> the msi installer.

As in previous answer. Can you name any other program, that uses MSI Installer and does such intrusive update? I know fairly large number of programs using MSI and none that behaves similar to TSVN.

> Actually, updating services is much easier than updating shell extensions.

Which does not changes the fact, that I did not answered my question. I wrote a lot of programs myself, including few system-level, and I used far more programs in my entire life and TSVN is the first and only program that uses so hard, bruteforce method of updating itself. Can you name others?

Cheers,
Trejder

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3029456

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-11-19 19:36:23 CET

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