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

Re: [TSVN] Refresh bug in 1.1.3 beta?

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-01-19 20:50:14 CET

Will Dean wrote:
> At 20:31 19/01/2005 +0100, you wrote:
>
>> Would be nice to have. But how would you get the version the explorer
>> has loaded? If you open another instance of the explorer, the new
>> version is loaded.
>
>
> Is that right? I *thought* (though I haven't investigated in detail)
> that the
> file would have been installed with SetupInstallFileEx, which I thought
> queued files which can't be overwritten until a reboot occurs.

Depends on the OS: on XP, the file is replaced immediately.

> Maybe it does something else (you can do rename tricks on later Windows
> versions).

Exactly. That's what the msi installer does. That way, reboots can be
reduced a lot (even if a program is still running, the update works.
Once the program exits and is started new the new version is there, and
other programs using the dll have the new version immediately).

>> If you query for the shell extension itself, you'll also get the new
>> version.
>> Maybe with a windows message sent from TortoiseProc and answered by
>> the shell extension? Would that work?
>
> I think if you're right and the DLL has actually been replaced before a
> reboot, then it would be very difficult to implement this feature reliably.

That's what I was thinking. Maybe there is a way, but I don't know how
right now. I'll think about it and when I find a way, we can implement
it then...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jan 19 20:50:47 2005

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