Skip to main content

Create Win32App

Download the tool first using the link below and review the site for up to date instructions.

Prepare Win32 app content for upload | Microsoft Doc

Compressed Notes

Create the installation script.

Name it something useful such as Install-AppName_v01.ps1, this will appear as the name of the intune.wim file.

Place the script in the top level folder with your installation file (exe or msi).

.
└── Top Level Folder/
├── Install-AppName_v1.ps1
└── AppinstallFile.exe

Create your intune.wim file.

# Specifying app exe or msi to run as installation file
.\IntuneWinAppUtil.exe `
-c 'C:\IntuneApps\InstallMedia\Appname\' `
-s 'InstallApp.exe' `
-o 'C:\IntuneApps\Packages\'

# Specifying Script to run as installation file
.\IntuneWinAppUtil.exe `
-c 'C:\IntuneApps\InstallMedia\Appname\' `
-s 'InstallApp.ps1' `
-o 'C:\IntuneApps\Packages\'

Install command and uninstall commands for intune suggestions.

# Install Command for a script file
Powershell.exe -executionpolicy bypass -noprofile -file Install-appname.ps1

# Install Command for exe
appname.exe

# Install command for msi
msiexec /i "appname.msi" /QUIET /NORESTART /L*V "C:\Windows\Temp\appname.log" SILENT=TRUE ALLUSERS=1
# Uninstall (for msi)
msiexec /x "{000000-00000000-00000000-000000}" /QUIET /NORESTART /L*V "C:\Windows\Temp\appname-Uninstall.log" XPSWDRF="XXXXXXXXXX"