Another Wix noob question:

As part of my installation, I need to ask the user to enter the value for
JAVA_HOME (which I default by picking it up from the environment).  If they
change the path, I'd like to validate that the value they provide actually
exists, but I've been unable to find how to do that.  I see DirectorySearch,
but it appears (at least in the WiX book) to take a constant, and I'm
assuming it runs before the user sees anything anyway.  I see validation
references to the CustomAction WixUIValidatePath, but that is only for
WIXUI_INSTALLDIR, and Common.wxs defines that as calling a DLLEntry
'ValidatePath'.

How does one validate a path the user has entered that isn't for the install
directory?  Note that I'm not trying to install anything in this directory,
I just need to record the fact that it is present and valid, and what its
value is.

Any help would be appreciated!
Dave
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to