I'm facing a really strange problem when trying to uninstall our product.
It happens on an ARM64 system (MSFT devkit unit), Win 11, fully updated.
This is the command line used to uninstall:
"C:\Windows\System32\msiexec.exe" /x {991977F8-2327-46FD-B74D-CDE068BE3627} /qf
When this command line is launched from our application, it hangs at the 'computing the space requirements' welcome dialog stage.
When the same command is launched from a command prompt (admin level), everything works fine.
The issue doesn't exist on Win10 x64.
I cannot imagine why where we launch the uninstaller from would make a difference.
The log file looks like this: (yes, it just ends abruptly; always the same)
Here is the call stack of the msiexec process.MSI (c) (F4:F0) [14:18:08:884]: Target path resolution complete. Dumping Directory table...
MSI (c) (F4:F0) [14:18:08:884]: Note: target paths subject to change (via custom actions or browsing)
MSI (c) (F4:F0) [14:18:08:884]: Dir (target): Key: TARGETDIR , Object: C:\
MSI (c) (F4:F0) [14:18:08:884]: Dir (target): Key: TempFolder , Object: C:\Users\sasha\AppData\Local\Temp\
MSI (c) (F4:F0) [14:18:08:884]: Dir (target): Key: ProductCode_Dir , Object: C:\Users\sasha\AppData\Local\Temp\{991977F8-2327-46FD-B74D-CDE068BE3627}\
MSI (c) (F4:F0) [14:18:08:884]: Dir (target): Key: SystemFolder , Object: C:\Windows\SysWOW64\
MSI (c) (F4:F0) [14:18:08:884]: Dir (target): Key: System64Folder , Object: C:\Windows\system32\
MSI (c) (F4:F0) [14:18:08:884]: Dir (target): Key: CommonAppDataFolder , Ob
It basically sits in the ZwWaitLowEventPair +0x1adda8
Googling found nothing.ntoskrnl.exe!ZwUpdateWnfStateData+0xb2b0
ntoskrnl.exe!KeUpdateThreadTag+0xf554
ntoskrnl.exe!KiDispatchInterrupt+0x7b04
ntoskrnl.exe!KeWaitForMutexObject+0x444
ntoskrnl.exe!KeUpdateThreadTag+0xba14
ntoskrnl.exe!KiDeliverApc+0x18c
ntoskrnl.exe!HalQueryRealTimeClock+0x704
ntoskrnl.exe!KeSynchronizeExecution+0x1388
ntoskrnl.exe!ZwUpdateWnfStateData+0x19bc
msi.dll!QueryInstanceCount+0x358af0
msi.dll!QueryInstanceCount+0x4ff5e0
msi.dll!QueryInstanceCount+0x358af0
msi.dll!QueryInstanceCount+0x4ff5e0
msi.dll!QueryInstanceCount+0x4f85d4
msi.dll!QueryInstanceCount+0x5047d0
msi.dll!QueryInstanceCount+0x483c74
msi.dll!QueryInstanceCount+0x48c608
msi.dll!QueryInstanceCount+0x490828
msi.dll!QueryInstanceCount+0x4a6d98
msi.dll!QueryInstanceCount+0x30f904
msi.dll!QueryInstanceCount+0x33b4c0
msi.dll!QueryInstanceCount+0x4d76f8
msi.dll!QueryInstanceCount+0x3d15e8
msi.dll!QueryInstanceCount+0x3d054c
msi.dll!QueryInstanceCount+0x3e3468
msi.dll!QueryInstanceCount+0x4ef218
msi.dll!QueryInstanceCount+0x3d15e8
msi.dll!QueryInstanceCount+0x3d054c
msi.dll!QueryInstanceCount+0x4040c0
msi.dll!QueryInstanceCount+0x3d9bc0
KERNEL32.DLL!uaw_wcsrchr+0x820f0
ntdll.dll!ZwWaitLowEventPair+0x1adda8
Any idea about this one?
Thanks!
FOLLOW US