Forum Discussion

XSupramanX's avatar
XSupramanX
Copper Contributor
Feb 12, 2026

Creating a successful intune deployment using an installer exe combine with XML configuration file.

I am having issue creating a successful intune deployment package involving MathCad Prime 11 and XML file, this might be cause my powershell scripting is very weak.

This is the current script I am trying to used, but it does not seem to deploy successfully, the errors I am seeing from intune is "The unmonitored process is in progress, however it may timeout. (0x87D300C9)."

Perhaps someone has come across this and point me in the right direction on how to handle installer with exe and using XML for configuration.

"

# Get the current script directory to locate setup.xml

$CurrentDir = $PSScriptRoot

 

# Define the installer path and the XML argument file

$ExePath = Join-Path -Path $CurrentDir -ChildPath "setup.exe"

$XmlPath = Join-Path -Path $CurrentDir -ChildPath "mathcad.p.xml"

 

# Adobe command-line parameters for silent installation with a deployment file

$Arguments = "--mode=silent --deploymentFile=`"$XmlPath`""

 

# Start the installation process and wait for completion

$Process = Start-Process -FilePath $ExePath -ArgumentList $Arguments -Wait -PassThru

 

# Return the exit code to Intune (0 is success)

Exit $Process.ExitCode

"

No RepliesBe the first to reply