I have some DTF custom actions to update files which are not owned by my 
product (e.g. machine.config).  The best practice when updating files during 
installation on Vista+ systems is to integrate with the restart manager to 
detect files in use, otherwise random failures can occur while reading/writing 
(I've actually seen this happen a few times while using my old InstallUtil 
custom actions).

Although it's not required, it would be nice if there were more of an 
"integrated" story within DTF.  I have written the P/Invoke code to do it for 
my custom actions and it's not that bad.  The only methods I needed were 
RmJoinSession, RmRegisterResources, and RmEndSession.  (They don't even need to 
be remoted, since you don't need to talk through the installer session to 
access the restart manager.)

I figure that others could benefit from having this functionality available as 
a first class part of DTF, so maybe we can talk about what this would look like 
in the general case.

######################################
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.".
"{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`;


-----Original Message-----
From: Jason Ginchereau [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2008 10:44 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] DTF and the Restart Manager

No specific plans, but I'm open to the idea. Can you provide more details? For 
what unmanaged APIs would you want to see a managed object model in DTF? In 
what scenarios would you use them?

-Jason-

-----Original Message-----
From: Brian Rogers [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 19, 2008 2:10 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] DTF and the Restart Manager

Are there any plans to add integration with the Restart Manager in DTF?

######################################
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.".
"{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`;



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to