[Bug 10287] unable to install nero 8

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 27 14:58:21 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=10287


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net




--- Comment #27 from Anastasius Focht <focht at gmx.net>  2010-05-27 14:58:20 ---
Hello,

use a clean WINEPREFIX for _every_ run of these installers.

--- snip ---
...
0032:trace:msi:ACTION_CustomAction Handling custom action L"NeroAg_Init" (101
L"NCADll" L"NeroAg_Init")
...
0032:trace:msi:HANDLE_CustomType1 Calling function L"NeroAg_Init" from
L"C:\\users\\focht\\Temp\\msi3a88.tmp"
...
003c:Call KERNEL32.LoadLibraryExW(00b8e03a L"wuapi.dll",00000000,00000008)
ret=6842b521 
...
003c:fixme:wuapi:automatic_updates_Pause 
003c:Call
KERNEL32.FormatMessageA(00001300,00000000,80004001,00000400,00b8e3fc,00000000,00000000)
ret=10065702
003c:Ret  KERNEL32.FormatMessageA() retval=00000000 ret=10065702 
...
003c:trace:msi:DllThread custom action (3c) returned -2147467263
...
0032:Call KERNEL32.GetExitCodeThread(0000004c,0033f74c) ret=68365357
0032:Ret  KERNEL32.GetExitCodeThread() retval=00000001 ret=68365357
0032:err:msi:custom_get_thread_return Invalid Return Code -2147467263 
...
0032:err:msi:ITERATE_Actions Execution halted, action L"NeroAg_Init" returned
1603
--- snip ---

0x80004001 = -2147467263 = E_NOTIMPL

--- snip dlls/msi/custom.c ---

static UINT custom_get_thread_return( MSIPACKAGE *package, HANDLE thread )
{
    DWORD rc = 0;

    GetExitCodeThread( thread, &rc );

    switch (rc)
    {
    case ERROR_FUNCTION_NOT_CALLED:
    case ERROR_SUCCESS:
    case ERROR_INSTALL_USEREXIT:
    case ERROR_INSTALL_FAILURE:
        return rc;
    case ERROR_NO_MORE_ITEMS:
        return ERROR_SUCCESS;
    case ERROR_INSTALL_SUSPEND:
        ACTION_ForceReboot( package );
        return ERROR_SUCCESS;
    default:
        ERR("Invalid Return Code %d\n",rc);
        return ERROR_INSTALL_FAILURE;
    }
} 
--- snip dlls/msi/custom.c ---

which gets translated to infamous ERROR_INSTALL_FAILURE for that custom action
;-)
Faking S_OK for windows updates "pause" action stub should be harmless.

Interestingly the installer also tries to call MsiDatabaseCommit() which is
indeed not allowed during a custom action according to MSDN...

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list