It is done in the default InstallDirDlg and support code.  Take a look at that 
code in the Wix source.  That pattern can be used to chain-in whatever custom 
actions you need for validation.  It's kludgy, but that is dictated by the way 
the Windows Installer Service implement UI elements.

--
John Merryweather Cooper
Senior Software Engineer | Enterprise Service Applications | Continuing 
Development
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 
|jocoo...@jackhenry.com



-----Original Message-----
From: Brian Enderle [mailto:bria...@gmail.com] 
Sent: Wednesday, October 22, 2014 8:18 AM
To: WiX Users
Subject: [WiX-users] Return to Dialog Screen on Custom Action Error

I have a Custom Action that checks that a directory path entered by the user is 
valid.  I would like to return to the setup screen which contains the 
'Directory Path' edit box if the path is invalid (ActionResult.Failure).  Can 
this be done?


Brian

If you can't explain it simply, you don't understand it well enough.  - Albert 
Einstein
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to