MSFN Forum: K-Lite Mega Codec Pack extensions - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

K-Lite Mega Codec Pack extensions Play files with WMP10 Rate Topic: -----

#1 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

  Posted 18 May 2005 - 07:32 AM

At the end of installation of K-lite mega codec pack, when you have NOT selected to install WMP classic it asks you if you want to asociate all filtypes to Windows Media Player. How do i do this unattended???


my sielnt.inf
Setup]
Lang=en
Dir=C:\Programfiler\K-Lite Codec Pack
Group=K-Lite Codec Pack
NoIcons=1
Components=video\divx\dec,video\divx\enc,video\xvid\dec,video\xvid\enc,video\3ivx\dec,video\3ivx\enc,video\wmv9vcm,video\wmv,video\vp3,video\vp6\dec,video\vp6\enc,video\indeo\5,video\indeo\4,video\indeo\32,video\i263,video\huffyuv,video\msmpeg4,video\divxmpeg4,video\mpeg2\splt\mc,video\mpeg2\dec\mc,qt\codec,qt\codec\browser,qt\codec\plugins,qt\directshow,real\codec,real\codec\browser,real\directshow,audio\mp3,audio\wma,audio\ac3,audio\ac3\boostvolume,audio\ac3acm,audio\vorbis,audio\aac,audio\3ivx\dec,audio\3ivx\enc,audio\musepack,audio\voxware,audio\ape,audio\divxwma,audio\mp3lame,filters\mp4,filters\ogg\oggds,filters\matroska\gabest,filters\matroskamuxer,filters\vsfilter,filters\matrixmixer,filters\shoutcast,filters\mmswitch,filters\dcdsp,ffdshow\keepconfig,ffdshow\vfw,compat\dshow



#2 User is offline   bardock 

  • Group: Members
  • Posts: 4
  • Joined: 17-May 05

Posted 18 May 2005 - 09:25 AM

I don't no if it works but i'm doing it like this,

ECHO.
ECHO Installing K-Lite Codecs.....
ECHO Please wait...
start /wait %systemdrive%\install\Applications\K-LiteCodecs\K-LiteCodecs.exe /VERYSILENT /SP-

#3 User is offline   OrcoXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 03-July 03

Posted 18 May 2005 - 07:35 PM

what does /SP- actually do...

I see lots of references to it but no explanation

:huh:

#4 User is offline   sleepnmojo 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 472
  • Joined: 02-March 04

Posted 18 May 2005 - 08:01 PM

I actually do all my file associations through an inf file, but I can post the video section if you want.

#5 User is offline   Screwz Luse 

  • Member
  • PipPip
  • Group: Members
  • Posts: 158
  • Joined: 19-November 03

Posted 18 May 2005 - 09:08 PM

sleepnmojo, on May 18 2005, 08:01 PM, said:

I actually do all my file associations through an inf file, but I can post the video section if you want.
<{POST_SNAPBACK}>
You should post it for reference. Could help some people out. heh...

#6 User is offline   sleepnmojo 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 472
  • Joined: 02-March 04

Posted 19 May 2005 - 03:57 AM

Here is a cut up version of my inf file. I have it set for Zoom player, but you can easily change it to MPC. All that you would need to change is

"""%16422%\Zoom Player\zplayer.exe"" ""%1"""

to where ever MPC is.

[Version]
Signature="$Windows NT$"

[DefaultInstall]
AddReg=Video

[Video]
;Zoom Player-----------------------------------------------
HKCR, "ZoomPlayer.File", , %REG_SZ%, "Zoomplayer media file"
HKCR, "ZoomPlayer.File\Shell", , %REG_SZ%, "Play"
HKCR, "ZoomPlayer.File\Shell\Play\Command", , %REG_SZ%, """%16422%\Zoom Player\zplayer.exe"" ""%1"""
HKCR, "ZoomPlayer.File\DefaultIcon", , %REG_SZ%, "%16422%\Mega Codec Pack\icons\codecs.ico"

;vcd
HKCR, ".bin",  , %REG_SZ%, "ZoomPlayer.File"

;dvd
HKCR, ".ifo",  , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".vob",  , %REG_SZ%, "ZoomPlayer.File"

;Matroska video
HKCR, ".mka",  , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".mkv",  , %REG_SZ%, "ZoomPlayer.File"

