1. Home
  2. Knowledge Base
  3. ConfigMgr / SCCM
  4. How to install 7-Zip silently

How to install 7-Zip silently

The following process shows how to setup a silent install that will work with 32-bit and 64-bit versions of Windows.

It can be used to distribute 7-Zip to computers using a software management tool such as SCCM (System Config Configuration Manager).

It has been written for 7Zip version 19 but should work for other versions.

Having troubles with the instructions? Take a look at the example download.
Full Download: 7ZipSilentInstall.zip
  1. Download both the 32-bit and 64-bit versions of the MSI installation files from http://www.7-zip.org/download.html
  2. Create a text file called install.cmd and copy in the following information
@echo off
echo --------------------------------------------------------
echo .
echo .           Installing 7-Zip - Please Wait.
echo .         (This window will close once installed)
echo .

REM Silent install 7-Zip for 64-bit
if defined ProgramFiles(x86) "%~dp07z1900-x64.msi" /q"
if defined ProgramFiles(x86) exit

REM Silent install 7-Zip for 32-bit
"%~dp07z1900.msi" /q"
  1. Copy the two exe install files and install.cmd to your software package share
  2. You can now create your SCCM package or deploy the software by using install.cmd

For more information on creating SCCM packages see distribute software using SCCM.

For more information on silent installs with 7-Zip see http://www.7-zip.org/faq.html

Was this article helpful?

Related Articles