Client version: v2.5.0 rc1
Operating system: Windows 10
OS language: German
Installation path of client: default
ERROR_UNKNOWN_PRODUCT | 1605 | This action is only valid for products that are currently installed.
-- | -- | --
https://docs.microsoft.com/en-us/windows/desktop/msi/error-codes
@dschmidt AFAIK the beta2 MSI didn't contain translations. The rc1 does. Does this play a role? I can't imagine other differences between the MSIs right now
(Can't verify this right now).
well, actually I told the GPO to ignore the client OS' language.
I just ran a full MSI validation via ORCA on both MSI versions and the resulting validation outputs differs, resp. RC1 shows two additional output rows
ICE03 ERROR Bad conditional string; Table: Component, Column: Condition, Key(s): cmpD1DBE0B8AA4878C58F7BD563A6468EFE
ICE61 WARNING This product should remove only older versions of itself. The Maximum version is not less than the current product. (2.5.0.10528 2.5.0.10528)
Maybe this leads to the relevant change(s)? Maybe just the MSI was created in a different/wrong way?
BTW: The passive installation of RC1 according to https://doc.owncloud.org/desktop/latest/installing.html does not work either.
Thanks for your help!
Hey @mreichh,
thanks for your valuable feedback.
There was indeed a slight difference in the way the rc1 was built. Due to a bug in the build scripts the beta msi did not contain the crash reporter, which was added back for rc1. The code path adding the crashreporter which was disabled before contained the bad conditional string shown by ORCA. I just triggered a new daily build that should have it fixed:
https://download.owncloud.com/desktop/daily/ownCloud-2.5.0.10550.10584-daily20180911.msi
(This build has no translations because they take a rather long time to build and I wanted to get out a fresh build to you as quickly as possible, as soon as a new build with translations finishes, I will replace the link)
Please let me know if this fixes your issue. The error code/message in your original report does not look like it is really related, but this is the only real change from beta to rc1 afaict.
If it doesn't fix your issue:
Was beta installation a fresh installation and rc an upgrade?
perfect - the new build works like a charm, even for upgrading the previous beta. Thanks for that!
Superb :)
thank you @mreichh @dschmidt
I have the same problem (error 1605) with the released version ownCloud-2.5.0.10598.msi.
This version shows "Spanish" as language in the GPO.
The daily build, for example https://download.owncloud.com/desktop/daily/ownCloud-2.5.0.10680.10625-daily20180921.msi, installs per GPO without problems. This build shows English as language in the GPO. I don't know why, but it looks like multi-language MSIs can not be installed by GPO. If this ist the root cause, is it possible to provide a single language build to install per GPO?
@ingogoeppert Do you have more info like log output?
I enabled the debug log for the msi installer. I also have to set "Ignore the language", otherwise the GPO/Software is completly ignored on a Windows 8.1 x64 System with German language setting.
Here are the three logfiles I got:
MSI668c.LOG
MSI668e.LOG
MSI668f.LOG
issue also arises with us. Is there a fix?
Idea was to provide a English-only *.MSI. Does this work for you?
actually optional German would be important for us.
How do other projects handle this? Do they build 50+ installers?
well, I'm not familiar with MSI technology in detail so I don't know. For ownCloud-2.5.0.10550.10584-daily20180911.msi German UI worked though.
How do other projects handle this? Do they build 50+ installers?
No. For example Kopano provides a english-only installer for GPO-installation and a multilingual installer for manual installation. This installer works also in a german Windows installation, no need to provide different installers. The software it self is multilingual in all installers.
Do you have sugesstions for filenames?
ownCloud-2.5.1.en-US.msi and ownCloud-2.5.1.MUI.msi?
edit:
After a short discussion with @michaelstingl I go for .en-US. infix for english only and no infix for multilingual user interface msi. Still happy to hear other suggestions tho :-)
https://download.owncloud.com/desktop/daily/ownCloud-2.5.1.10821.10745-daily20181016.msi
https://download.owncloud.com/desktop/daily/ownCloud-2.5.1.10821.10745-daily20181016.en-US.msi
https://download.owncloud.com/desktop/daily/ownCloud-2.6.0.10820.10744-daily20181016.msi
https://download.owncloud.com/desktop/daily/ownCloud-2.6.0.10820.10743-daily20181016.en-US.msi
Testet with https://download.owncloud.com/desktop/daily/ownCloud-2.5.1.10821.10745-daily20181016.en-US.msi. Works in our environment as expected :+1:
=== Tested by looking at the download mirrors
yesterday the daily build generated both daily20181016.msi and daily20181016.en-US.msi
today only daily-20181017.en-US.msi was generated.
Fixed the client daily job to include BUILD_WIN32_MSI_TRANSLATIONS=true
trigggered a client daily without manual help, this generated both msi flavours for 2.5
-> GOOD
pfff...
FTR: that's because dailies had no translations enabled. That's also why daily builds could be installed via GPO before already.
You enabled msi translations in dailies now and we should see both msis being built again.
(What I posted yesterday was triggered manually with translations enabled)
actually optional German would be important for us.
@mreichh Could you elaborate on your use case for a German-only MSI installer? Your non-English-speaking end users should never see/use the English-only MSI installer with automated GPO deployment. The client itself is always multi-language, also in the English-only MSI installer.
sorry for replying so sluggishly, just havent found time to test the new builds till now!
For GPO deployment https://download.owncloud.com/desktop/stable/ownCloud-2.5.3.11470.11300.en-US.msi now works like a charme, though the German MSI https://download.owncloud.com/desktop/stable/ownCloud-2.5.3.11470.11300.msi still does not. For me going with the English version is completely ok as after installation the Owncloud UI is in German resp. adapts to German OS environment.
Maybe I didn't really get the difference between both MSIs. Is it just the installer language? If so I think this really does not matter with regards to the silent GPO-based installation. Anyway, I'm now really fine with https://download.owncloud.com/desktop/stable/ownCloud-2.5.3.11470.11300.en-US.msi, many thanks for that!
Is it just the installer language?
@mreichh Yes, only the installer is EN-only. And in automated deployments, users will never have to read inside the *.MSI.
@michaelstingl @dschmidt Can we have a better name for the en-US MSI? something with "GPO" without "en-US"?
I have no strong opinion. @guruz suggestions?
Most helpful comment
No. For example Kopano provides a english-only installer for GPO-installation and a multilingual installer for manual installation. This installer works also in a german Windows installation, no need to provide different installers. The software it self is multilingual in all installers.