To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=74224 Issue #|74224 Summary|Try harder to avoid using too long pathnames when buil |ding a multi-language installer Component|tools Version|OOo 2.1 Platform|PC URL| OS/Version|Windows, all Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|solenv Assigned to|hjs Reported by|tml
------- Additional comments from [EMAIL PROTECTED] Tue Feb 6 13:57:01 +0000 2007 ------- When building the Windows Installer installer, the Perl code uses the language string that contains the language(s) of the installer in various places as part of pathnames for temporary files used while building the installer. For single-language installers this is mostly not a problem (although, see issue #59187). But for multi-language installers we can then get extremely long pathnames like c:/src/trunk/build/OOE680_m6/instsetoo_native/wntmsci10.pro/OpenOffice/msi/logging/en-US_ar_bg_ca_cs_da_de_el_es_et_fi_fr_he_hu_it_lt_lv_nb_nl_pl_pt-BR_pt_ru_sk_sl_sv_tr/log_OOE680__en-US_ar_bg_ca_cs_da_de_el_es_et_fi_fr_he_hu_it_lt_lv_nb_nl_pl_pt-BR_pt_ru_sk_sl_sv_tr.log which is much longer than the Win32 limit of (only) 260 characters. (If Cygwin would use the wide character API and the \\?\ prefix for pathnames it passes to Win32 the limit would be much higher. But it doesn't.) In the place in the Perl code where the log file name is produced, instead of the full language string its md5sum (which is just 32 characters) is used if the language string is longer than an (arbitrary?) limit of 120 characters. The attached patch makes the code do this already if the language string is longer than 32. I also add code to do the same in create_directories, which affects for instance the name of the folder under instsetoo_native/wntmsci10.pro/OpenOffice/msi/install where the installer is produced, and the temporary folders where zip files are unzipped and whose paths end up in ddf files, which have a limit of 256 characters line length. (FYI, the Novell Edition of OOo 2.1 is distributed as a multi-lingual installer with 26 languages in addition to en-US.) --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
