Skip to main content
Solved

Install Windows App MSIX.

  • October 2, 2025
  • 2 replies
  • 88 views

Forum|alt.badge.img

I want to deploy the Windows App.  I have downloaded the .msix 

https://apps.microsoft.com/detail/9N1F85V9T8BN?hl=en-us&gl=US&ocid=pdpshare

 

I am copying it to C:\Installs using this command - 

Copy-Item "Windows_App_2.0.704.0_X64_msix_en-US.msix" "C:\Installs\Windows_App_2.0.704.0_X64_msix_en-US.msix" -Force

That works fine but I can’t get it to install using Add-AppPackage with this command - 

Add-AppPackage -Path "C:\Installs\Windows_App_2.0.704.0_X64_msix_en-US.msix"

Does anyone have any idea how I can have Automox install this .msix? 

Thanks!

Best answer by Maulik_Busa

Hi ​@jtrendel , here this should help it. 

 

Evaluation Code:

exit 1

 

Remediation Code:

#Installer package name
$msixFile = "WindowsApp_x64_Release_2.0.704.0.msix" #Replace package name

# Install app for all users
Write-Host "Installing $msixFile silently for all users..."
dism /Online /Add-ProvisionedAppxPackage /PackagePath:$msixFile /SkipLicense | Out-Null

# Print Output
if ($LASTEXITCODE -eq 0) {
Write-Host "'Windows App' installation succeeded."
exit 0
} else {
Write-Host "'Windows App' installation failed. DISM exit code: $LASTEXITCODE"
exit 1
}

 

Thanks

2 replies

Forum|alt.badge.img
  • Pro
  • Answer
  • October 7, 2025

Hi ​@jtrendel , here this should help it. 

 

Evaluation Code:

exit 1

 

Remediation Code:

#Installer package name
$msixFile = "WindowsApp_x64_Release_2.0.704.0.msix" #Replace package name

# Install app for all users
Write-Host "Installing $msixFile silently for all users..."
dism /Online /Add-ProvisionedAppxPackage /PackagePath:$msixFile /SkipLicense | Out-Null

# Print Output
if ($LASTEXITCODE -eq 0) {
Write-Host "'Windows App' installation succeeded."
exit 0
} else {
Write-Host "'Windows App' installation failed. DISM exit code: $LASTEXITCODE"
exit 1
}

 

Thanks


Forum|alt.badge.img
  • Author
  • Rookie
  • October 9, 2025

Thanks!  That was very helpful!