[Yanel-dev] Problem building binary version for Windows

Michael Wechner michael.wechner at wyona.com
Wed Jan 14 15:33:25 CET 2009


Guillaume Déflache schrieb:
> Gary Jones schrieb:
>> Guillaume Déflache wrote:
>>> It only occurs on Windows because this is a problem with path lengths:
>>> they must not be longer that ~260 characters or so, even on a NTFS
>>> filesystem, at least under Windows 2000 where I tested (it is probably
>>> the same with XP, no idea about Vista).
>>
>> Yes, MAX_PATH is 260 on Windows, but there may be a workaround. See
>> http://msdn.microsoft.com/en-us/library/aa365247.aspx
>
> Thanks for the link!
> However it seems NSIS even in its latest incarnation (2.42) still does 
> not use this improved API.
> I cannot see a way to use the "\\?\[...]" trick either (tried running 
> `makensis "\\?\C:\Dokumente und 
> Einstellungen\sepp\Desktop\yanel-trunk\build\bin-snapshots\wyona-yanel-SNAPSHOT-1.0-dev-r40937-bin-win\install-yanel.nsi" 
>
> ` but it chokes during initialization)
>
> So I guess we have to do with this limitation for the moment! :(

maybe we need to check which files are actually the ones to be 
considered too long and try to reduce the length.

Also a add a not to the instruction to build within a short directory

And also make people aware when creating new files/dirs to be careful 
with the length.

WDYT?

Cheers

Michi
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development



More information about the Yanel-development mailing list