MSI EXE Crashes When Trying to Install Via Win32 App
Question
Hi All,
Last three days I’ve been fighting for my life against msiexec crashing (with no logs) when I try to install these two new packages via Win32 apps. Anyone else having recent app install failures that make zero sense?
Posted By Eric Brophy in HTMD FB Group

Answers ( 9 )
Replied By Michael Pantner
Tried calling it from within an Intune Win package?
Replied By Eric Brophy
Michael Pantner yes, they have extra files associated besides the installer so every iteration of this has been as a Win32 Intune win app
Replied By Eric Brophy
Geoff Bock, I didn’t get one failure running it locally, only when running via Intune, across so many different methods of install. I should have made a matrix with all the nonsense I had to try before finally finding a workaround where it didn’t crash.
Replied By Geoff Bock
Eric Brophy – The screenshot shows you supplied shows it running from syswow64 directory, that would indicate it running it as a 32-bit process. Assuming when you manually run it locally it’s executing as a 64-bit process.
https://www.advancedinstaller.com/intune-run-win32-app-installation-64-bit-context.html
Replied By Eric Brophy
Geoff Bock thanks for the relevant link. I had tried to do this but apparently not the right way (need to use sys native not just point to system32 absolute path, I didn’t know that). I’m a little worried since the installer is 32 bits so I don’t know if there will be other ramifications, but I’ll definitely give it a try
Replied By Keith Dibling
Eric Brophy have you tried PSADT as that can write more detailed logs
Replied By Eric Brophy
Keith Dibling nope I haven’t learned that framework yet. I’m trying to do less in Intune personally as we have an MSP that’s supposed to be handling this.
Replied By Geoff Bock
If you attempt to install locally using local admin rights, what are the results? Are you calling the MSI directly, using a wrapper (VBS, PowerShell, etc.)? I’ve seen similar issues with SCCM where install traditional package would work and application model would fail, due to if it’s a 32- or 64-bit process that’s kicking off the install. Not familiar with Intune but can you run both process or just 1 or the other?
Replied By Bart Dm
Which software is it?
Replied By Eric Brophy
Bart Dm Cisco secure client – anyconnect vpn plus umbrella
Replied By Keith Dibling
Who created the win32 apps?
Are you using ps or cmd file or just using msiexec commands etc? You ain’t given many details
Replied By Eric Brophy
Keith Dibling me, and I’ve tried all of the above and the common thread is what I posted, msiexec crashes. Regardless of whether I install as system or user. What I finally ended up doing is a remediation script in user space that calls a bat file to install them. A gross hack but I just need these things installed.
Replied By Ryan Huang
Do you have the error code
Replied By Eric Brophy
Ryan Huang on the Intune side it’s 0x800700FF
In AppWorkload.log it mentions the process exiting with code 255
In eventvwr I have “application error” source, event id 1000, and in the details it’s syswow64msiexec.exe with exception code 0xC0000005
Replied By Eric Brophy
Ryan Huang
Replied By Eric Brophy
Rickard Brander thank you, it’s one of 16 things I tried, and it works perfectly whenever MSI EXE is invoked by an admin other than system. Don’t be arrogant.
Replied By Owais Farooqui
Eric Brophy what is the behavior if you run this manually using PS EXE? I have faced similar issue in the past (if not the same) and it worked in system context using PS EXE but failed when installing as system (both using Intune and a task). I ended up creating a installer script to call the installer file via PS EXE and wrapped it to Intune win and deployed as win32 app.
Replied By Eric Brophy
Owais Farooqui I will have to look into that. I happened across PS EXE suggestions today after like 5 years away from using it and I haven’t yet downloaded it or relearned the syntax.
Replied By Eric Brophy
Joe Bowers the premise of this post is that MSI EXE as system is crashing. This is day 3 of me trying to find loopholes. I eventually did it with a scheduled task that calls the install.bat as a named local admin. If it were as easy as “do it the normal way” I definitely wouldn’t have posted lol.
Replied By Joe Bowers
sure, glad you fixed it pal
Replied By Rickard Brander
Don’t use %~dp0
Replied By Joe Bowers
Eric Brophy what’s %~dp0?
Replied By Eric Brophy
Joe Bowers
Replied By Joe Bowers
Eric Brophy what happens when you run this as system locally. That’s all Intune is doing. I’m not sure you need this… I’ve never use that. Just do {product code} it’ll find the file in the current directory. Find product code using orca on the MSI
For More Details Intune Application Deployment using MSI EXE Intune Win Formats
https://www.anoopcnair.com/intune-win32-app-deployment/
Replied By Joe Bowers
Use logging
Replied By Eric Brophy
Joe Bowers, it crashes and generates empty logs
Replied By Joe Bowers
Eric Brophy what’s your MSI install CMD?
Replied By Eric Brophy
Joe Bowers I’ve gone through so many throughout this process. The current iteration is: