Utilities
MSI
Verified recipe
7-Zip (MSI) Silent Install Switches (Intune & SCCM)
Silent install switches
/quiet /norestart
Silent uninstall switches: /quiet /norestart
Intune Win32 app settings
Paste these into the Program and Detection rules steps when you add 7-Zip (MSI) as a Win32 app.
Install command
msiexec /i 7z.msi /quiet /norestartUninstall command
msiexec /x {7ZIP_GUID} /quiet /norestartDetection rule (MSI product code)
{23170F69-40C1-2702-XXXX-000001000000}- Device restart behavior: no restart required.
SCCM / ConfigMgr deployment type
Installation program
msiexec /i 7z.msi /quiet /norestartUninstall program
msiexec /x {7ZIP_GUID} /quiet /norestartDeployment notes
MSI version available from 7-Zip website. GUID changes per version.
Windows Installer packages install silently with msiexec /i <file>.msi /qn (or /quiet) and uninstall with msiexec /x {ProductCode} /qn.
Other 7-Zip installers
- 7-Zip silent install · NSIS
FAQ
- What are the silent install switches for 7-Zip (MSI)?
- 7-Zip (MSI) installs silently with /quiet /norestart (it uses a MSI installer). Full command: msiexec /i 7z.msi /quiet /norestart
- How do I silently uninstall 7-Zip (MSI)?
- Run: msiexec /x {7ZIP_GUID} /quiet /norestart
- What detection rule should I use for 7-Zip (MSI) in Intune?
- Use a msi product code detection rule. MSI product code: {23170F69-40C1-2702-XXXX-000001000000}.
- How do I deploy 7-Zip (MSI) with Intune?
- Wrap the installer as a Win32 app (.intunewin), set the install and uninstall commands above, and add the detection rule. InstallMage can build the .intunewin and generate these commands from the 7-Zip (MSI) installer in under three minutes.