Attribute Source of File element has type String, not Formatted, which means you can't do what you want. Take a look at Transitive components to get the results you want: http://msdn.microsoft.com/en-us/library/aa372462(VS.85).aspx
Regards, Alex Shevchuk -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Gonzalez Sent: Monday, August 04, 2008 3:35 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] User Defined File Sources Greetings to all, I have an issue with an installer package that I am trying to create. There are a bunch of files which the installer needs to add to the user's machine, but the directory of where these "source files" are, is going to be a value set by the user in the initial steps of the installation. Is this possible? This is pretty much what I mean... <DirectoryRef Id="APPLICATIONROOTDIRECTORY"> <Component Id="myapplication.exe" Guid="PUT-GUID-HERE<mk:@MSITStore:C:\Program%20Files%20(x86)\Windows%20Installer%20XML%20v3\doc\WiX.chm::/html/generate_guids.htm>"> <File Source="MySourceFiles\MyApplication.exe" KeyPath="yes" Checksum="yes"/> </Component> <Component Id="documentation.html" Guid="PUT-GUID-HERE<mk:@MSITStore:C:\Program%20Files%20(x86)\Windows%20Installer%20XML%20v3\doc\WiX.chm::/html/generate_guids.htm>"> <File Source="MySourceFiles\documentation.html" KeyPath="yes"/> </Component> </DirectoryRef> Can I substitute the "MySourceFiles" part with a directory value entered by the user before beginning the installation process... can this be done? -David Gonzalez ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users