;MPEG video
HKCR, ".mpg",  , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".mpeg", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".mpe",  , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".m1v",  , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".m2v",  , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".mp2v", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".mpv2", , %REG_SZ%, "ZoomPlayer.File"

;MPEG4 video
HKCR, ".mp4",  , %REG_SZ%, "ZoomPlayer.File"

;OGG Media
HKCR, ".omg",  , %REG_SZ%, "ZoomPlayer.File"

;other media
HKCR, ".divx", , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".xvid", , %REG_SZ%, "ZoomPlayer.File"

;playlists
HKCR, ".asx",  , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".wax",  , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".wmx",  , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".wvx",  , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".zpl",  , %REG_SZ%, "ZoomPlayer.File"

;video
HKCR, ".avi",  , %REG_SZ%, "ZoomPlayer.File"

;windows media
HKCR, ".asf",  , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".wm",   , %REG_SZ%, "ZoomPlayer.File"
HKCR, ".wmv",  , %REG_SZ%, "ZoomPlayer.File"

[Strings]
REG_SZ                = 0x00000000


#7 User is offline   maniaq 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 378
  • Joined: 28-November 04
  • OS:none specified
  • Country: Country Flag

Posted 19 May 2005 - 11:20 AM

hhhmmmm,


it is wery difficult to me, but can anyone tell how could I make k-lite codec pack "normal" silent install without this section:

[attachment=6573:attachment]

I would be wery greatfull

#8 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 19 May 2005 - 11:25 AM

Dude, are you serious? There is a post about this like RIGHT below this post. http://www.msfn.org/...showtopic=46508

#9 User is offline   maniaq 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 378
  • Joined: 28-November 04
  • OS:none specified
  • Country: Country Flag

Posted 19 May 2005 - 11:27 AM

BoardBabe, on May 19 2005, 11:25 AM, said:

Dude, are you serious? There is a post about this like RIGHT below this post. http://www.msfn.org/...showtopic=46508
<{POST_SNAPBACK}>


sorry I haven't seen it :D :P

#10 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 19 May 2005 - 03:08 PM

:D

#11 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 21 May 2005 - 07:15 PM

How do i launch klitemegacodecpack setup with loadinf trigger from autoit?

something like

Run(@ScriptDir & "\klmcodec.exe /loadinf='\klmcp.ini'")


although this does not work

#12 User is offline   OrcoXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 03-July 03

Posted 23 May 2005 - 08:49 PM

Does anyone have a version of the inf to post that would be used for WMP10.

It would also help for the syntax to install it too...

TIA!

#13 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 24 May 2005 - 04:38 AM

I really never figured out how to do that, so here is how i solwed it with autoit. This works fine, and will have all files associate with WMP10. (name K-lite Mega Codec Pack v1.31 "klmcodec.exe").

klmcp.ini
[Setup]
Lang=en
;Dir=C:\Program Files\K-Lite Codec Pack
Group=K-Lite Codec Pack
NoIcons=1
Components=video\divx\dec,video\divx\enc,video\xvid\dec,video\xvid\enc,video\3ivx\dec,video\3ivx\enc,video\wmv9vcm,video\wmv,video\vp3,video\vp6\dec,video\vp6\enc,video\indeo\5,video\indeo\4,video\indeo\32,video\i263,video\huffyuv,video\msmpeg4,video\divxmpeg4,video\dvd,video\mpeg2\splt\lg,video\mpeg2\dec\lg,qt\codec,qt\codec\browser,qt\codec\plugins,qt\directshow,real\codec,real\codec\browser,real\directshow,audio\mp3,audio\wma,audio\ac3,audio\ac3\boostvolume,audio\ac3acm,audio\vorbis,audio\aac,audio\3ivx\dec,audio\3ivx\enc,audio\musepack,audio\voxware,audio\ape,audio\divxwma,audio\mp3lame,filters\mp4,filters\ogg\oggds,filters\matroska\gabest,filters\matroskamuxer,filters\vsfilter,filters\matrixmixer,filters\shoutcast,filters\mmswitch,filters\dcdsp,ffdshow,ffdshow\keepconfig,ffdshow\vfw,compat\g400,compat\divxaf,compat\ivideo,compat\dshow


Setup.exe (AutoIt)
; AutoIt Options.
AutoItSetOption("TrayIconHide", 1)
AutoItSetOption("WinTitleMatchMode", 4)

