http://bugs.winehq.org/show_bug.cgi?id=28393
Summary: WiX light can't find files in deeply-nested directories Product: Wine Version: 1.3.28 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: sam@robots.org.uk
Created an attachment (id=36407) --> (http://bugs.winehq.org/attachment.cgi?id=36407) depth.tar
The attached test case fails to run under Wine with the following error:
Z:\home\sam\src\wix-test\depth\A.wxs(8) : error LGHT0103 : The system cannot find the file 'Z:\home\sam\src\wix-test\depth\A\AOL\Aachen\Aaliyah\Aaron\Abbas\Abbasid\Abbott\Abby\Abdul\Abe\Abel\Abelard\Abelson\Aberdeen\Abernathy\Abidjan\Abigail\Abilene\Abner\Abraham\Abram\Abrams\Absalom\Abuja\Abyssinia\readme.txt'.
This happens with both Mono 2.10.5 and Microsoft .NET 2.0. Unpack the test case and run 'make' and it should create a fresh WINEPREFIX in which it will install the test pre-requisites before running the test itself.
On a Windows 7 machine, light is able to correctly build B.msi.
http://bugs.winehq.org/show_bug.cgi?id=28393
--- Comment #1 from Sam Morris sam@robots.org.uk 2011-09-15 07:33:22 CDT --- Created an attachment (id=36408) --> (http://bugs.winehq.org/attachment.cgi?id=36408) +file,+msi,+msidb log
I'm guessing which debug channels to use here... nothing particularly useful springs to mind.
http://bugs.winehq.org/show_bug.cgi?id=28393
Sam Morris sam@robots.org.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=28393
Sam Morris sam@robots.org.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
https://bugs.winehq.org/show_bug.cgi?id=28393
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Confirming in wine 1.7.17.
The Makefile has a problem to download Wix3.msi, it needs to be done manually: http://wix.codeplex.com/downloads/get/119160
483ecddf7e871ce5a2a41706f2dd5ac708d4dc81 Wix3.msi 16Mb
https://bugs.winehq.org/show_bug.cgi?id=28393
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #3 from super_man@post.com --- (In reply to Bruno Jesus from comment #2)
Confirming in wine 1.7.17.
The Makefile has a problem to download Wix3.msi, it needs to be done manually: http://wix.codeplex.com/downloads/get/119160
483ecddf7e871ce5a2a41706f2dd5ac708d4dc81 Wix3.msi 16Mb
Still seems to be the problem.
wine 1.7.55
https://bugs.winehq.org/show_bug.cgi?id=28393
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|WiX light can't find files |WiX Toolset v3.x: light.exe |in deeply-nested |can't find files in |directories |deeply-nested directories URL| |https://web.archive.org/web | |/20210315120534/https://raw | |.githubusercontent.com/Casa | |DeRobison/wixtoolset-codepl | |ex/master/archived-stable-v | |ersions/WiX%20Toolset%20v3. | |0%20Stable/Wix3.msi CC| |focht@gmx.net Status|NEW |NEEDINFO
https://bugs.winehq.org/show_bug.cgi?id=28393
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #4 from Damjan Jovanovic damjan.jov@gmail.com --- On Wine > 6.10, the testcase works with wine-mono 6.2.0, but fails with dotnet20.
https://bugs.winehq.org/show_bug.cgi?id=28393
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Damjan Jovanovic damjan.jov@gmail.com --- Basically if the absolute path length to readme.txt (Z:\path\to\wineprefix\then\path\to\readme.txt) is 260 (MAX_PATH) characters or more, dotnet20 fails somewhere and causes this problem.
Exactly the same happens on Windows: a long base path giving an absolute path length of 256 characters works, but an absolute path length of 267 characters gives the same error.
'Z:\home\sam\src\wix-test\depth\A\AOL\Aachen\Aaliyah\Aaron\Abbas\Abbasid\Abbott\Abby\Abdul\Abe\Abel\Abelard\Abelson\Aberdeen\Abernathy\Abidjan\Abigail\Abilene\Abner\Abraham\Abram\Abrams\Absalom\Abuja\Abyssinia\readme.txt' is only 219 characters long, so assuming that was the real path used (and not something the OP trimmed it to), maybe there was another path length problem when this bug was reported, that has been fixed since. If so this should be RESOLVED FIXED. If not, it should be RESOLVED INVALID.
Given confirmation by 2 other users in 2014 and 2015, I'll assume that paths < 260 characters long (eg. 219 in the OP's case) were a problem back then, and no longer are. So resolving FIXED. Thank you for your bug report :).
https://bugs.winehq.org/show_bug.cgi?id=28393
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.12.