Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8072107

New dependency introduced by deploy.dll and awt.dll (msvcp100.dll)

    Details

    • Subcomponent:
    • Resolved In Build:
      b52
    • OS:
      windows

      Backports

        Description

        This is reproducible with 9b50 PIT bundles:
        https://scaaa575.us.oracle.com/test/workspaces/dev_dropbox/pit/1.9.0/b49/windows-i586/jre190.exe
        https://scaaa575.us.oracle.com/test/workspaces/dev_dropbox/pit/1.9.0/b49/windows-i586/jre190-iftw.exe
        https://scaaa575.us.oracle.com/test/workspaces/dev_dropbox/pit/1.9.0/b49/windows-amd64/jre190.exe

        Found the following error in jusched.log:
        ERROR: -- Exec: RegisterDeploy() failed.
        ERROR: Install Error: 61014


        Deployment code doesn't work during installation.
        jusched.log:
        ....
        TRACE: -- Calling RegisterDeploy().
        [2015/02/02 17:05:50.864, installer.exe (PID: 4048, TID: 3660), RegInstallJRE.cpp:138 (InstallJRE)]
        TRACE: RegisterDeploy returned: 2

        INT RegisterDeploy(BOOL bInstallMode, LPCTSTR lpcszJavaHome, const InstallConfigData& configData) {
        ...
        I looked at the "install" workspace, regdeploy.cpp:
        RegisterDeploy().
        ....
            _tcscat_s(deployModule, _countof(deployModule), _T("\\bin\\deploy.dll"));

            HMODULE deployLibHandle = LoadLibrary(deployModule);

            if (deployLibHandle == NULL) {
                FreeLibrary(deployLibHandle);
                FreeLibrary(msvcrLibHandle);
                return (2);
            }
        ...
        }

        the returned value is 2, so it looks like deploy.dll is not loaded by installer.
        After installing Visual Studio on the machine the problem goes away, it means something is misconfigured about runtime, the installer code needs to be checked, maybe something is wrong about installer manifest or something else.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  erikj Erik Joelsson
                  Reporter:
                  vdrozdov Victor Drozdov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: