Views:

Summary



A new installation of DPX (not an upgrade) fails with the following error: "DIFXAPP: ERROR 0x5 encountered while creating subkey for component."

Symptoms



The DPX installation fails and rolls back. The Installation log (%userprofile%\DPXInstall.log) may contain the following:

DIFXAPP: INFO: 'Component' is 'driver1'

DIFXAPP: INFO: Component state 0x2 -> 0x3

DIFXAPP: INFO: 'ComponentId' is {4CC87387-0000-0000-0000-000000000000}

DIFXAPP: INFO: 'Flags' is 12

DIFXAPP: INFO: component path is C:\Program Files\DPX\tools\CJ\

DIFXAPP: INFO: user SID of user performing the install is 'S-1-5-21-000000000-0000000000-000000000-00000'.

DIFXAPP: INFO: creating HKEY_USERS\S-1-5-21-000000000-0000000000-000000000-00000\Software\Microsoft\Windows\CurrentVersion\DIFxApp\Components\{4CC87387-0000-0000-0000-000000000000} (User's SID: 'S-1-5-21-000000000-0000000000-000000000-00000') ...

DIFXAPP: ERROR 0x5 encountered while creating subkey for component '{4CC87387-0000-0000-0000-000000000000}'

DIFXAPP: RETURN: ProcessDriverPackages() 5 (0x5)

Action ended 16:21:57: MsiProcessDrivers. Return value 3.



Resolution



This may be a permission issue. Ensure the user that was used to run the installation has sufficient rights.

  1. Open the registry.
  2. Go to HKEY_USERS\S-1-5-21-000000000-0000000000-000000000-00000\Software\Microsoft\Windows\CurrentVersion.
  3. Right click the Key “CurrentVersion” and click “permissions” under the Security tab.
  4. Give Full Control to System and the User Credentials that were used during Installation.
  5. Re-install DPX.