adoptium / adoptium-support

For end-user problems reported with our binary distributions
Apache License 2.0
45 stars 15 forks source link

Error uploading to Endpoint Manager/Intune #594

Open Protinon opened 1 year ago

Protinon commented 1 year ago

Please provide a brief summary of the bug

Our company uses Microsoft Endpoint Manager for pushing software to our clients' computers. EM allows for direct msi uploads (much easier than .exe installers). There is an error when uploading the installers: The selected app package does not appear to have either a ProductCode or ProductVersion.

This occurs with:

I've checked the msi files in Orca, ProductVersion and ProductCode do exist. I can test with EM on my end, and I have a support ticket open with Microsoft. Microsoft has consistently told me to contact you for assistance, even though the issue seems to be on their end.

Please provide steps to reproduce where possible

No response

Expected Results

The software should be uploaded to Endpoint Manager

Actual Results

image

What Java Version are you using?

N/A

What is your operating system and platform?

No response

How did you install Java?

No response

Did it work before?

No

Did you test with other Java versions?

No response

Relevant log output

No response

karianna commented 1 year ago

@gdams - Let's take a quick look at the installer code on Monday.

karianna commented 1 year ago

@Protinon We've also double checked our installer and you are correct that we supply both values. Do you have the MSFT Ticket number or reference? @gdams and I actually happen to work for Microsoft so if you can give us the link we can likely followup internally.

Alternatively please ask the support person to contact openjdk-support AT microsoft DOT com to get hold of us.

Protinon commented 1 year ago

I've just copied your support email on my ticket with MS support. It's case#32718855 on their system.

karianna commented 1 year ago

@Protinon To do double check - what are the various versions of Windows that this package is being pushed to? We understand that a 32-bit installer worked and I'm wondering if our 64-bit installer was being accidentally pushed to a 32-bit machine.

Protinon commented 1 year ago

The issue is not with pushing software to computers, but uploading them to Endpoint Manager. They install on all machines perfectly fine, but I have no way of mass-pushing Adoptium to client computers if the software will not upload to EM.

karianna commented 1 year ago

@Protinon I assume the End Point Manager is running on a 64-bit host or are you using an Azure hosted End Point Manager?

gdams commented 1 year ago

Inspecting the MSI more closely we do seem to have the ProductCode set so not sure why else this would fail:


ProductCode = {F4A0EF62-164A-4E05-AC6F-2AE03D8685B7}
Language = 1033
ProductName = Eclipse Temurin JRE with Hotspot 20+18 (arm64)
PackageCode = {77C118E6-B6F6-4717-B298-FB82B8C4C77E}
AssignmentType = 1
PackageName = OpenJDK-jre_aarch64_windows_hotspot_2022-10-12-03-30.msi
InstalledProductName = Eclipse Temurin JRE with Hotspot 20+18 (arm64)
VersionString = 20.0.0.18
ProductIcon = C:\windows\Installer\{F4A0EF62-164A-4E05-AC6F-2AE03D8685B7}\logo.ico
InstallLocation = C:\Program Files (Arm)\Eclipse Adoptium\jre-20.0.0.18-hotspot\
InstallSource = C:\Users\georg\Downloads\
InstallDate = 20221101
Publisher = Eclipse Adoptium
LocalPackage = C:\windows\Installer\2cc11928.msi
HelpLink = https://github.com/adoptium/adoptium-support/issues/new/choose
URLInfoAbout = https://adoptium.net/support.html
URLUpdateInfo = https://adoptium.net/releases.html
Protinon commented 1 year ago

I have to agree with you, the error message shown isnt helpful in the slightest. It may not even be the actual issue.

I've been wrestling with MS support for a month now, but they are convinced the issue lies with Adoptium.

I was hoping by looping you in, they would realize the issue and maybe ask you try some possible solutions. I heard you joined a meeting with MS support, did anything come from that?

Protinon commented 1 year ago

@Protinon I assume the End Point Manager is running on a 64-bit host or are you using an Azure hosted End Point Manager?

Forgot to respond to this, we are using Endpoint Manager hosted on Microsoft servers. We've never had issues uploading 32/64bit programs before.

karianna commented 1 year ago

In internal MSFT testing it does seem to be an Adoptium installer only issue, we're diffing that and other installers (from say Azul Zulu or Amazon Corretto).

github-actions[bot] commented 1 year ago

We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable. It will be closed soon unless the stale label is removed by a committer, or a new comment is made.

Tonrab commented 1 year ago

has there been any progress on this at all?