I am using DIFx to install a driver for a device that gets a firmware update
by a custom action later in the sequence. This updater CA needs the driver to
be installed, so if DIFx schedules a reboot, I would need to find out, issue
a ForceReboot myself and return to my installer after reboot.
Is there a way to detect and cancel the ScheduleReboot that comes from DIFx?
Thanks
doc
"docschnipp" <docsc...@newsgroup.nospam> wrote in message
news:86D70382-2173-462E...@microsoft.com...
Can you try checking the MsiSystemRebootPending Property?
http://msdn.microsoft.com/en-us/library/aa370492(VS.85).aspx
This property is supported starting from Windows Installer 4.0.
Regards,
Jie Wang
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business days is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
> Does it help if you launch the MSI with REBOOT=ReallySuppress?
Haven't tried, I actually want to force it to immediate reboot then and
continue the installer afterwards.
thanks
doc
> Can you try checking the MsiSystemRebootPending Property?
I will try. Installer Services 4.0 are starting with Vista and XP SP3, right?
thanks
doc
Windows Vista has Windows Installer 4.0 by default. For Windows XP SP3, I
think it's version 3.1. But you can always have the latest Windows
Installer setup package as a prerequisite to your setup.
"docschnipp" wrote:
> ""Jie Wang [MSFT]"" wrote:
>
> > Can you try checking the MsiSystemRebootPending Property?
>
DIFx (since elevated) is a deferred action, so unfortunately can not do much
in there. Pretty much of a definition hole.
thanks
doc