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
IntuneWinAppUtil.exe cannot be launched from c# code without console visible #111
Comments
Same problem. |
Packaging has also stopped working in my script since the v1.8.5 update, but back to v1.8.4 it works without any problems. |
Same problem here, we use it to package applications from an Azure Devops pipeline Powershell script. After the 1.8.5 update, it no longer works. |
Same issue. IntuneWinAppUtil.exe 1.8.5 must run in a visible window to work properly. |
Same issue for me when using RedirectStandardOutput with Start-Process in PowerShell 5.1 |
Same issue for me using intuneWin32App library, really annoying |
When launching IntuneWinAppUtil.exe from C# code without console visible we get the following error:
System.IO.IOException: The handle is invalid. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded) at Microsoft.Management.Service.IntuneWinAppUtil.LogUtil.PrintProgress(AppContext context) at Microsoft.Management.Service.IntuneWinAppUtil.PackageUtil.CreatePackage(String folder, String setupFile, String outputFolder, String catalogFolder) at Microsoft.Management.Service.IntuneWinAppUtil.Program.Main(String[] args)
It worked fine before #109
@nikyusof this breaks our apps integration with IntuneWinAppUtil.exe and it would be great if this could be fixed.
Please let me know if more information is required.
Thank you!
The text was updated successfully, but these errors were encountered: