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

[TSVN] Re: Installer weirdness

From: Jens Scheidtmann <Jens.Scheidtmann_at_bayerbbs.com>
Date: 2005-09-02 16:52:19 CEST

Nick Gilbert <nick@x-rm.com> writes:

> Peter Mounce wrote:
>> Nick Gilbert wrote:
>>
[...]
>> I'd speculate that it needs to install the shell extension dll over the
>> top of the old one. Since explorer uses the old one, it has to shut
>> explorer. Since explorer is the parent for all these other processes,
>> it needs to shut those, too.
>
> I'm pretty sure MSI files have an "offline" way of installing files,
> such that they get copied over on the next reboot.
>
> This way you could just install TSVN without quitting anything, and then
> the changes would take effect on the next reboot. This means I could
> upgrade TSVN when I think about it, but not have to close down all my
> work at the same time.
>
>> I don't know that it's possible to schedule the replacement to happen
>> over the course of a reboot, sorry.
>
> It must be - because if you're replacing explorer extensions then these
> files will always be in use.
>

The API is "MoveFileEx". Have a look at:

http://www.sysinternals.com/Utilities/PendMoves.html

Unfortunately, this does not seem to appear in the WiX docs...

Jens

-- 
Jens.Scheidtmann@bayerbbs.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Sep 2 16:52:42 2005

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