Deploying K-Lite Codec Pack
So, I got a packaging request for K-Lite Codec Pack Standard from one of our clients. K-Lite Codec Pack is a collection of VFW/ACM codecs, DirectShow filters and tools. Codecs and DirectShow filters are needed for encoding and decoding (playing) audio and video formats. The K-Lite Codec Pack is designed as a user-friendly solution for playing all your audio and movie files.
Being a collection of video and audio codecs, I decided to use the downloable installer for deployment rather than repackaging it.
The installer of K-Lite Codec Pack supports recording of the parameters in to a file which can be loaded o perform a silent deployment. I am going to try giving a step by step guide on a what I did to make it work.
- Download the K-Lite Codec Pack Setup
The Installer can be downloaded from a number of sources. A Google search should reveal download links. The following is the page I used.
http://www.codecguide.com/download_kl.htm
2. Generation of Silent Install Config File
Use the -MakeUnattended commandline switch to get the Unattended file generation wizard.
C:\klcodec410.exe -MakeUnattended








This will create two files, klcps.ini & klcps.bat, in the same folder as the K-lite setup.

3. Silent Installation
We need the K-Lite setup exe and the generated klcps.ini file for performing a silent deployment. The following command line is the the best way to do it.
klcodec380s.exe /SP- /VERYSILENT /NOCANCEL /NORESTART /LOADINF=".\klcps.ini"
4. Silent Uninstall
"C:\Program Files\K-Lite Codec Pack\unins000.exe" /VERYSILENT /NORESTART
The path “C:\Program Files\K-Lite Codec Pack\unins000.exe” should be changed to the install path choose during the step 2.
Note: Feel free to post any queries in the Pacakge Deploy Forums.























