What is It?
How to Install Silently?
To Install:
Step 1: Download the source from web and get the installer "7z1900-x64.msi"
Step 2: Run following command:
Step 2: Run following command:
msiexec.exe /i "7z1900-x64.msi" MSIRMSHUTDOWN=2 /quiet /norestart
where MSIRMSHUTDOWN=2 is used to suppress the killing of explorer.exe, as the taskbar restarts during the install/upgrade.
To Uninstall:
Run following command:
msiexec.exe /x {23170F69-40C1-2702-1900-000001000000} /quiet /norestart
Additional Notes:
- Above mentioned install/uninstall instructions are created based on 7-Zip application on a 64-bit machine.
- Ensure that 7-Zip (7zFM.exe) isn't running during upgrade/uninstall of the application, to avoid any data loss.
Note: This can be taken care by a new feature introduced from SCCM 1702 onwards. "Install Behavior" option under "Deployment Method" enables process kill before install process executes. So, people using SCCM latest version, can use this feature, which is similar to Taskkill in Windows.
- Command executions are based on SCCM platform or used with tools like PsExec, to make them run in System Context only.
- Suggested detection Method in SCCM:
Setting Type: Windows Installer
The above Product Code will be auto-detected from the MSI.
Product Code: {23170F69-40C1-2702-1900-000001000000}
The above Product Code will be auto-detected from the MSI.
Comments
Post a Comment