当我尝试使用 NT Authority\System 帐户在 Windows 7 x64 系统上安装 jre-6u30-windows-i586.exe 时,我收到 1619 错误(http://msdn.microsoft.com/en-us/library/windows/desktop/ms681385(v=vs.85).aspx)返回到启动过程。 我已经使用 SCCM 和 PSEXEC -S 运行了安装,两种方式都返回相同的错误。
Command line used: jre-6u30-windows-i586.exe /s /v "/qn /norestart /lvx C:tempJRE630.log ADDLOCAL=ALL IEXPLORER=1 REBOOT=Suppress JAVAUPDATE=0 INSTALLDIR=c:Program Files (x86)Javajre6" SOURCEDIR="C:tempAppDataLocalLowSunJavajre1.6.0_30""
启用详细日志记录时,我看到以下内容:
=== Verbose logging started: 5/16/2012 21:09:52 Build type: SHIP UNICODE 5.00.7601.00 Calling process: C:WindowsSysWOW64msiexec.exe ===
MSI (c) (D0:A4) [21:09:52:691]: Resetting cached policy values
MSI (c) (D0:A4) [21:09:52:691]: Machine policy value 'Debug' is 0
MSI (c) (D0:A4) [21:09:52:691]: ******* RunEngine:
******* Product: C:Windowssystem32configsystemprofileAppDataLocalLowSunJavajre1.6.0_30jre1.6.0_30.msi ******* CommandLine: **********
MSI (c) (D0:A4) [21:09:52:691]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (D0:A4) [21:09:52:691]: Grabbed execution mutex.
MSI (c) (D0:A4) [21:09:52:706]: Cloaking enabled.
MSI (c) (D0:A4) [21:09:52:706]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (D0:A4) [21:09:52:722]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (38:04) [21:09:52:722]: Running installation inside multi-package transaction C:Windowssystem32configsystemprofileAppDataLocalLowSunJavajre1.6.0_30jre1.6.0_30.msi
MSI (s) (38:04) [21:09:52:722]: Grabbed execution mutex.
MSI (s) (38:64) [21:09:52:737]: Resetting cached policy values
MSI (s) (38:64) [21:09:52:737]: Machine policy value 'Debug' is 0
MSI (s) (38:64) [21:09:52:737]: ******* RunEngine:
******* Product: C:Windowssystem32configsystemprofileAppDataLocalLowSunJavajre1.6.0_30jre1.6.0_30.msi
******* Action:
******* CommandLine: **********
MSI (s) (38:64) [21:09:52:737]: Note: 1: 2203 2: C:Windowssystem32configsystemprofileAppDataLocalLowSunJavajre1.6.0_30jre1.6.0_30.msi 3: -2147287037
MSI (s) (38:64) [21:09:52:737]: MainEngineThread is returning 3
MSI (s) (38:04) [21:09:52:737]: User policy value 'DisableRollback' is 0
MSI (s) (38:04) [21:09:52:737]: Machine policy value 'DisableRollback' is 0
MSI (s) (38:04) [21:09:52:737]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (38:04) [21:09:52:737]: Note: 1: 1402 2: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionInstallerRollbackScripts 3: 2
MSI (s) (38:04) [21:09:52:737]: Note: 1: 1402 2: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionInstallerRollbackScripts 3: 2
MSI (s) (38:04) [21:09:52:737]: Note: 1: 1402 2: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionInstallerInProgress 3: 2
MSI (s) (38:04) [21:09:52:737]: Note: 1: 1402 2: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionInstallerInProgress 3: 2
MSI (s) (38:04) [21:09:52:737]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (38:04) [21:09:52:737]: Restoring environment variables
MSI (c) (D0:A4) [21:09:52:737]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (D0:A4) [21:09:52:737]: MainEngineThread is returning 3
=== Verbose logging stopped: 5/16/2012 21:09:52 ===
这看起来像是它试图将MSI提取到"C:\Windows\system32\config\systemprofile\AppData\LocalLow\Sun\Java\jre1.6.0_30",但它无法从可执行文件中额外提取MSI,因此安装失败。 有什么方法可以让它工作吗?
提前感谢,
基思
是的,您可以通过提前创建必要的目录,然后将 64 位配置文件的交接点添加到 32 位配置文件来使其正常工作,如下所示:
mklink /J c:windowssystem32configsystemprofileAppDataLocalLowSunJavajre1.6.0_30 c:windowssyswow64configsystemprofileAppDataLocalLowSunJavajre1.6.0_30
更多细节可以在我的博客上找到 这里.
(顺便说一句,如果你把这个问题标记为"窗口",我会更早地回答它!
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6995830
这是一个已知问题。 包解压缩到 syswow64 文件夹,但在 system32 文件夹中查找新创建的 msi。
显然,当他们说"i586"时,他们的意思是它只安装在 32 位操作系统/系统上。