Currently, I have a wix script, contains a component with file source
attribute value:

..\..\..\..\..\..\..\..\..\external\Test\x64\Release\FileOperationProviders\Test\Test\AmberCore.IgmapPlus.PlugIns.ImportExport.ImportESRI.dll


My script is under such a folder:
C:\Perforce\PSEBP4\PlatformSDK\branches\Test\SprintDev\Test\source\Test\develop\Test\TestSetup

And the absolute path of this dll is:
C:\Perforce\PSEBP4\PlatformSDK\external\Test\x64\Release\FileOperationProviders\Test\Test\AmberCore.IgmapPlus.PlugIns.ImportExport.ImportESRI.dll


When I execute Light.exe, it prompts such an error:
light.exe : error LGHT0103 : The system cannot find the file
'..\..\..\..\..\..\..\..\..\external\Test\x64\Release\FileOperationProviders\Test\Test\AmberCore.IgmapPlus.PlugIns.ImportExport.ImportESRI.dll'
with type ''.


I believe, "..\" 9 times should be correct. 
And also, if I use the absolute path for the file source attribute, Light
works fine.


Does anyone know where is the issue here?




BTW, if I modify "AmberCore.IgmapPlus.PlugIns.ImportExport.ImportESRI.dll"
to "AmberCore.ImportESRI.dll", relative path also works.

The issue only happens on some LONG-LENGTH name files.






--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Relative-Path-cause-Light-unable-to-find-source-files-tp7579897.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to