Why not use a launch Condition ? The functionality is built into Windows Installer and will respect the UI level set by the user. If testing the prerequisite is too complicated to be handled with regSearch/fileSearch/etc, keep the custom action but have it set a property based on the results. Test the property in the condition.
-----Original Message----- From: Deepa Choundappan [mailto:deepa...@gmail.com] Sent: 27 October 2011 02:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Dialog Custom Action always cause installation to fail Hi - We have a Dialog that shows up when a pre req has not been met - the only button on this Dialog is an "Exit" button that then causes the installation to stop when clicked. The problem is in a quiet installation when it looks like this Action is called but exits with a return code of 1. How do I configure this so that everytime this custom action is called - the return code from this action is always set to an error ? -- Thanks ! ----------------------------------------------------------------------------- - The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ 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. ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users