There's a Wix built-in custom action called "WixCheckRebootRequired" that
runs after instalfinalize. An examination of the source code for that might
help you work out how it's done if there are no quick answers on here.
Perhaps the deferred actions set a flag (like a global atom) that's checked
ouside the script execution phase in that CA.

-----Original Message-----
From: Alex Ivanoff [mailto:aivan...@vmware.com] 
Sent: 09 December 2011 16:35
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Scheduling reboot from deferred custom action

MsiSetMode cannot be called from deferred custom action.

-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: Friday, December 09, 2011 10:22
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Scheduling reboot from deferred custom action

Its not quite what you asked but would <ScheduleReboot> or <ForceReboot> 
elements work for you ?
Otherwise use MsiSetMode()
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370390%28v=vs.85%29
.aspx


-----Original Message-----
From: Alex Ivanoff [mailto:aivan...@vmware.com]
Sent: 09 December 2011 16:06
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Scheduling reboot from deferred custom action

Is it possible to schedule a reboot from a deferred custom action?

-----------------------------------------------------------------------------
-
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and 
we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales. 
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 
7DY, UK.


-----------------------------------------------------------------------------
-
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-----------------------------------------------------------------------------
-
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to