[wix-users] What do Cabinet error codes mean?

Vladimir A Terentyev Vladimir.Terentyev at b1.ru
Mon Aug 1 02:46:46 PDT 2022


I don’t think that issue is in .wxs, because it successfully installs on my computer and on computers of my collegues. 
Also Installer has to elevate for privileges when installing.
I set <Property Id="MSIUSEREALADMINDETECTION" Value="1">
My custom actions are deffered my main package has InstallPrivileges="elevated"
So that, I think user has to have admin rights to run installation, or at least it would be written in a log (that user has no rights)

I define dll like this:
<Binary Id="CustomActions" SourceFile="..\DPA.Installer.Actions\bin\$(var.Platform)\Release\Actions.CA.dll"/>
Name Actions.CA.dll is unique. 


-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Jurgen Schapker via wix-users
Sent: Monday, August 1, 2022 12:33 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Jürgen Schäpker <juergen at schaepker.de>
Subject: Re: [wix-users] What do Cabinet error codes mean?

Possibly. Or the user does not have enough rights or your .wxs has an issue. How do you define the binary for your ca.dll? (I once had an issue where the dll name conflicted with another file.)

On 01/08/2022 11:27:19, "Vladimir A Terentyev via wix-users" 
<wix-users at lists.wixtoolset.org> wrote:

Well, actually I signed msi, but I did not sign dll with custom actions. Could this happen if dll was not signed?

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Vladimir A Terentyev via wix-users
Sent: Monday, August 1, 2022 12:19 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Vladimir A Terentyev <Vladimir.Terentyev at b1.ru>
Subject: Re: [wix-users] What do Cabinet error codes mean?

It was signed.
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Jurgen Schapker via wix-users
Sent: Monday, August 1, 2022 12:16 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; wix-users at lists.wixtoolset.org
Cc: Jürgen Schäpker <juergen at schaepker.de>
Subject: Re: [wix-users] What do Cabinet error codes mean?


Is your custom action DLL code signed? In any case, some antivirus engines prevent executable code extraction which might be mitigated by code signing.

On 01/08/2022 11:11:35, "Vladimir A Terentyev via wix-users" <wix-users at lists.wixtoolset.org> wrote:

I gave my msi installer to a person and he had a problem during installation

The log says:

Начало действия 10:37:29: CheckForRuntimesWithWarning.
MSI (s) (18:80) [10:37:29:363]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI16B9.tmp, Entrypoint: CheckForRuntimesWithWarning MSI (s) (18:34) [10:37:29:364]: Generating random cookie.
MSI (s) (18:34) [10:37:29:391]: Created Custom Action Server with PID 5728 (0x1660).
MSI (s) (18:4C) [10:37:29:410]: Running as a service.
MSI (s) (18:4C) [10:37:29:413]: Hello, I'm your 64bit Impersonated custom action server.
SFXCA: Extracting custom action to temporary directory: C:\WINDOWS\Installer\MSI16B9.tmp-\
SFXCA: Failed to extract to temporary directory. Cabinet error code 11.
CustomAction CheckForRuntimesWithWarning returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) Действие закончено 10:37:29: CheckForRuntimesWithWarning. Код возврата 3.


As I understood, msi didn`t manage to extract CA to Folder, so that installation failed.
I need to find out, why that could happen.
What  does "Cabinet error code 11" mean?  Is there any list of cabinet error codes with description?
Is there any way to find out, why this could happen to msi?

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list