I can't suggest about @Source length since I have no idea if there are
any limitations, but have you tried (as a workaround) choosing another
way of specify source for files, known as implicit, when the final
source is constructed out of the parent directories?

For more information take a look at Bob's article
http://www.joyofsetup.com/2009/01/01/choosing-your-payloads/ or the
appropriate topic in WiX.chm called "Specifying source files".

Hope this helps,

-- Yan


-----Original Message-----
From: Grigory Konovalov [mailto:grigory.konova...@confirmit.com] 
Sent: Friday, December 11, 2009 12:21
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Length of Source parameter

Hi, all!

I have an error with this code:
<Component Id='ComponentTest_Key.xxx'
Guid='{12345678-1234-1234-1234-123456789012}' Feature='TestFeature'
Win64='yes'>
<File Id='Test_Key.xxx' Name='Key.xxx'
Source='..\..\assemblies\TestConsole\app.publish\Application
Files\MyProgramTestConsole_15_0_1_0\MyProgramCatiConsole_15_0_0_0\MyProg
ramCatiConsole_15_0_1_0\MyProgram12\Key.xxx'/>
</Component>

Error message:
Error 6 The system cannot find the file
'..\..\assemblies\TestConsole\app.publish\Application
Files\MyProgramTestConsole_15_0_1_0\MyProgramCatiConsole_15_0_0_0\MyProg
ramCatiConsole_15_0_1_0\MyProgram12\Key.xxx' with type ''.     light.exe
0     1     ClientsDeploymentProject

If change "MyProgram12" to "MyProgram1" all will work fine.

Has WIX limit on length of Source parameter?

Can I increase this length?
------------------------------------------------------------------------
------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to