尝试在 WSUS Package Publisher 中查找 Java 8 Update 25 的 MSI 产品代码

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26527102/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-02 10:05:14  来源:igfitidea点击:

Trying to find the MSI product code for Java 8 Update 25 in to work with WSUS Package Publisher

javawindows-installermsiexecwindows-server-2012-r2windows-users

提问by Glympse

I'm trying to create a 3rd party custom update through WSUS Package Publisher however I can't manage to get the MSI code for Java as there is no MSI installer to use MSIReader on. If anyone knows how I can find this code then it would be much appreciated. It's managing to make me look bad as a Sys Admin at work.

我正在尝试通过 WSUS Package Publisher 创建 3rd 方自定义更新,但是我无法获得 Java 的 MSI 代码,因为没有 MSI 安装程序可以使用 MSIReader。如果有人知道我如何找到此代码,那么将不胜感激。作为工作中的系统管理员,它设法让我看起来很糟糕。

Cheers, Glympse.

干杯,Glympse。

回答by DCourtel

Two solutions :

两种解决方案:

  • Install the product and search in : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
  • Or to be aware that Oracle always used the same schema for these MSI Product code
  • 安装产品并在以下位置搜索:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
  • 或者要注意,Oracle 始终对这些 MSI 产品代码使用相同的架构

Java 8 : 26a24ae4-039d-4ca4-87b4-2f83218025f0 = 32 Bit - Java 8u25

Java 8:26a24ae4-039d-4ca4-87b4-2f8 321 80 25f0 = 32 位 - Java 8u25

Java 7 : 26A24AE4-039D-4CA4-87B4-2F83217045FF = 32 Bit - Java 7u45

Java 7:26A24AE4-039D-4CA4-87B4-2F8 321 70 45FF = 32 位 - Java 7u45

回答by Haze

I think the easiest way is to run

我认为最简单的方法是跑步

Get-WmiObject Win32_Product

Which will return e.g.

哪个会返回例如

IdentifyingNumber : {26A24AE4-039D-4CA4-87B4-2F64180121F0}
Name              : Java 8 Update 121 (64-bit)
Vendor            : Oracle Corporation
Version           : 8.0.1210.13
Caption           : Java 8 Update 121 (64-bit)

回答by Glympse

Ah!

啊!

Never mind I found the answer myself. I installed the version I wanted to publish on a laptop then searched "ModifyPath" in the registry until I found the correct software in this case Java 8 update 25. Hope this helps if anyone else has this problem.

没关系,我自己找到了答案。我在笔记本电脑上安装了我想发布的版本,然后在注册表中搜索“ModifyPath”,直到我在这种情况下找到正确的软件 Java 8 update 25。如果其他人遇到这个问题,希望这会有所帮助。

FYI the following are the 64 ans 32 bit MSI codes for Java 8 update 25

仅供参考,以下是 Java 8 update 25 的 64 ans 32 位 MSI 代码

32 BIT - 26a24ae4-039d-4ca4-87b4-2f83218025f0

32 位 - 26a24ae4-039d-4ca4-87b4-2f83218025f0

64 BIT - 26a24ae4-039d-4ca4-87b4-2f86418025f0

64 位 - 26a24ae4-039d-4ca4-87b4-2f86418025f0

Cheers, Glympse.

干杯,Glympse。