Unattended Installs – K-Lite Codec Pack

K-Lite Codec Pack (Corporate)Media Player Classic Logo

K-Lite does a codec pack that covers almost every type of media you could think of, including things like Real and QuickTime, as well as including Media Player Classic (a light-weight but feature-rich media player program).

The method used here was tested and working with K-Lite v4.7.5.

Download it from here.

Installing K-Lite is a two-step process.  First, you need to run the installer in a mode that lets you create an unattended install file.

klcodec475c.exe -MakeUnattended

This runs up the installer to let you select the options you want for your install.  Doing this doesn’t actually install the codec pack so you can do this even on a computer that already has the K-Lite Codec Pack installed.  Once it finishes, this process will create two extra files in the same directory as the installer program; klcpc.ini and klcpc.bat.

If you’re just looking for a silent install for K-Lite Codec Pack, running klcpc.bat will get you there.

In my case, where I’m integrating it into a larger batch file to do multiple silent installs, I’ve taken that basic klcpc.bat and customised it for the bit I needed:

klcodec475c.exe /verysilent /norestart /loadinf".klcpc.ini"

Here’s what the K-Lite folks have to say about doing a silent install.

(This article is part of a series about the build disc I use to standardise system builds. The series starts here and this particular article follows on from this one.)