Thanks for the answer, but it dosn't work.
I used MsiGetMode(hInstaller, MSIRUNMODE_REBOOTATEND); but it is allways 
false. Also when after the installation the messagebox for restart appear.
I call my custom action deffered before InstallFiles and before 
InstallFinalize. Both the same...

Alexander Shevchuk wrote:
> You can either call MsiGetMode/Session.Mode from custom action or, if you are 
> using MSI version 4.0, use MsiSystemRebootPending property.
>
>
>
> -----Original Message-----
> From: Paul Elsner [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 20, 2008 5:45 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] detect schedule reboot
>
> Hi, I'm new at the list and I have a question.
>
> How can I dectect if the msi will schedule an reboot after installation?
> I want to set an registry key in such a case. In my special case the
> FileInUse dialoge cannot be used.
>
> Thanks.
>
> -------------------------------------------------------------------------
> 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
>   


-------------------------------------------------------------------------
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