none
MsiEnumProducts(101) failed with error=[1610] RRS feed

  • Question

  • I've tried many things to install the Java 8u65 and/ot the 8u66 update.  I have no trouble removing or reinstalling the java 8u51 update.  I currently have the 8.0.510.16 version installed. The process starts but after the administrator approval screen, nothing happens. The jusched.log file for the last 8u66 attempt has the following information.

    jusched.log
    [2015/11/22 18:45:39.493, jre-8u66-windows-i586.exe (PID: 5200,
    TID: 10088), AllUtils.cpp:121 (logit)]
    INFO: Wrapper begin...
    [2015/11/22 18:45:39.493, jre-8u66-windows-i586.exe (PID: 5200,
    TID: 10088), wrapper.cpp:64 (WinMain)]
    INFO: Running offline JRE wrapper with command line=<>
    [2015/11/22 18:45:39.493, jre-8u66-windows-i586.exe (PID: 5200,
    TID: 10088), JavaEnvironment.cpp:472 (JavaEnvironment::detect)]
    TRACE: Entering JavaEnvironment::detect
    [2015/11/22 18:45:39.509, jre-8u66-windows-i586.exe (PID: 5200,
    TID: 10088), JavaEnvironment.cpp:0 (JavaEnvironment::detect)]
    TRACE: Exiting JavaEnvironment::detect (entered at
    JavaEnvironment.cpp:472)
    [2015/11/22 18:45:39.509, jre-8u66-windows-i586.exe (PID: 5200,
    TID: 10088), wrapper.cpp:507 (WinMain)]
    ERROR: Exception with message
    'KnownProductCodeInstalledJavaTracker.cpp(205) at
    KnownProductCodeInstalledJavaTracker::next():
    MsiEnumProducts(101) failed with error=[1610]' caught
    [2015/11/22 18:45:39.509, jre-8u66-windows-i586.exe (PID: 5200,
    TID: 10088), wrapper.cpp:509 (WinMain)]
    INFO: Wrapper exit code: 1

    My Current PC is a Windows 10 pro (64-bit) PC with both Oracle VirtualBox and Hyper-V installed.  It Java update is for the Basic PC OS.

    Saturday, November 28, 2015 2:00 AM

