The K-Lite Codec Pack is a collection of audio and video codecs for Microsoft Windows DirectShow that enables an operating system and its software to play various audio and video formats generally not supported by the operating system itself. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of K-Lite Codec Pack from the command line using the EXE installer.
After a few moments you should see the K-Lite Codec Pack shortcut in theStart Menu, Installation Directory, and Programs and Features in the Control Panel.
After a few moments you should see the K-Lite Codec Pack shortcut in theStart Menu, Installation Directory, and Programs and Features in the Control Panel.
After a few moments you should see the K-Lite Codec Pack shortcut in theStart Menu, Installation Directory, and Programs and Features in the Control Panel.
After a few moments you should see the K-Lite Codec Pack shortcut in theStart Menu, Installation Directory, and Programs and Features in the Control Panel.
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create a K-Lite Codec Pack Installation Log File
The K-Lite Codec Pack installers offer the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.
K-Lite Codec Pack Basic Silent Install (EXE) with Logging
Change the K-Lite Codec Pack Default Installation Directory
You can change the default installation directory by using the following command line parameters. In this example, I’m installing K-Lite Codec Pack to “C:\K-Lite Codec Pack”
By default, K-Lite Codec Pack will check for updates automatically. You can disable the check for updates by using the following command line parameters.
K-Lite Codec Pack Basic Silent Install (EXE) with No Auto Updates
Create a Custom K-Lite Codec Pack Unattended Install
K-Lite Codec PackBasic Custom Unattended Install
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads folder
Enter the following command:
K-Lite_Codec_Pack_xxxx_Basic.exe /UNATTENDED
The Unattended Wizard will popup after a few moments. Walk through the wizard and select the components and settings that you want to use in your unattended install
Two files will be created in the same directory as the installer:
klcp_basic_unattended.ini and klcp_basic_unattended.bat
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads folder
Enter the following command:
K-Lite_Codec_Pack_xxxx_Standard.exe /UNATTENDED
The Unattended Wizard will popup after a few moments. Walk through the wizard and select the components and settings that you want to use in your unattended install
Two files will be created in the same directory as the installer:
klcp_standard_unattended.ini and klcp_standard_unattended.bat
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads folder
Enter the following command:
K-Lite_Codec_Pack_xxxx_Full.exe /UNATTENDED
The Unattended Wizard will popup after a few moments. Walk through the wizard and select the components and settings that you want to use in your unattended install
Two files will be created in the same directory as the installer:
klcp_full_unattended.ini and klcp_full_unattended.bat
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads folder
Enter the following command:
K-Lite_Codec_Pack_xxxx_Mega.exe /UNATTENDED
The Unattended Wizard will popup after a few moments. Walk through the wizard and select the components and settings that you want to use in your unattended install
Two files will be created in the same directory as the installer:
klcp_mega_unattended.ini and klcp_mega_unattended.bat
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.