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 (I've also supplied the property on the msiexec command-line, same diff). But I don't know how to specify the LongName and Name fields of the Directory (as well as a shortcut created on the desktop that should have the same visible name as the property) so that the value is taken from the property. I tried <Directory Id='CustomDir' Name='[SHORTDIRECTORY]' LongName='[LONGDIRECTORY]'> <Component Id=...> <CreateFolder/> <Shortcut Id='CustomDirSc' Directory='DesktopFolder' Name='[SHORTDIRECTORY]' LongName='[LONGDIRECTORY]' WorkingDirectory='CustomDir'/> </Component> </Directory> but it actually creates a real folder called [LONGDIRECTORY], with square brackets and all. If anybody could point me at how to specify a directory and Shortcut in the way I need it, I'd be happy! Thanks, Eric T. -- View this message in context: http://www.nabble.com/Create-Directory-with-name-from-Property-tf4957414.html#a14196967 Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------- 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