John

Apologies from stating the obvious but why not just remove the option to 
run after install altogether.

That way, it does not matter if a reboot is required or not.

Chris

On 01/25/2011 02:43 PM, John Lalande wrote:
> Is there some way to run my custom action in the UI sequence just
> before the exit dialog is displayed?
>
> Or perhaps I am doing this completely wrong and there is another, more
> logical approach?
>
> Date: Tue, 25 Jan 2011 09:53:23 -0800
> From: Blair<os...@live.com>
> Subject: Re: [WiX-users] suppressing start on exit
> To: "'General discussion for Windows Installer XML toolset.'"
>         <wix-users@lists.sourceforge.net>
> Message-ID:<blu111-ds11371dcb372ebfab86e221cd...@phx.gbl>
> Content-Type: text/plain; charset="us-ascii"
>
> Properties set in the Execute sequence are not reflected back into the UI
> sequence.
>
> -----Original Message-----
> From: John Lalande [mailto:johnlala...@gmail.com]
> Sent: Tuesday, January 25, 2011 8:13 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] suppressing start on exit
>
> My installer has a check box on the final panel that starts the
> application when the Finish button is clicked.  However, I would like
> this option to not be available if there is a reboot scheduled.
>
> I have a custom action that sets a property named "PENDINGREBOOT" to
> '1' and conditions on the check-box show action that suppress the
> check box and value accordingly.  I have confirmed this works by
> explicitly setting PENDINGREBOOT to '1'.
>
> However, with my custom action scheduled in the
> InstallExecuteSequence, the installation log shows that PENDINGREBOOT
> is being set to '1', but my condition is not hiding the check box.
>
> When I view the log using the Windows Installer Verbose Log Analyzer
> (wilogutil.exe), it shows my property PENDINGREBOOT in the Server
> properties tab but not Client.
>
> Do I need to do something special I need to do to use my property in a
> dialog when it is set in the InstallExecuteSequence?  Or should this
> just work?
>
> John
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to