New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing crash issue with Win32 content prep tool #109
Conversation
nikyusof
commented
Nov 2, 2023
- Updating the binaries that fixes the issue with Win32 content prep tool crashing.
- Fixes IntuneWinAppUtil.exe crashes the whole terminal without any error message displayed #108
- Updating the binaries that fixes the issue with Win32 content prep tool crashing.
This has broken the tool for me, causing it to crash with the below:
|
@scidonem would you mind providing these:
Can you also try the same command on the previous version to see if you are getting the same error or not? |
Hello @nikyusof With new tool version or the last version, the tool crashes even though I do .\IntuneWinAppUtil.exe -h OS version: Win11 22H2 (OS build 22621.2506) My workaround is still open the Powershell console maximized. I don't which Windows update caused this issue, I have the latest cumulative update 2023-10 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 22H2 for x64 (KB5031323) installed. |
@nikyusof It's crashing for me, as well. The previous version is also crashing. Having PowerShell maximized fixes the issue. OS version - Windows 11 23H2 (22631.2428)
|
For me this is working, but why wasnt there a new release or anything? The Binary go swapped, but nothing else. No additional information or anything? |
OS version Windows Server 2022 Command runs fine in previous version so have pinned that version in the workflow for now.
|
This change has caused the prep tool to fail for me in Azure DevOps pipelines in a powershell task with the same 'handle' error: Anyone aware of a workaround for this in a similar headless environment? EDIT: Pinning to version 1.8.4 of the tool now works in the pipeline. |
Yes. use the previous version
Same problem here in a GitHub pipeline. That'll teach me for checkout the latest source every time and not pinning a release tag 😃
…________________________________
From: Dan ***@***.***>
Sent: Tuesday, November 7, 2023 6:54:52 PM
To: microsoft/Microsoft-Win32-Content-Prep-Tool ***@***.***>
Cc: Michael Scidone ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/Microsoft-Win32-Content-Prep-Tool] Fixing crash issue with Win32 content prep tool (PR #109)
This change has caused the prep tool to fail for me in Azure DevOps pipelines in a powershell task with the same 'handle' error: ERROR System. IO. IOException: The handle is invalid Anyone aware of a workaround for this in a similar headless
This change has caused the prep tool to fail for me in Azure DevOps pipelines in a powershell task with the same 'handle' error:
ERROR System.IO.IOException: The handle is invalid
Anyone aware of a workaround for this in a similar headless environment?
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool/pull/109*issuecomment-1798271372__;Iw!!OVe7agNpIlw!P5gLnI6n4ITx1naw3LR-9pJ50cUxFmS28BIpdTkV25qUd-fnjwy_kSk5DRNwLMeoa4IeXxsibJKQ6LkYziqNPVqlaSn-QA$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AXTJY26ESOFQ2HPO5GBV53DYDIHPZAVCNFSM6AAAAAA63OKYR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJYGI3TCMZXGI__;!!OVe7agNpIlw!P5gLnI6n4ITx1naw3LR-9pJ50cUxFmS28BIpdTkV25qUd-fnjwy_kSk5DRNwLMeoa4IeXxsibJKQ6LkYziqNPVpjhBvrzg$>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I also confirm this bug - mine always crashed at 61 or 62 percent. |
I can confirm this works for me too, Maximised Terminal/CMD window allow the process to run and create the package. |