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 version 17 but should work for other versions.
Having troubles with the instructions? Take a look at the example download. Full Download:7ZipSilentInstall.zip |
@echo off cls REM Install 7-Zip REM ravinder.jaiswal.com 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) "%~dp07z1700-x64.msi" /q" if defined ProgramFiles(x86) exit REM Silent install 7-Zip for 32-bit "%~dp07z1700.msi" /q"