VirtualBox

Changeset 67768 in vbox


Ignore:
Timestamp:
Jul 4, 2017 9:51:08 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116678
Message:

Main/VBoxProxyStub: don't assert when running debug builds as normal user, it can't update the COM registration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c

    r67623 r67768  
    10491049
    10501050    if (pState->fUpdate)
     1051    {
    10511052        rc = RegCreateKeyExW(pState->hkeyClassesRootDst, L"AppID", 0 /*Reserved*/, NULL /*pszClass*/, 0 /*fOptions*/,
    10521053                             pState->fSamBoth, NULL /*pSecAttr*/, &hkeyAppIds, NULL /*pdwDisposition*/);
     1054        if (rc == ERROR_ACCESS_DENIED)
     1055            return ERROR_SUCCESS;
     1056    }
    10531057    else
    10541058    {
    10551059        rc = RegOpenKeyExW(pState->hkeyClassesRootDst, L"AppID", 0 /*fOptions*/, pState->fSamBoth, &hkeyAppIds);
    1056         if (rc == ERROR_FILE_NOT_FOUND)
     1060        if (rc == ERROR_FILE_NOT_FOUND || rc == ERROR_ACCESS_DENIED)
    10571061            return ERROR_SUCCESS;
    10581062    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette