What is It?
Media Player Classic - Home Cinema (MPC-HC) is an extremely light-weight, open source media player for Windows®. It supports all common video and audio file formats available for playback.
The source is available for download here.
How to Install Silently?
To Install:
Step 1: Download the source from web and get the installer "MPC-HC.1.7.11.x64.exe"
Step 2: Run following command:
"MPC-HC.1.7.11.x64.exe" /VERYSILENT /NORESTART /COMPONENTS="main,mpciconlib"
/VERYSILENT: silent install with no user interface
/COMPONENTS: comma separated list of component names. Overrides default component settings.
/NORESTART: suppresses any reboot prompt along-with hard reboot itself
Other list of arguments which might be useful:
/SILENT or /SUPPRESSMSGBOXES: silent install with some prompts in the middle
/LOG: creates log in %TEMP%
/LOG="filename or path of filename": allows you to specify path to log file
Step 2: Run following command:
"MPC-HC.1.7.11.x64.exe" /VERYSILENT /NORESTART /COMPONENTS="main,mpciconlib"
/VERYSILENT: silent install with no user interface
/COMPONENTS: comma separated list of component names. Overrides default component settings.
/NORESTART: suppresses any reboot prompt along-with hard reboot itself
Other list of arguments which might be useful:
/SILENT or /SUPPRESSMSGBOXES: silent install with some prompts in the middle
/LOG: creates log in %TEMP%
/LOG="filename or path of filename": allows you to specify path to log file
/CLOSEAPPLICATIONS: Closes any process which needs to be stopped for process to complete
/NOCLOSEAPPLICATIONS: Does not allow any process to stop
/LOADINF="filename": Path specified where the application settings are loaded as INF file
/DIR="path of install directory": customize install directory
/NOICONS: does not create any Start Menu shortcut
/NOCLOSEAPPLICATIONS: Does not allow any process to stop
/LOADINF="filename": Path specified where the application settings are loaded as INF file
/DIR="path of install directory": customize install directory
/NOICONS: does not create any Start Menu shortcut
To Uninstall:
Run following command:
"%ProgramFiles%\MPC-HC\unins000.exe" /VERYSILENT
"%ProgramFiles%\MPC-HC\unins000.exe": this path might be different for those who used /DIR argument during install
"%ProgramFiles%\MPC-HC\unins000.exe": this path might be different for those who used /DIR argument during install
Additional Notes:
- Above mentioned install/uninstall instructions are created based on version 1.7.11 of MPC-HC in 64-bit machine.
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 rather than 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: Registry
Hive: HKLM
Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2ACBF1FA-F5C3-4B19-A774-B22A31F231B9}
Value: DisplayVersion
Data Type: String
Operator: Equals
Value: 1.7.11
Hive: HKLM
Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2ACBF1FA-F5C3-4B19-A774-B22A31F231B9}
Value: DisplayVersion
Data Type: String
Operator: Equals
Value: 1.7.11
Comments
Post a Comment