Archive extraction does not work with Microsoft Intune - Advanced Installer Community
m_dierkes
Posts: 1
Joined: Thu Mar 19, 2026 8:48 am

Archive extraction does not work with Microsoft Intune

Hi,

I ran into an issue at one of our customers, that is distributing software using Microsoft Intune. For that they run our bootstrapper .exe installer in silent mode with the following commands:
$argumentlist = '/exenoui /exelog "C:\Program Files\IntuneAppInstallationTestFiles\Log\ModOffice_Install.log" /qn'
Start-Process -FilePath '.\ModOfficeInstaller.exe' -ArgumentList $argumentlist -Wait
The customer also send the resulting log, which looks like this:

====== Starting logging of "C:\WINDOWS\IMECache\532b5a38-4a0d-41b3-932a-1b4208af9772_1\ModOfficeInstaller.exe" ====
OS Version: 11.0.26200 SP0 (workstation) [x64]
CPU: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz

2026-03-18 11-25-42-Full command line:"C:\WINDOWS\IMECache\532b5a38-4a0d-41b3-932a-1b4208af9772_1\ModOfficeInstaller.exe" /exenoui /exelog "C:\Program Files\IntuneAppInstallationTestFiles\Log\ModOffice_Install.log" /qn
2026-03-18 11-25-42-Command line to pass to MSI:/qn
2026-03-18 11-25-42-Extraction path set to:\\?\C:\AppData\Roaming\Vision4Quality\ModOffice 3.0.1\install\
2026-03-18 11-25-42-Extraction path set to:\\?\C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\Vision4Quality\ModOffice\prerequisites\
2026-03-18 11-25-42-Language used for UI:0-Deutsch (Deutschland)
2026-03-18 11-25-42-Maintenance mode:false
2026-03-18 11-25-42-An error occurred while extracting.
2026-03-18 11-25-42-Code returned to Windows by setup:1
2026-03-18 11-25-42-=====================End of Log=====================

To me the two extraction paths look very suspicious.
I tested these commands locally on my machine, and they work there. Here is the output from that run:

====== Starting logging of "C:\Users\maxdi\Downloads\ModOfficeInstaller.exe" ====
OS Version: 11.0.26200 SP0 (workstation) [x64]
CPU: AMD Ryzen 7 3700X 8-Core Processor

2026-03-18 15-52-28-Full command line:"C:\Users\maxdi\Downloads\ModOfficeInstaller.exe" /exenoui /exelog "C:\Users\maxdi\Documents\Vision4Quality\ModOffice_Install.log" /qn
2026-03-18 15-52-28-Command line to pass to MSI:/qn
2026-03-18 15-52-28-Extraction path set to:\\?\C:\Users\maxdi\AppData\Roaming\Vision4Quality\ModOffice 3.0.1\install\
2026-03-18 15-52-28-Extraction path set to:\\?\C:\Users\maxdi\AppData\Roaming\Vision4Quality\ModOffice\prerequisites\
2026-03-18 15-52-28-Language used for UI:0-English (Germany)
2026-03-18 15-52-28-Maintenance mode:false
2026-03-18 15-52-30-Searching for:.NET Framework 4.7.2
2026-03-18 15-52-30-Search result:An acceptable version was found.
2026-03-18 15-55-20-Code returned to Windows by setup:0
2026-03-18 15-55-20-=====================End of Log=====================

The two extraction paths look more correct here and also write to the same path.
What could cause these kind of issues and how could they be resolved?
If you need further information, I will provide it gladly.

Thanks for the assistance.
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Archive extraction does not work with Microsoft Intune

Hello and welcome to our forums,

The extraction path looks like this:

Code: Select all

2026-03-18 11-25-42-Extraction path set to:\\?\C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\Vision4Quality\ModOffice\prerequisites\
because the setup is running under the System account.

When that happens, the AppData is redirected under the same folder you mentioned.

You can achieve the same behavior if you launch a CMD/PowerShell as system using PsExec and then running the setup from there.

Could you please try that and let me know if you still reproduce the issue there?

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

Return to “Common Problems”