; Verify Only One Instance of Installer is Running.
$installername = "Automatisk installerer v1.0"
If WinExists($installername) Then Exit
AutoItWinSetTitle($installername)

; Installation Variables.
$installerpath = @ScriptDir & "\klmcodec.exe"
$inipath = @ScriptDir & "\klmcp.ini"
$prefspath = @ScriptDir & "\QuickTimePrefs.exe"

; Verify Installation File Paths.
If Not FileExists($installerpath) Then
SplashTextOn("Error", @CRLF & "    File missing:" & @CRLF & "    " & $installerpath, 500, 90, -1, -1, 4, "Arial", 11, 11)
WinActivate("Error")
Sleep(4000)
SplashOff()
Exit
ElseIf Not FileExists ($inipath) Then
SplashTextOn("Error", @CRLF & "    File missing:" & @CRLF & "    " & $inipath, 500, 90, -1, -1, 4, "Arial", 11, 11)
WinActivate("Error")
Sleep(4000)
SplashOff()
Exit
EndIf

; Start Installation.
Run($installerpath & ' /loadinf="' & $inipath & '"')

; Welcome Dialog.
WinWait("Setup - K-Lite Mega Codec Pack", "This will install the K-Lite Mega Codec Pack on your computer.")
ControlClick("Setup - K-Lite Mega Codec Pack", "This will install the K-Lite Mega Codec Pack on your computer.", "TButton1")

; Information.
WinWait("Setup - K-Lite Mega Codec Pack", "Please read the following important information before continuing.")
ControlClick("Setup - K-Lite Mega Codec Pack", "Please read the following important information before continuing.", "TButton2")

; Select Destination Location.
WinWait("Setup - K-Lite Mega Codec Pack", "Where should the K-Lite Mega Codec Pack be installed?")
ControlClick("Setup - K-Lite Mega Codec Pack", "Where should the K-Lite Mega Codec Pack be installed?", "TButton3")

; Select Components.
WinWait("Setup - K-Lite Mega Codec Pack", "Which components should be installed?")
ControlClick("Setup - K-Lite Mega Codec Pack", "Which components should be installed?", "TButton3")

; Select Start Menu folder.
WinWait("Setup - K-Lite Mega Codec Pack", "Where should Setup place the program's shortcuts?")
ControlClick("Setup - K-Lite Mega Codec Pack", "Where should Setup place the program's shortcuts?", "TButton4")

; Block User Interruption.
BlockInput(1)

; Select Additional Tasks (Select all files to play in WMP10).
WinWait("Setup - K-Lite Mega Codec Pack", "Which additional tasks should be performed?")
If Not WinActive("Setup - K-Lite Mega Codec Pack", "Which additional tasks should be performed?") Then
WinActivate("Setup - K-Lite Mega Codec Pack", "Which additional tasks should be performed?")
WinWaitActive("Setup - K-Lite Mega Codec Pack", "Which additional tasks should be performed?")
EndIf
Sleep(500)
Send("{SPACE}")
Sleep(500)
Send("Check")
Sleep(500)
Send("{SPACE}")

; Unblock User Interruption.
BlockInput(0)

; Select Additional Tasks (Continue Installation).
Sleep(1000)
ControlClick("Setup - K-Lite Mega Codec Pack", "Which additional tasks should be performed?", "TButton4")

; Ready to install.
WinWait("Setup - K-Lite Mega Codec Pack", "Setup is now ready to begin installing the K-Lite Mega Codec Pack on your computer.")
ControlClick("Setup - K-Lite Mega Codec Pack", "Setup is now ready to begin installing the K-Lite Mega Codec Pack on your computer.", "TButton4")

; Done!
WinWait("Setup - K-Lite Mega Codec Pack", "Setup has finished installing the K-Lite Mega Codec Pack on your computer.")
ControlClick("Setup - K-Lite Mega Codec Pack", "Setup has finished installing the K-Lite Mega Codec Pack on your computer.", "TButton4")

; Install QuickTime Preferences.
If FileExists($prefspath) Then
RunWait($prefspath)
EndIf

Exit

;eof


QuickTimePrefs.exe is an winRAR SFX made of QuickTime.qtp (settings file for QuickTime)

Path=%Programfiles%\K-Lite Codec Pack\QuickTime
SavePath
Silent=1
Overwrite=1


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy