[wix-users] Failed to lookup account name

sampat magi ssmcs060 at gmail.com
Tue Apr 26 09:50:35 PDT 2016


line numbers from 673-679

// get SID for account
    do {
        er = ERROR_SUCCESS;
        hr = CpiAccountNameToSid(pAttrs->pwzAccount, &pSid);
        if (HRESULT_FROM_WIN32(ERROR_NONE_MAPPED) == hr &&
!::MsiGetMode(WcaGetInstallHandle(), MSIRUNMODE_ROLLBACK))
        {
            WcaLog(LOGMSG_STANDARD, "Failed to lookup account name, hr:
0x%x, account: '%S'", hr, pAttrs->pwzAccount);

            er = WcaErrorMessage(msierrComPlusFailedLookupNames, hr,
INSTALLMESSAGE_ERROR | MB_ABORTRETRYIGNORE, 0);



I think somewhere here it is failing :)

On Tue, Apr 26, 2016 at 9:51 PM, Rob Mensching <rob at firegiant.com> wrote:

> Or you could fix the ComPlus CustomAction and everyone would benefit.
>
> _____________________________________________________________
>  Short replies here. Complete answers over there:
> http://www.firegiant.com/
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of sampat magi
> Sent: Tuesday, April 26, 2016 9:20 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Failed to lookup account name
>
> Yeah,
>
> i have been looking into
> "\src\ext\ComPlusExtension\ca\cpsched\cpapprolesched.cpp" this file but am
> not sure it is correct file that i should look at and dont understand
> exactly what it does, :(
>
> Can i assume, there should be some immediate SetProperty CA that sends all
> these info to the deferred CA?
>
> Bcoz, The value WIX_ACCOUNT_USERS = Builtin\Users is correct, but it is
> \Builtin\Users when the complusexecute CA runs. Somewhere in between its
> getting changed, some one is adding a '\' at the beginning ?
>
> If it is a real problem , Again have to write COM plus automation in
> javascript with 3 CAs  :( :(
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list