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

Re: TortoiseOverlay merge module questions

From: Adrian Buehlmann <adrian_at_cadifra.com>
Date: Sun, 28 Feb 2010 22:12:01 +0100

On 26.02.2010 19:52, Stefan Küng wrote:
> On 26.02.2010 17:21, Adrian Buehlmann wrote:
>
>> BTW, XP needs a logout/login on upgrade/downgrade install (Vista and Win
>> 7 shutdown and restart explorer).
>
> A suggestion:
> Since XP can't automatically close/restart apps that have files in use,
> the user is presented with a dialog showing all the processes. That's to
> inform the user that (s)he can manually close those apps. But: if you
> search our mailing list you'll discover that many, many users have
> problems with that and don't know what to do at all. That's why we
> deactivated that thing in TSVN and just forced the reboot.
>
> Now, Vista/Win7 have the restart manager and there the msi shows a
> different dialog where the user can just choose to have msi close and
> restart those apps/processes. I hope that won't be such a big problem
> for users.
>
> But: I would suggest that you disable the 'old' dialog which is still
> used on XP and have msi do the reboot instead - after all, how many
> users would know how to 'close' the desktop explorer process?
>
> To disable that dialog, you have to add this to your wix file (extracted
> from the TSVN files):
>
> <Fragment Id="UIFragment">
> <UI Id="UIFrag">
> <!-- Setting the FilesInUse dialog to NoMinimize="yes"
> Modeless="yes" and Hidden="yes" will force its
> attributes to zero. And that will make msi not show the
> dialog for the normal UI sequence but
> simply ignore all files in use. Since we have to do a reboot
> anyway, that's what we want. -->
> <Dialog Id="FilesInUse" Width="370" Height="270"
> Title="[ProductName] [Setup]" NoMinimize="yes" Modeless="yes" Hidden="yes">
> </Dialog>
> </UI>
> </Fragment>

Thanks a lot for the tip. I haven't applied it yet. But maybe it will
prove needed in the future.

Strange thing is: when using our TortoiseHg x64 installer on Windows XP
pro SP2 (I tested on x64), I haven't ever seen any "Files in use" dialog
(or anything similar). I *did* try upgrade installs, and the files were
indeed updated (I checked file version in the properties dialog of our
shell extension, after having done a logout/login).

Whereas on Vista and Windows 7, I do see it -- as already reported ([1]).

Note that for the TortoiseHg installers we just use the UI sequence from
the WixUI library (at least that's my understanding).

[1]
http://cdn.bitbucket.org/abuehl/thg-abuehl/downloads/ValidatingInstall-Windows7-shot1.PNG

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-28 22:13:13 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.