Answers

  • This is not a Java issue. The Java update 8u66 installed correctly on my laptop (Windows 10 Pro) and on another desktop (also Windows 10 Pro). It seems to be related to an error in the C:\windows\System32\wbem\Repository folder files (Re: errors involving "MsiEnumProducts". The JAVA FAQs were no help.  This is a Microsoft Windows issue, but I seem to get no help from Microsoft.
    • Marked as answer by Jim_W_R Wednesday, December 23, 2015 10:46 PM
    Tuesday, December 1, 2015 5:43 AM
  • Thanks for Info. 

    I had solved my issue by Reformatting my drive and reinstalling Windows 10 and all of my APs.  A hard long task but I've not had any problems with Java since.


    Jim R

    • Marked as answer by Jim_W_R Monday, September 25, 2017 3:12 PM
    Wednesday, July 27, 2016 2:20 PM

All replies

  • Please check with Java support. 

    https://www.java.com/en/download/faq/win10_faq.xml


    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Proposed as answer by arnavsharma Monday, December 7, 2015 3:29 AM
    Sunday, November 29, 2015 10:06 PM
  • Hi Jim,

    This issue is not related with Windows 10. Please ask in java support for more professional help.

    he reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by arnavsharma Monday, December 7, 2015 3:29 AM
    • Marked as answer by Brandon RecordsModerator Wednesday, December 23, 2015 9:23 PM
    • Unmarked as answer by Jim_W_R Wednesday, December 23, 2015 10:46 PM
    Monday, November 30, 2015 8:43 AM
    Moderator
  • This is not a Java issue. The Java update 8u66 installed correctly on my laptop (Windows 10 Pro) and on another desktop (also Windows 10 Pro). It seems to be related to an error in the C:\windows\System32\wbem\Repository folder files (Re: errors involving "MsiEnumProducts". The JAVA FAQs were no help.  This is a Microsoft Windows issue, but I seem to get no help from Microsoft.
    • Marked as answer by Jim_W_R Wednesday, December 23, 2015 10:46 PM
    Tuesday, December 1, 2015 5:43 AM
  • This is not a Java issue. The Java update 8u66 installed correctly on my laptop (Windows 10 Pro) and on another desktop (also Windows 10 Pro). It seems to be related to an error in the C:\windows\System32\wbem\Repository folder files (Re: errors involving "MsiEnumProducts". The JAVA FAQs were no help.  This is a Microsoft Windows issue, but I seem to get no help from Microsoft.

    Since this error only occur when you start the Java process. And the error message you uploaded here is pointing to Java. It's hard for us to analyze this issue.

    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Friday, December 4, 2015 8:31 AM
    Moderator
  • This is windows error. Try this... start command prompt as administrator and type command "wmic product". If it throws error, it's the same one that cause JDK install problem. I had same problem and I solved it after hours of researching. I even wrote small app to help me with it. Here its source:

       

    #include "stdafx.h"
    #include <windows.h>
    #include <msi.h>
    #include <msiquery.h>
    #include <iostream>
    #include <string>
    using namespace std;

    #pragma comment(lib, "Msi.lib")


    int main()
    {
    TCHAR ProductCode[40];
    UINT nResult;
    string errResult;
    for (int nIndex = 0;; nIndex++)
    {
    nResult = MsiEnumProducts(nIndex, ProductCode);
    if (nResult != ERROR_SUCCESS)
    {
    if (nResult == 1610) errResult = "ERROR_BAD_CONFIGURATION";
    if (nResult == 87) errResult = "ERROR_INVALID_PARAMETER";
    if (nResult == 259) errResult = "ERROR_NO_MORE_ITEMS";
    if (nResult == 8) errResult = "ERROR_NOT_ENOUGH_MEMORY";
    printf("\nError %s on index %d / %S", errResult.c_str(), nIndex, ProductCode);

    break;
    }
    else
    {
    printf("\n\n%3d. %S", nIndex, ProductCode);
    TCHAR PName[1024];
    DWORD len = 1000;
    int ret = MsiGetProductInfo(ProductCode, INSTALLPROPERTY_INSTALLEDPRODUCTNAME, PName, &len);
    printf("\n %d %S", ret, PName);
    }
    }
    cin.ignore();
    return 0;
    }

    Compile as unicode app then run this app.. it will list all installed products and eventually it will stop with message ERROR_BAD_CONFIGURATION. Take look at previous printed product and thats the last one which is correct. Next one cause problems.

    Solution is to open registry, navigate to HKEY_CLASSES_ROOT\Installer\Products, then check nodes. Find last correct node (look at ProductName key) and next one cause problems. Export next node (just in case) and delete it.

    In my case, my laptop had 273 nodes, all with "normal" name (looks like guid) except the last one with name "SourceList"!? So I exported SourceList, then deleted it. After that JDK installed properly.

    Even more "wmic products" command now works and it doesnt report any errors.

    • Proposed as answer by Avi Sand Sunday, July 31, 2016 9:00 AM
    Wednesday, July 27, 2016 11:48 AM
  • Thanks for Info. 

    I had solved my issue by Reformatting my drive and reinstalling Windows 10 and all of my APs.  A hard long task but I've not had any problems with Java since.


    Jim R

    • Marked as answer by Jim_W_R Monday, September 25, 2017 3:12 PM
    Wednesday, July 27, 2016 2:20 PM
  • Saved my life
    Sunday, July 31, 2016 9:00 AM
  • You saved my life. "SourceList" was the bad entry. After deleting the entry the Java Installer works 100%.

    Thank you!


    • Edited by Purecut Sunday, September 18, 2016 11:16 AM
    Sunday, September 18, 2016 11:16 AM
  • Thank you very much for only working solution!
    • Proposed as answer by Hi_Hat Monday, September 25, 2017 2:40 PM
    • Unproposed as answer by Hi_Hat Monday, September 25, 2017 4:25 PM
    Monday, September 25, 2017 2:40 PM
  • I had exactly the same problem when trying to install Office 2016. Thank you for the hint, deleting "HKEY_CLASSES_ROOT\Installer\Products\SourceList" immediately solved my problem!
    • Proposed as answer by Herr Takacs Wednesday, June 27, 2018 7:50 AM
    Wednesday, June 27, 2018 7:49 AM
  • Avi Sand,

    Thanks you so much. I spent a day working on getting my Office 365 installer to run without error 0-1012 (0).

    Traced it down to "MsiEnumProducts" and then found your solution.

    Exactly  The SourceList entry was exactly my problem. Removed the offending Sourcelist.

    Bingo ! Office 365 error runs without error.

    Even 3 years later you are still helping.

          Thanks much, Ken 


    • Edited by Ken-O-57 Sunday, September 15, 2019 12:16 AM
    Sunday, September 15, 2019 12:16 AM