Re: [WiX-users] detect schedule reboot

2008-10-21 Thread Paul Elsner
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... Alexand

Re: [WiX-users] detect schedule reboot

2008-10-20 Thread Alexander Shevchuk
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: [W