Bug 51038 - Error while trying to launch English LibreOffice installer
Summary: Error while trying to launch English LibreOffice installer
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: Installer-Windows
  Show dependency treegraph
 
Reported: 2012-06-13 08:02 UTC by libreoffice
Modified: 2021-03-16 06:37 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description libreoffice 2012-06-13 08:02:07 UTC
Problem description:
Error while trying to launch English LibreOffice installer

Steps to reproduce:
1. Install Windows 7 English with Russian regional settings.
2. Run msiexec /i LibO_3.5.4_Win_x86_install_multi.msi TRANSFORMS=:1033
3. Get the error "Error applying transforms.  Verify that the specified transform paths are valid".

Expected behavior:
Installer runs in English language.

Platform:
Windows 7.
Comment 1 libreoffice 2012-06-13 09:28:37 UTC
I have forgotten to mention that

msiexec /i LibO_3.5.3_Win_x86_install_multi.msi TRANSFORMS=:1084
works fine, and

msiexec /i LibO_3.5.3_Win_x86_install_multi.msi TRANSFORMS=:1049
fails with the same error.
Comment 2 Andras Timar 2012-06-14 13:58:57 UTC
There is no :1033 (a.k.a. en-US) transform, because the original MSI is en-US. However, when I tried :2057 (en-GB) or :7177 (en-ZA) under Russian regional settings, I got Russian installer, not English. While it does not make much sense to run run :1049 (ru) under Russian regional settings, it is unexpexted, that we get an error message. Interesting bug, but I doubt we can fix it.
Comment 3 libreoffice 2012-06-15 06:37:54 UTC
So, is it possible to install English version and use English installer without changing regional settings to English?
Comment 4 tommy27 2014-12-13 09:22:31 UTC
never confirmed by QA. I change status from NEW to NEEDINFO.
please tell if this issue is still present with current LibO 4.3.4.1 installer.
Comment 5 Witold Rakoczy 2015-05-12 20:31:44 UTC
(In reply to tommy27 from comment #4)
> please tell if this issue is still present with current LibO 4.3.4.1
> installer.

Still present with LO 4.4.3.2.
Encountered during install in OS environment set to pl_PL locale.
Comment 6 QA Administrators 2015-12-27 20:30:56 UTC Comment hidden (obsolete)
Comment 7 Teemu Mannermaa (:wicked) 2016-01-02 10:16:21 UTC
Error still happens with 5.0.4 installer so can't force en-us installer UI.

Would be nice if the installer could just follow the set UI language or even system locale and not use location/input layout/region format/whatever like it seems to do now.
Comment 8 Buovjaga 2016-01-04 11:36:28 UTC
Seems we have enough confirmations, so setting to NEW.
Comment 9 Witold Rakoczy 2016-07-24 16:19:45 UTC
(In reply to libreoffice from comment #0)
> Problem description:
> Error while trying to launch English LibreOffice installer
> 
> Steps to reproduce:
> 1. Install Windows 7 English with Russian regional settings.
> 2. Run msiexec /i LibO_3.5.4_Win_x86_install_multi.msi TRANSFORMS=:1033
> 3. Get the error "Error applying transforms.  Verify that the specified
> transform paths are valid".
> 
> Expected behavior:
> Installer runs in English language.
> 
> Platform:
> Windows 7.

Bug still present in LibreOffice_5.1.4.

BTW Is it really impossible to add an option for selecting installer interface language?
Comment 10 Witold Rakoczy 2016-07-24 16:35:14 UTC Comment hidden (off-topic)
Comment 11 Buovjaga 2016-07-24 16:51:28 UTC Comment hidden (off-topic)
Comment 12 Witold Rakoczy 2016-07-30 03:14:19 UTC Comment hidden (off-topic)
Comment 13 Buovjaga 2016-07-30 07:40:32 UTC Comment hidden (off-topic)
Comment 14 Witold Rakoczy 2016-09-10 19:03:03 UTC Comment hidden (off-topic)
Comment 15 Buovjaga 2016-09-12 17:11:22 UTC Comment hidden (off-topic)
Comment 16 Xisco Faulí 2017-09-29 08:48:38 UTC Comment hidden (obsolete)
Comment 17 Mike Kaganski 2019-03-16 12:30:42 UTC
The proper way to define installer UI from command line is use ProductLanguage property [1]. It automatically selects the built-in language transform (or base en-US UI, if needed).

> msiexec /i LibreOffice_X.Y.Z_Win_x64.msi ProductLanguage=1033

where 1033 is for en-US; the value is decimal LCID number [2]. Note that the [MS-LCID] document lists the IDs in hexadecimal, e.g. 0x0409 for en-US.

[1] https://docs.microsoft.com/en-us/windows/desktop/Msi/productlanguage
[2] https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c
Comment 18 QA Administrators 2021-03-16 04:29:28 UTC Comment hidden (obsolete)
Comment 19 Mike Kaganski 2021-03-16 06:37:47 UTC
As explained in comment 2, there is no en-US transform in the installer (which is authored as en-US), and comment 17 describes the correct way to launch installer in *any* available language (including en-US and those that are available as transforms).

Just tested that 'msiexec /i D:\Downloads\LibreOffice_7.1.1.2_Win_x64.msi TRANSFORMS=:1049' works fine with version 7.1.1.2; so that part of comment 1 (which was not the issue discussed in this report) is WORKSFORME.

Closing this as NOTABUG.