Dear All, 

I hope you are fine and doing well. 

I have decided to add a validation to the "InstallDirDlg" dialog in the
WixUI_INSTALLDIR set. I need to check the install path to ensure there is no
Space in the install path. For that, I have used the tutorial in the "
http://www.dizzymonkeydesign
Com/blog/misc/adding-and-customizing-dlgs-in-wix-3/ " to overwrite the
Dialogs, but I still have some problems. 

First, I cannot use the spawnDialog for the "NEXT" push button. I have both
overwritten the "InstallDirDlg" and used different publish elements, but it
does not work for the button. It seems the <Publish Dialog="MyInstallDirDlg"
Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="2
>1</Publish> does not let the spawnDialog to work.

Second problem is that, I managed to show the dialog by using it instead of
the "cancelDlg" (for some kind of test), but when I change the condition
from "1" to my desired condition, it doesn't work. My condition is that
there must be no space in the install path. As http://msdn.microsoft
com/en-us/library/aa368012.aspx explains, the >< operator checks the left
string for the right string and returns true. 'String >< " "' must check the
String for the space and return true if there is any space in it. But it
doesn't work for me. Maybe I don't use a proper variable as the install path
 Shouldn't I use "WIXUI_INSTALLDIR" ?



Also I may be using the wrong controls for having the publish. For which
control should I have the condition check? Is it possible to have it for the
next button?



I'd be thankful for each kind of suggestion, guidance and recommendation. 



Thank you very much for the help,

Riyaz

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to