Installation hangs on AI_ExtractLzma custom action - Advanced Installer Community
JakubG
Posts: 2
Joined: Thu Sep 04, 2025 8:47 am

Installation hangs on AI_ExtractLzma custom action

Hi,

We have some machines on which installation intermittently hangs on AI_ExtractLzma action.

When this happens, we see something along those lines in the logs:

Code: Select all

MSI (s) (AC:6C) [13:14:29:944]: Executing op: ProductInfo(ProductKey={803E5985-2427-4FD7-9493-FB9630FBA850},ProductName=Poly Lens Control Service,PackageName=PolyLensControlService.msi,Language=1033,Version=17630174,Assignment=1,ObsoleteArg=0,ProductIcon=logo.exe,,PackageCode={A5718712-540E-4D69-817D-4F362AA52ED4},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=3)
MSI (s) (AC:6C) [13:14:29:944]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (AC:6C) [13:14:29:944]: Executing op: DialogInfo(Type=1,Argument=Poly Lens Control Service)
MSI (s) (AC:6C) [13:14:29:960]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,,CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (s) (AC:6C) [13:14:29:960]: Executing op: SetBaseline(Baseline=0,)
MSI (s) (AC:6C) [13:14:29:960]: Executing op: SetBaseline(Baseline=1,)
MSI (s) (AC:6C) [13:14:29:960]: Executing op: ActionStart(Name=AI_DeleteRLzma,Description=Deleting files extracted from archive,)
MSI (s) (AC:6C) [13:14:29:960]: Executing op: CustomActionSchedule(Action=AI_DeleteRLzma,ActionType=1281,Source=BinaryData,Target=DeleteLZMAFiles,)
MSI (s) (AC:6C) [13:14:29:960]: Executing op: ActionStart(Name=AI_ExtractLzma,Description=Extracting files from archive,)
MSI (s) (AC:6C) [13:14:29:960]: Executing op: CustomActionSchedule(Action=AI_ExtractLzma,ActionType=1025,Source=BinaryData,Target=ExtractLZMAFiles,)
MSI (s) (AC:F0) [13:14:29:969]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB27D.tmp, Entrypoint: ExtractLZMAFiles
MSI (s) (AC:FC) [15:40:36:135]: Running as a service.
MSI (s) (AC:FC) [15:40:36:529]: Running as a service.
MSI (s) (AC:FC) [15:40:36:906]: Running as a service.
MSI (s) (AC:FC) [15:40:37:299]: Running as a service.
MSI (s) (AC:FC) [15:40:37:677]: Running as a service.
MSI (s) (AC:FC) [15:40:38:075]: Running as a service.
MSI (s) (AC:FC) [15:40:38:447]: Running as a service.
Note that there is 2.5 hour delay between when the action is supposedly invoked and next log entry.

This happens on corporate machines that have a lot of antivirus and security software installed so we suspect that the problem might be caused by some of this software. Unfortunately, we don't have a way to diagnose the root cause.

So I would like to know if there is anything we can do to pinpoint the issue? Currently logs are not very useful as the action itself doesn't seem to log anything. Is there any way to enable logging in this custom action so that we can find out what it's waiting for or what's blocking it?

Thanks for help.
JakubG
Posts: 2
Joined: Thu Sep 04, 2025 8:47 am

Re: Installation hangs on AI_ExtractLzma custom action

We've found this: https://www.advancedinstaller.com/user- ... aq-ca.html

We're going to try adding AI_DEBUGLOG=1 and see if this helps.
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Installation hangs on AI_ExtractLzma custom action

Hello Jakub and welcome to our forums,

Indeed, the AI_DebugLog can offer some additional information, but please note that in cases like this, it is really hard to find from the log file why the hang happens.

A possible culprit could indeed be the AV products that might block the LZMA extraction, for some reason.

Here are some things I would try here:

1. I understand that you can not disable the AV products and such on those machines, but ask if perhaps they have some VMs with the same configuration (e.g. AV products installed). If so, try to run the installation there and, if it hangs, try to disable the product on the VM (since it's a VM, it shouldn't be a problem at all).

2. if this problem only happens on one customer machine, we can also try to revert back to CAB file (instead of LZMA):
Screenshot_66.png
Screenshot_66.png (16.35 KiB) Viewed 1765 times

Hope this helps! :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”