[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 26 Feb 2010 19:52:51 +0100

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>

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2452674
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-26 19:53:00 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.