Share via

Java installer package error

Anonymous
2023-07-27T03:49:50+00:00

So, I have been trying to install Java 17 but every time I try to, I get "This installation package could not be opened. Verify that the package exists and that you can access it or contact the application vendor to verify that this is a valid Windows Installer package".

I have tried editing keys in reg editor to allow my admin acct to have full control over what could be blocking the install and other such alike things. Nothing seems to be working.

Event Log: The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 

{2593F8B9-4EAF-457C-B68A-50F6B8EA6B54}

 and APPID 

{15C20B67-12E7-4BB6-92BB-7AFF07997402}

 to the user LAPTOP-NF3SHIG3`-- SID (S-1-5-21-1601308769-729850463-1070610075-1001) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

Any ideas on how to fix this.

Windows for home | Windows 11 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Ramesh 176.1K Reputation points Volunteer Moderator
    2023-07-30T03:36:50+00:00
    1. Is that the entire log?
    2. Please check if the SHA256 checksum of your downloaded setup file matches the one mentioned on the official website. https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html
    3. Right-click "jdk-17_windows-x64_bin.exe" and click Properties. Post a screenshot of that dialog.
    4. Attempt to copy it to c:\ and run the setup from there.
    0 comments No comments
  2. Anonymous
    2023-07-29T21:07:43+00:00

    Here is some of the text within the file.
    [2023/07/24 12:49:16.381, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:413 (InstallConfigData::LoadConfigSettings)]

    TRACE: -->Loading Config... 
    

    [2023/07/24 12:49:16.381, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:589 (InstallConfigData::ImportRuntimeConfigSettings)]

    TRACE: ...Importing runtime configuration file... 
    

    [2023/07/24 12:49:16.381, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:592 (InstallConfigData::ImportRuntimeConfigSettings)]

    INFO: Runtime config file path is C:\Program Files (x86)\Common Files\Oracle\Java\java.settings.cfg 
    

    [2023/07/24 12:49:16.382, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:599 (InstallConfigData::ImportRuntimeConfigSettings)]

    INFO: Runtime configuration file doesn't exist. It will be created later by settings\_api. 
    

    [2023/07/24 12:49:16.382, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:507 (InstallConfigData::ImportArgsConfigSettings)]

    TRACE: Entering InstallConfigData::ImportArgsConfigSettings 
    

    [2023/07/24 12:49:16.382, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:508 (InstallConfigData::ImportArgsConfigSettings)]

    TRACE: ...Importing command line arguments 
    

    [2023/07/24 12:49:16.382, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:0 (InstallConfigData::ImportArgsConfigSettings)]

    TRACE: Exiting InstallConfigData::ImportArgsConfigSettings (entered at InstallConfigData.cpp:507) 
    

    [2023/07/24 12:49:16.382, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:610 (InstallConfigData::CheckParams)]

    TRACE: Entering InstallConfigData::CheckParams 
    

    [2023/07/24 12:49:16.382, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:0 (InstallConfigData::CheckParams)]

    TRACE: Exiting InstallConfigData::CheckParams (entered at InstallConfigData.cpp:610) 
    

    [2023/07/24 12:49:16.383, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:422 (InstallConfigData::LoadConfigSettings)]

    TRACE: -->Saving backup... 
    

    [2023/07/24 12:49:16.383, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:589 (InstallConfigData::ImportRuntimeConfigSettings)]

    TRACE: ...Importing runtime configuration file... 
    

    [2023/07/24 12:49:16.383, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:592 (InstallConfigData::ImportRuntimeConfigSettings)]

    INFO: Runtime config file path is C:\Program Files (x86)\Common Files\Oracle\Java\java.settings.cfg 
    

    [2023/07/24 12:49:16.383, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:599 (InstallConfigData::ImportRuntimeConfigSettings)]

    INFO: Runtime configuration file doesn't exist. It will be created later by settings\_api. 
    

    [2023/07/24 12:49:16.383, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:428 (InstallConfigData::LoadConfigSettings)]

    INFO: |------Config to backup--------| 
    

    |-------------------------------------|

    [2023/07/24 12:49:16.383, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:431 (InstallConfigData::LoadConfigSettings)]

    TRACE: -->Loading export config... 
    

    [2023/07/24 12:49:16.383, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:589 (InstallConfigData::ImportRuntimeConfigSettings)]

    TRACE: ...Importing runtime configuration file... 
    

    [2023/07/24 12:49:16.384, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:592 (InstallConfigData::ImportRuntimeConfigSettings)]

    INFO: Runtime config file path is C:\Program Files (x86)\Common Files\Oracle\Java\java.settings.cfg 
    

    [2023/07/24 12:49:16.384, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:599 (InstallConfigData::ImportRuntimeConfigSettings)]

    INFO: Runtime configuration file doesn't exist. It will be created later by settings\_api. 
    

    [2023/07/24 12:49:16.384, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:507 (InstallConfigData::ImportArgsConfigSettings)]

    TRACE: Entering InstallConfigData::ImportArgsConfigSettings 
    

    [2023/07/24 12:49:16.384, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:508 (InstallConfigData::ImportArgsConfigSettings)]

    TRACE: ...Importing command line arguments 
    

    [2023/07/24 12:49:16.384, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:0 (InstallConfigData::ImportArgsConfigSettings)]

    TRACE: Exiting InstallConfigData::ImportArgsConfigSettings (entered at InstallConfigData.cpp:507) 
    

    [2023/07/24 12:49:16.384, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:610 (InstallConfigData::CheckParams)]

    TRACE: Entering InstallConfigData::CheckParams 
    

    [2023/07/24 12:49:16.385, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:0 (InstallConfigData::CheckParams)]

    TRACE: Exiting InstallConfigData::CheckParams (entered at InstallConfigData.cpp:610) 
    

    [2023/07/24 12:49:16.385, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:440 (InstallConfigData::LoadConfigSettings)]

    TRACE: -->Adding CMDLINE to config... 
    

    [2023/07/24 12:49:16.385, jdk-17_windows-x64_bin.exe (PID: 4524, TID: 24904), InstallConfigData.cpp:448 (InstallConfigData::LoadConfigSettings)]

    INFO: |------!!!!Working config!!!!--------| 
    

    STATIC = Disable

    AUTO_UPDATE = Enable

    SPONSORS = Enable

    WEB_ANALYTICS = Enable

    EULA = Disable

    OEMUPDATE = Disable

    0 comments No comments
  3. Ramesh 176.1K Reputation points Volunteer Moderator
    2023-07-27T04:39:20+00:00

    Hi Herby(02),

    Please run the installer with verbose logging.

    msiexec /i "D:\FILENAME.msi" /L*V "C:\java.log"

    and share the log on OneDrive.

    Note: Replace d:\Filename.msi with the correct .msi file path.

    0 comments No comments