I need help with this. It started with me trying to update Java & when I tried this is the message I got: "ERROR 1723: There is a problem with this Windows Installer Package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor."
我需要帮助。它从我试图更新Java开始,当我尝试这是我得到的消息:“错误1723:这个Windows安装程序包有一个问题。无法运行此安装所需的DLL。联系你的支持人员或包装供应商。
I've already tried deleting Java 6 update 14, but it won't allow me to, oddly enough I get the same message. What can I do?
我已经尝试删除Java 6更新14,但它不允许我,奇怪的是我得到了相同的消息。我能做什么?
6 个解决方案
#1
1
I guess this should be asked in superuser.com but I don't have enough reputation to move it.
我想这应该在superuser.com上问一下,但是我没有足够的声誉去移动它。
Anyway, the installation package comes as a msi file, correct? If so you can try to run msiexec with log enabled.
不管怎样,安装包是作为msi文件来的,对吗?如果是这样,您可以尝试运行启用日志的msiexec。
Best
请接受我最美好的祝愿,
#2
4
Have a look at this post for additional information about solving this issue.
看看这篇文章了解更多关于解决这个问题的信息。
Update:
Here is the brief summary of the original Problems with Java installation discussion.
下面是对Java安装讨论的最初问题的简要总结。
Sometimes, when you attempt to run the java installer file you receive the message:
有时,当您尝试运行java安装程序文件时,您会收到以下消息:
This software has already been installed on your computer.
Would you like to reinstall it?
When you click Yes to the above question you receive the error:
当您点击以上问题的Yes时,您将收到错误:
This action is only valid for products that are currently installed.
This problem is caused because the Windows Installer information for a previous installation of Java has been removed or damaged, but the related registry keys are still present causing the Java installer to think it is already installed.
这个问题是由于之前Java安装的Windows安装程序信息已经被删除或损坏,但是相关的注册表键仍然存在,导致Java安装程序认为它已经安装。
To fix this issue you should do the following:
要解决这个问题,你应该做以下事情:
- If you are able, uninstall all previous versions of Java in add/remove programs in your control panel.
- 如果您可以,在您的控制面板中卸载所有以前版本的Java在添加/删除程序中。
- Next, you may download the current version of Java It's recommended that you use the offline installer version.
- 接下来,您可以下载当前版本的Java,建议您使用脱机安装程序版本。
- Run the following commands in cmd:
- 在cmd中运行以下命令:
_
_
reg query hklm\software\classes\installer\products /f "java(tm) 6" /s | find "HKEY_LOCAL_MACHINE" > deljava.txt
for /f "tokens=* delims= " %%a in (deljava.txt) do reg delete %%a /f
del deljava.txt
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\JavaSoft\Java Runtime Environment" /f
#3
4
I had the 1723 problem (Windows 7) when attempting to uninstall JRE 6.30. I don't think the version matters for this error. I believe it is caused by having multiple version of Java installed at the same time. When uninstalling one of them it removes some file needed to uninstall the other versions and you are left in a state where you can't reinstall or uninstall the JRE. I used the Microsoft FixIt tool [stand alone download here]. I created the portable fixit and then ran on my local machine. The tool has a list of fixes and you need to find "Fix problems with programs that can't be installed or uninstalled" and click "Run Now". The wizard is self-explanatory and after running will show something similar to this:
我在试图卸载JRE 6.30时遇到了1723问题(Windows 7)。我不认为版本对这个错误很重要。我认为这是由于同时安装了多个版本的Java造成的。当卸载它们中的一个时,它将删除一些需要卸载其他版本的文件,您将处于无法重新安装或卸载JRE的状态。我使用了Microsoft FixIt工具[在这里独立下载]。我创建了便携式修复程序,然后在本地机器上运行。该工具有一个修复列表,您需要找到“无法安装或卸载的程序的修复问题”并单击“立即运行”。向导是自解释的,运行后将显示类似的内容:
Once you see this, double check your control panel that the JRE was actually uninstalled (and attempt to install if desired).
一旦您看到这个,请再次检查您的控制面板JRE实际上已经卸载(如果需要的话,尝试安装)。
#4
1
I had a similar problem on my Windows 7 box where I was trying to uninstall Java and do a clean install of a newer version. Something got messed up and I would get the 1723 error message during the uninstall and attempted reinstall. Here's information about how I was able to fix the problem, and maybe this will help you:
我在Windows 7上遇到了类似的问题,当时我试图卸载Java,并对新版本进行彻底的安装。有些事情搞砸了,在卸载和尝试重新安装期间,我将得到1723的错误消息。以下是我如何解决这个问题的信息,也许这对你有帮助:
Look at the log files for the uninstall/reinstall. On Windows 7 they can be found at c:\users\username\AppData\Local\Temp\
查看卸载/重新安装的日志文件。在Windows 7上,你可以在c:\用户名\AppData\Local\Temp\中找到它们
The java_install.log
didn't show any extra information, but I had several MSI#####
log files that contained error messages about the failed uninstall. The message was: Error 1723.There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action UninstallJRE, entry: MSIUninstallJRE, library: C:\Program Files\Java\jre6\bin\regutils.dll
java_install。logdon没有显示任何额外的信息,但是我有几个MSI##### #日志文件,其中包含关于失败卸载的错误消息。信息是:错误1723。这个Windows安装程序包有一个问题。无法运行此安装所需的DLL。联系你的支持人员或包装供应商。行动UninstallJRE条目:MSIUninstallJRE库:C:\Program Files\Java\jre6\bin\ regutils.dll
There was indeed no regutils.dll
file, and not even the bin
directory was there. So I copied over a regutils.dll
file from another computer, ran the uninstaller, and it worked. Then the new clean install of Java also worked.
确实没有谣言。dll文件,甚至bindirectory都不存在。所以我复制了一个regutils。来自另一台计算机的dll文件,运行卸载程序,并工作。然后,Java的新clean安装也成功了。
So take a look at your logfiles and hopefully that will give you more detailed information about the 1723 error.
所以,看看你的日志文件,希望这会给你更多关于1723错误的详细信息。
#5
0
One way (only way which worked for me - i tried most of the things listed in this post, including MockerTims script) was to search through Windows Registry for Java and then carefully remove anything that seemed to point to the specific JRE version i wanted to remove.
一种方法(唯一适合我的方法——我尝试了本文中列出的大部分内容,包括MockerTims脚本)是在Windows Registry中搜索Java,然后小心地删除任何似乎指向我想要删除的特定JRE版本的内容。
Steps are roughly as such:
步骤大致如下:
-
Hit Windows button and type into the search field "regedit". Pick the result of the search, which is regedit.exe.
点击窗口按钮,输入搜索字段“regedit”。选择搜索结果regedit.exe。
-
Select the top of the tree and hit CTRL + F.
选择树的顶部并按CTRL + F。
-
Type in Java to 'Find what' field and hit enter.
在Java中输入“查找什么”字段并单击enter。
-
Manually go through every found object (hit F3 to proceed to the next item).
手工遍历每个已找到的对象(命中F3进行下一个项目)。
-
If the item is referring to the JRE version you want to remove, then delete the entry. Otherwise leave it be and continue on to the next item.
如果项指向要删除的JRE版本,则删除该条目。否则就留下,继续下一项。
#6
0
I have tried all of the tricks stated above and nothing was able to resolve my problem. Changing the path way, registry being corrupted, few dlls weren't able to be deleted and so on and on... I used Fixit and deleted whatever I saw with the name JAVA. I tried installing GRE/JVM separately, nothing worked what so ever.
我已经尝试了上面提到的所有技巧,但是没有任何方法能够解决我的问题。改变路径,注册表被损坏,很少有dll不能被删除等等。我使用了Fixit,并删除了我看到的JAVA这个名字。我曾尝试分别安装GRE/JVM,但都没有成功。
Solution..
解决方案. .
http://www.java.com/en/download/help/windows_offline_download.xml
http://www.java.com/en/download/help/windows_offline_download.xml
Use offline install of JAVA or some people call it silently install JAVA. This fixed my problem that I couldn't fix in two days. After this I was able to install eclipse without getting any pathway error message, or dll related messages.
使用JAVA的离线安装或一些人称之为静默安装JAVA。这解决了我两天内无法解决的问题。在此之后,我可以安装eclipse,而不需要获得任何路径错误消息或dll相关消息。
#1
1
I guess this should be asked in superuser.com but I don't have enough reputation to move it.
我想这应该在superuser.com上问一下,但是我没有足够的声誉去移动它。
Anyway, the installation package comes as a msi file, correct? If so you can try to run msiexec with log enabled.
不管怎样,安装包是作为msi文件来的,对吗?如果是这样,您可以尝试运行启用日志的msiexec。
Best
请接受我最美好的祝愿,
#2
4
Have a look at this post for additional information about solving this issue.
看看这篇文章了解更多关于解决这个问题的信息。
Update:
Here is the brief summary of the original Problems with Java installation discussion.
下面是对Java安装讨论的最初问题的简要总结。
Sometimes, when you attempt to run the java installer file you receive the message:
有时,当您尝试运行java安装程序文件时,您会收到以下消息:
This software has already been installed on your computer.
Would you like to reinstall it?
When you click Yes to the above question you receive the error:
当您点击以上问题的Yes时,您将收到错误:
This action is only valid for products that are currently installed.
This problem is caused because the Windows Installer information for a previous installation of Java has been removed or damaged, but the related registry keys are still present causing the Java installer to think it is already installed.
这个问题是由于之前Java安装的Windows安装程序信息已经被删除或损坏,但是相关的注册表键仍然存在,导致Java安装程序认为它已经安装。
To fix this issue you should do the following:
要解决这个问题,你应该做以下事情:
- If you are able, uninstall all previous versions of Java in add/remove programs in your control panel.
- 如果您可以,在您的控制面板中卸载所有以前版本的Java在添加/删除程序中。
- Next, you may download the current version of Java It's recommended that you use the offline installer version.
- 接下来,您可以下载当前版本的Java,建议您使用脱机安装程序版本。
- Run the following commands in cmd:
- 在cmd中运行以下命令:
_
_
reg query hklm\software\classes\installer\products /f "java(tm) 6" /s | find "HKEY_LOCAL_MACHINE" > deljava.txt
for /f "tokens=* delims= " %%a in (deljava.txt) do reg delete %%a /f
del deljava.txt
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\JavaSoft\Java Runtime Environment" /f
#3
4
I had the 1723 problem (Windows 7) when attempting to uninstall JRE 6.30. I don't think the version matters for this error. I believe it is caused by having multiple version of Java installed at the same time. When uninstalling one of them it removes some file needed to uninstall the other versions and you are left in a state where you can't reinstall or uninstall the JRE. I used the Microsoft FixIt tool [stand alone download here]. I created the portable fixit and then ran on my local machine. The tool has a list of fixes and you need to find "Fix problems with programs that can't be installed or uninstalled" and click "Run Now". The wizard is self-explanatory and after running will show something similar to this:
我在试图卸载JRE 6.30时遇到了1723问题(Windows 7)。我不认为版本对这个错误很重要。我认为这是由于同时安装了多个版本的Java造成的。当卸载它们中的一个时,它将删除一些需要卸载其他版本的文件,您将处于无法重新安装或卸载JRE的状态。我使用了Microsoft FixIt工具[在这里独立下载]。我创建了便携式修复程序,然后在本地机器上运行。该工具有一个修复列表,您需要找到“无法安装或卸载的程序的修复问题”并单击“立即运行”。向导是自解释的,运行后将显示类似的内容:
Once you see this, double check your control panel that the JRE was actually uninstalled (and attempt to install if desired).
一旦您看到这个,请再次检查您的控制面板JRE实际上已经卸载(如果需要的话,尝试安装)。
#4
1
I had a similar problem on my Windows 7 box where I was trying to uninstall Java and do a clean install of a newer version. Something got messed up and I would get the 1723 error message during the uninstall and attempted reinstall. Here's information about how I was able to fix the problem, and maybe this will help you:
我在Windows 7上遇到了类似的问题,当时我试图卸载Java,并对新版本进行彻底的安装。有些事情搞砸了,在卸载和尝试重新安装期间,我将得到1723的错误消息。以下是我如何解决这个问题的信息,也许这对你有帮助:
Look at the log files for the uninstall/reinstall. On Windows 7 they can be found at c:\users\username\AppData\Local\Temp\
查看卸载/重新安装的日志文件。在Windows 7上,你可以在c:\用户名\AppData\Local\Temp\中找到它们
The java_install.log
didn't show any extra information, but I had several MSI#####
log files that contained error messages about the failed uninstall. The message was: Error 1723.There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action UninstallJRE, entry: MSIUninstallJRE, library: C:\Program Files\Java\jre6\bin\regutils.dll
java_install。logdon没有显示任何额外的信息,但是我有几个MSI##### #日志文件,其中包含关于失败卸载的错误消息。信息是:错误1723。这个Windows安装程序包有一个问题。无法运行此安装所需的DLL。联系你的支持人员或包装供应商。行动UninstallJRE条目:MSIUninstallJRE库:C:\Program Files\Java\jre6\bin\ regutils.dll
There was indeed no regutils.dll
file, and not even the bin
directory was there. So I copied over a regutils.dll
file from another computer, ran the uninstaller, and it worked. Then the new clean install of Java also worked.
确实没有谣言。dll文件,甚至bindirectory都不存在。所以我复制了一个regutils。来自另一台计算机的dll文件,运行卸载程序,并工作。然后,Java的新clean安装也成功了。
So take a look at your logfiles and hopefully that will give you more detailed information about the 1723 error.
所以,看看你的日志文件,希望这会给你更多关于1723错误的详细信息。
#5
0
One way (only way which worked for me - i tried most of the things listed in this post, including MockerTims script) was to search through Windows Registry for Java and then carefully remove anything that seemed to point to the specific JRE version i wanted to remove.
一种方法(唯一适合我的方法——我尝试了本文中列出的大部分内容,包括MockerTims脚本)是在Windows Registry中搜索Java,然后小心地删除任何似乎指向我想要删除的特定JRE版本的内容。
Steps are roughly as such:
步骤大致如下:
-
Hit Windows button and type into the search field "regedit". Pick the result of the search, which is regedit.exe.
点击窗口按钮,输入搜索字段“regedit”。选择搜索结果regedit.exe。
-
Select the top of the tree and hit CTRL + F.
选择树的顶部并按CTRL + F。
-
Type in Java to 'Find what' field and hit enter.
在Java中输入“查找什么”字段并单击enter。
-
Manually go through every found object (hit F3 to proceed to the next item).
手工遍历每个已找到的对象(命中F3进行下一个项目)。
-
If the item is referring to the JRE version you want to remove, then delete the entry. Otherwise leave it be and continue on to the next item.
如果项指向要删除的JRE版本,则删除该条目。否则就留下,继续下一项。
#6
0
I have tried all of the tricks stated above and nothing was able to resolve my problem. Changing the path way, registry being corrupted, few dlls weren't able to be deleted and so on and on... I used Fixit and deleted whatever I saw with the name JAVA. I tried installing GRE/JVM separately, nothing worked what so ever.
我已经尝试了上面提到的所有技巧,但是没有任何方法能够解决我的问题。改变路径,注册表被损坏,很少有dll不能被删除等等。我使用了Fixit,并删除了我看到的JAVA这个名字。我曾尝试分别安装GRE/JVM,但都没有成功。
Solution..
解决方案. .
http://www.java.com/en/download/help/windows_offline_download.xml
http://www.java.com/en/download/help/windows_offline_download.xml
Use offline install of JAVA or some people call it silently install JAVA. This fixed my problem that I couldn't fix in two days. After this I was able to install eclipse without getting any pathway error message, or dll related messages.
使用JAVA的离线安装或一些人称之为静默安装JAVA。这解决了我两天内无法解决的问题。在此之后,我可以安装eclipse,而不需要获得任何路径错误消息或dll相关消息。