In article <[EMAIL PROTECTED]>,
    EricT-in-Ottawa <[EMAIL PROTECTED]>  writes:

> I'm trying to (using WiX V2) create a directory where the name is supplied
> via CustomAction.  The customaction determines the name and creates a
> property [...]

The reason this doesn't work is that the column data type for the
Directory table isn't Formatted, so properties are not substituted
into the text that is generated for the filename.

You could write an immediate mode custom action that would update the
Directory table with the desired directory name after you've sanitized
the input to validate it as a long and short filename.  Then you
proceed normally and let Windows Installer create the directory with
the associated name.  This would be the most robust way to attack the
problem.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to