Is there a way to validate an installation path for a custom property defined by the user ? In WIXUI_Advanced user interface, following statement exists to validate the install path for WIXUI_INSTALLDIR property.
<Publish Dialog="Dialog_Name" Control="InstallScopeNext" Event="SpawnDialog" Value="InvalidDirDlg" Order="9"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
Is there a way to validate other user defined properties that we use to store installation paths as well ? as an example I want to validate my own defined property as following.
<Publish Dialog="Dialog_Name" Control="InstallScopeNext" Event="SpawnDialog" Value="InvalidDirDlg" Order="9"><![CDATA[MYOWN_INSTALLDIRECTORY_VALID<>"1"]]></Publish>
Code examples will be appreciated.