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

Re: Windows restart ?

From: Adrian Buehlmann <adrian_at_cadifra.com>
Date: Sat, 20 Feb 2010 13:29:01 +0100

On 20.02.2010 08:06, Stefan Küng wrote:
> On 20.02.2010 02:18, Adrian Buehlmann wrote:
>> On 19.02.2010 23:47, Stefan Küng wrote:
>>> On 19.02.2010 23:34, Ulf Zibis wrote:
>>>
>>>> Thanks for looking and ... agreed!
>>>>
>>>> Does that mean, that TortoiseHG too runs the "old" software until
>>>> Windows is rebootet?
>>>
>>> Yes, exactly. The same as if you cancel the TSVN installation reboot dialog.
>>
>> I was the one who boldly removed the forced reboot on our new TortoiseHg
>> msi installer.
>>
>> Windows 7 terminates explorer.exe and restarts it.
>> Without logout or even reboot. I admit I was keen to have that.
>>
>> But the user can choose a reboot as well, if he prefers:
>> http://cdn.bitbucket.org/abuehl/thg-abuehl/downloads/ValidatingInstall-Windows7-shot1.PNG
>>
>> If a forced reboot is inserted, then that dialog doesn't appear at all.
>
> That's not just on Win7 but on all OS versions.
> But: if there's no explorer window open, msi doesn't recognize that the
> desktop (also an explorer process) has the dll loaded. It also has
> problems recognizing apps that don't appear on the taskbar but e.g. only
> in the sys tray. At least on XP. Haven't tried this on Win7.
> Does this work properly for you on Win7?

Yes it does.

I just tried this:

I copied a TortoiseHg msi ('B') onto the desktop of a Windows 7 Ultimate
x64, running in a virtual machine of VirtualBox, which had a slightly
older build of TortoiseHg msi ('A') preinstalled. The shell extension of
'A' was loaded into explorer, which I knew for sure because I saw the
overlay icons and context menu working as expected (I had done a
logoff/login after installing 'A' on the clean Windows 7).

Then I made sure that no window was open. Not even a window of explorer.exe.

Then I double-clicked the 'B' msi on the desktop to start an upgrade
install (the 'B' msi had a different product id than the 'A' msi, so
doing a major upgrade in Windows Installer terms).

ValidatingInstall then presented the "Files in Use" dialog with an entry
for "Windows Explorer" as usual. And it did shut down and restart explorer.

I haven't been able to test this on Vista yet.

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

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