title: WiX Shell Command Conditional Installation
body: <p>I'm new to WiX (and Windows development in general), and I'd like to add logic to my installer that will cause the installation to fail with a friendly error if the shell command fails. I've seen the <a href="http://wixtoolset.org/documentation/manual/v3/customactions/shellexec.html" rel="nofollow">ShellExecute CustomAction</a> and instructions for <a href="http://wix.tramontana.co.hu/tutorial/getting-started/conditional-installation" rel="nofollow">Conditional Installation</a>, but I'm not sure how to tie these together.</p>