Dear All, I hope you are fine and doing well.
I have sent this problem to the mailing list some times before and haven't Received any acceptable answers yet. I have a software which needs to be installed in a path which does not Contain any space in it. (I.e. "C:\Program Files\" is not acceptable. C:\Programs\Software\" is a good path ). Please do not ask me to change my software!!! I have added a dialog ("PathConditionDlg") to the wxs file to pop up when The user selects a path which contain space. This dialog informs the user of the condition, and has a return button. Now, Do I need to modify the "InstallDirDlg" and create a "MyInstallDirDlg" Which has a good condition to popup the "MyCancelDlg" when Next button is Pressed and put it in the Sequence instead of "InstallDirDlg"? Or do I need to only add a publish element for the default "InstallDirDlg"? ------------------------------------------- This is the line I added once: <Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value= PathConditionDlg"><![CDATA[WIXUI_INSTALLDIR >< ' ']]></publish> ------------------------------------------ I tried both types, but couldn't get the answer. Two other questions: First, isn't the publish overlapping the other publish to progress to VerifyReadyDlg"? Second, it seems that the condition checks the phrase "WIXUI_INSTALLDIR" and Not the value of it. Can anybody help me about this? Thank you in advance, Riyaz ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users