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

半城伤御伤魂 提交于 2020-01-13 07:14:29

问题


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.

Cheers, Glympse.


回答1:


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

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

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




回答2:


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.

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

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

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

Cheers, Glympse.




回答3:


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)


来源:https://stackoverflow.com/questions/26527102/trying-to-find-the-msi-product-code-for-java-8-update-25-in-to-work-with-wsus-pa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!