Help - Search - Members - Calendar
Full Version: MSFN XP Codec-Pack 5.5
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16

   


Google Internet Forums Unattended CD/DVD Guide
gmx
swgreed... this might help you in making complete codec[decoder] pack...

http://www.inmatrix.com/zplayer/formats/
edmoncu
im tempted to use this one on my unattended cd.

i hope you wont mind me asking this, but how does this differ with klite mega codec pak? thanks. smile.gif
swgreed
QUOTE (gmx @ May 18 2004, 09:31 AM)
swgreed... this might help you in making complete codec[decoder] pack...

http://www.inmatrix.com/zplayer/formats/

@gmx: I know this site quite well, since I translated ZP into German newwink.gif
My intention wasn't to create a "complete" codec pack, but to implement only the most common used codecs.

@edmoncu: it's a bit different from K-lite Mega Codec Pack:
- No additional MediaPlayer (i.e. Media Player Classic)
- No Realmedia & no Quicktime support
- Following decoders not included: 3ivX, FDDShow, MusePack, Voxware, Monkey's Audio, Matroska, DirectVobSub, Morgan Multimedia Stream Switcher, huffyuv, LAME MP3 ACM
codeblue
Tryed to d-load codec from link in first post but it took me to this site?

arcor?
Bâshrat the Sneaky
QUOTE (swgreed @ May 17 2004, 05:22 PM)
update, see 1st post

DTS Sound Filter: you mean ACM or something similar?
i'm open to any suggestions newwink.gif

I meant AC3/DTS filter. link
EDIT:whoops : blushing.gif didn't notice AC3 has already been implemented ...

Perhaps also SHOUTCASTfilter? link

EDIT: Why do you prefer fraunhofer over lame? (Just being curious)
swgreed
sorry, the webspace went down because of too much traffic.

use this one instead:
http://dangerfreak.s3.cybton.com/codecs.rar

@Bâshrat the Sneaky:
why fraunhofer? -> Don't know... since they "invented" mp3, their encoder can't be such a bad choice newwink.gif


some statements:

QUOTE
What's better: LAME or Fraunhofer-based coders?

Well... The only I can say here is that all ISO-based coders, moreover based on Xing, makes no sense to use. LAME absorbed everything best from ISO and went on pursuing Fraunhofer. Thus, some prefer to use it, but some still deal only with Fraunhofer: LAME releases versions nearly every day, and they constantly find errors in old versions. But is Fraunhofer better: there are errors as well, but they are not corrected for years. By the way, LAME project coordinator announced release of stable versions, that is without innovations and with just old errors corrected
http://www.digit-life.com/articles/mp3comp/


QUOTE
Fraunhofer performs better than lame at higher frequencies which doesn't come without a cost at lower frequencies
http://www.sonarnerd.net/projects/wavcomp/


QUOTE
What Fraunhofer excels in is low bitrate encoding. At bitrates of 128 kbit/s and lower no other encoder can beat Fraunhofer.
http://www.free-codecs.com/download/Fraunh..._Radium_MP3.htm
Bâshrat the Sneaky
There's a new version of the AC3 filter! 1.01a RC1

Downloadpage of ac3filter project: http://ac3filter.sourceforge.net/download/

Direct download link: http://ac3filter.sourceforge.net/download/...r_1_01a_rc1.exe
MtK
@swgreed:

what about those DTS Filters/codecs I sent you?
swgreed
QUOTE (MtK @ May 20 2004, 07:49 PM)
@swgreed:

what avout those DTS Filters/codecs I sent you?

??? I didn't get a mail...

isn't AC3 enough as DTS filter?
(will implement 1.01a RC1 soon, because it runs flawlessly here, and also fixed a bug with multiple AC3 streams)
MtK
@swgreed,

U'r right, it wasn't a mail, it was a PM.

never mind, I've tried the new AC3 Filter, but still can;t get any SPDIF DTS sound...
As for the InterVideo DTS Filter, It passes OK...
Bâshrat the Sneaky
A small question: why again was this pack better than the K-lite codecpack?
[BM]Crusher
because it installs via a batch file? i guess? smile.gif

k-lite installs good enough for me... but then again you can't change any of the options?

that makes this batch file a bit better if you want to modify what it installs i guess
swgreed
QUOTE (Bâshrat the Sneaky @ May 21 2004, 09:50 AM)
A small question: why again was this pack better than the K-lite codecpack?

nobody said, it's "better"...
if you don't need it -> don't use it... simple as that
Jazz
QUOTE ([BM)
Crusher,May 21 2004, 02:52 AM] because it installs via a batch file? i guess? smile.gif

k-lite installs good enough for me... but then again you can't change any of the options?

that makes this batch file a bit better if you want to modify what it installs i guess

Well not exactly.. u can select what components u wanna install in K-lite too,

Heres my Command for installing K-lite
CODE
Echo Installing K-Lite Codec Pack
ECHO Please Wait...
start /wait %systemdrive%\install\Applications\K-Lite\klmcodec101.exe /silent /loadinf=".\silent.inf"
ECHO.

And Heres my silent.inf
CODE
[Setup]
Lang=en
Dir=C:\Program Files\K-Lite Codec Pack
Group=K-Lite Codec Pack
NoIcons=0
Components=mpclassic, divxdec, divx, divxmpeg4, xviddec, xvid, 3ivxdec, 3ivx, wmv, mpeg2, vp3, vp6dec, vp6, dvd, msmpeg4, qtcodec, qtdirectshow, qtcpl, qtbrowserplugin, realcodec, realdirectshow, realbrowserplugin, mp3audio, wmaaudio, ac3audio, oggvorbis, aac, musepack, voxware, ape, mp3lame, oggvorbissplitter, matroska, vsfilter, divxaf, gspot, fourcc, minicalc, disg400, disffdshow


The only advantage i think is that this project is maintained much more than the K-lite one, and we can expect to see much more things added if there is good request for it.. so it kinda feels good to be in control thumbup.gif

Hope this Helps,

BYe,
Jazz
Bâshrat the Sneaky
OK, convinced now.

This pack is all about the control, 'all-you-need-and-nothing-more' and add-on's /updates on request..
MtK
I'm having some problem with the new AC3Filter, that I didn't have with its previous version.
After registering AC3Filter.ax, I try to play an AC3 movie and it does not start if AC3Filter is set to SPDIF-Out.

Does any1 knows about it? Again, with ver 0.7 it works fine...
swgreed
this problem insisted with RC1 and was fixed in RC4. I'll add the final Version of AC3, when it's finished in the near future.
MtK
Thanks, it works fine now...
Jedi82
amazing tool great job man!
Jedi82
swg, it' correct like this?-->

ECHO Installazione tweaks del registro...
REGEDIT /S %systemdrive%\install\RegTweaks.reg
ECHO Fatto.
ECHO Installazione dei codecs generici...
start /wait %systemdrive%\install\codecs\register.cmd
ECHO Fatto.
ECHO Rimozione shortcuts inutili...
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"
ECHO Fatto.
ECHO Riavvio del computer in 1 minuto...
.......
swgreed
update!

added: AC3 Filter 1.01a RC5
removed: matrixmixer
byte.chaser
Having a small problem, doesnt want to install for me

QUOTE
copy *.* %systemroot%\system32

regsvr32 /s %systemroot%\system32\ac3filter.ax
regsvr32 /s %systemroot%\system32\CLLine21.ax
regsvr32 /s %systemroot%\system32\CLNAVX.ax
regsvr32 /s %systemroot%\system32\CLVSD.ax
regsvr32 /s %systemroot%\system32\divxdec.ax
regsvr32 /s %systemroot%\system32\matrix_mixer.ax
regsvr32 /s %systemroot%\system32\xvid.ax
regsvr32 /s %systemroot%\system32\mpeg2dmx.ax
regsvr32 /s %systemroot%\system32\mpgaudio.ax
regsvr32 /s %systemroot%\system32\mpgdec.ax
regsvr32 /s %systemroot%\system32\CoreVorbis.ax
regsvr32 /s %systemroot%\system32\l3codecx.ax
regsvr32 /s %systemroot%\system32\iac25_32.ax
regsvr32 /s %systemroot%\system32\Ivfsrc.ax
regsvr32 /s %systemroot%\system32\vp6dec.ax
regsvr32 /s %systemroot%\system32\ir41_32.ax
regsvr32 /s %systemroot%\system32\OggDS.dll

REGEDIT /S %systemdrive%\install\codecreg.reg
I have that in \$OEM$\$1\install\codecs\

But when i starts at copy *.* %systemroot%\system32
i get "error cannot find file"
The rest continues, but hangs at the last one. I waited five minutes before deciding to close the windows and still got "are you sure you want to terminate batch.."

any idea what i may be doing wrong? i just copied the whole codec folder
and added the line

QUOTE
start /wait %systemdrive%\install\codecs\register.cmd

to the main batch file

confused.gif
swgreed
1st of all: if you downloaded the pack, you certainly got an old version, since matrix_mixer.ax is not included anymode (the new AC3 replaces it completely)


if you want to integrate it, copy the codec files to:
$OEM$\$$\System32

(files in that folder will be copied in the system32 folder of the win-installation and you don't need to copy them anymore)

after that, add in your "cleanup.cmd":
QUOTE
regsvr32 /s %systemroot%\system32\ac3filter.ax
regsvr32 /s %systemroot%\system32\CLLine21.ax
regsvr32 /s %systemroot%\system32\CLNAVX.ax
regsvr32 /s %systemroot%\system32\CLVSD.ax
regsvr32 /s %systemroot%\system32\divxdec.ax
regsvr32 /s %systemroot%\system32\xvid.ax
regsvr32 /s %systemroot%\system32\mpeg2dmx.ax
regsvr32 /s %systemroot%\system32\mpgaudio.ax
regsvr32 /s %systemroot%\system32\mpgdec.ax
regsvr32 /s %systemroot%\system32\CoreVorbis.ax
regsvr32 /s %systemroot%\system32\l3codecx.ax
regsvr32 /s %systemroot%\system32\iac25_32.ax
regsvr32 /s %systemroot%\system32\Ivfsrc.ax
regsvr32 /s %systemroot%\system32\vp6dec.ax
regsvr32 /s %systemroot%\system32\ir41_32.ax
regsvr32 /s %systemroot%\system32\OggDS.dll

REGEDIT /S %systemdrive%\install\codecreg.reg

(some of you might have to edit the last line!)
byte.chaser
oops, dunno what i was thinking...

$1 gets copied to the root of the hard drive...

$$ gets copied to windows folder....

Thanks, dunno how i missed that, must be tired newwink.gif


I downloaded it from the first post...is that not the place to get it ?
byte.chaser
Where do i get the lastest one from ?
Bâshrat the Sneaky
QUOTE (byte.chaser @ May 27 2004, 06:41 PM)
Where do i get the lastest one from ?

ROFL

Perhaps on the ... First page ???? wacko.gif whistling.gif
byte.chaser
QUOTE (swgreed @ May 26 2004, 11:01 PM)
1st of all: if you downloaded the pack, you certainly got an old version, since matrix_mixer.ax is not included anymode (the new AC3 replaces it completely)


if you want to integrate it, copy the codec files to:
$OEM$\$$\System32

(files in that folder will be copied in the system32 folder of the win-installation and you don't need to copy them anymore)

after that, add in your "cleanup.cmd":
QUOTE

regsvr32 /s %systemroot%\system32\ac3filter.ax
regsvr32 /s %systemroot%\system32\CLLine21.ax
regsvr32 /s %systemroot%\system32\CLNAVX.ax
regsvr32 /s %systemroot%\system32\CLVSD.ax
regsvr32 /s %systemroot%\system32\divxdec.ax
regsvr32 /s %systemroot%\system32\xvid.ax
regsvr32 /s %systemroot%\system32\mpeg2dmx.ax
regsvr32 /s %systemroot%\system32\mpgaudio.ax
regsvr32 /s %systemroot%\system32\mpgdec.ax
regsvr32 /s %systemroot%\system32\CoreVorbis.ax
regsvr32 /s %systemroot%\system32\l3codecx.ax
regsvr32 /s %systemroot%\system32\iac25_32.ax
regsvr32 /s %systemroot%\system32\Ivfsrc.ax
regsvr32 /s %systemroot%\system32\vp6dec.ax
regsvr32 /s %systemroot%\system32\ir41_32.ax
regsvr32 /s %systemroot%\system32\OggDS.dll

REGEDIT /S %systemdrive%\install\codecreg.reg

(some of you might have to edit the last line!)







QUOTE
I downloaded it from the first post...is that not the place to get it ?




Obviously NOT the current one...... as that is where i got the one i have now
Swgreed had said its old because it has the matrix_mixer.ax
Does that mean i can just delete that or is ther a more current version?
swgreed
then re-download it please. i renamed it now and it's appro 4,45MB in size
Jedi82
Swg, some questions:

if you want to integrate it, copy the codec files to:
$OEM$\$$\System32

i must copy all the files without a folder and put them in System32 or i must put THE FOLDER in this directory??? Because i saw this line:
ECHO Installazione dei codecs generici...
start /wait %systemdrive%\install-->??? but you say that i must put all in $$ system32..???\codecs\register.cmd

after that, add in your "cleanup.cmd":

regsvr32 /s %systemroot%\system32\ac3filter.ax
regsvr32 /s %systemroot%\system32\CLLine21.ax
regsvr32 /s %systemroot%\system32\CLNAVX.ax
regsvr32 /s %systemroot%\system32\CLVSD.ax
regsvr32 /s %systemroot%\system32\divxdec.ax
regsvr32 /s %systemroot%\system32\xvid.ax
regsvr32 /s %systemroot%\system32\mpeg2dmx.ax
regsvr32 /s %systemroot%\system32\mpgaudio.ax
regsvr32 /s %systemroot%\system32\mpgdec.ax
regsvr32 /s %systemroot%\system32\CoreVorbis.ax
regsvr32 /s %systemroot%\system32\l3codecx.ax
regsvr32 /s %systemroot%\system32\iac25_32.ax
regsvr32 /s %systemroot%\system32\Ivfsrc.ax
regsvr32 /s %systemroot%\system32\vp6dec.ax
regsvr32 /s %systemroot%\system32\ir41_32.ax
regsvr32 /s %systemroot%\system32\OggDS.dll

REGEDIT /S %systemdrive%\install\codecreg.reg

so in my main cmd file what i must write??

ECHO Installazione dei codecs generici...
start /wait %systemdrive%\install\codecs\register.cmd
ECHO Fatto.

or

these lines:

regsvr32 /s %systemroot%\system32\ac3filter.ax
regsvr32 /s %systemroot%\system32\CLLine21.ax
regsvr32 /s %systemroot%\system32\CLNAVX.ax
regsvr32 /s %systemroot%\system32\CLVSD.ax
regsvr32 /s %systemroot%\system32\divxdec.ax
regsvr32 /s %systemroot%\system32\xvid.ax
regsvr32 /s %systemroot%\system32\mpeg2dmx.ax
regsvr32 /s %systemroot%\system32\mpgaudio.ax
regsvr32 /s %systemroot%\system32\mpgdec.ax
regsvr32 /s %systemroot%\system32\CoreVorbis.ax
regsvr32 /s %systemroot%\system32\l3codecx.ax
regsvr32 /s %systemroot%\system32\iac25_32.ax
regsvr32 /s %systemroot%\system32\Ivfsrc.ax
regsvr32 /s %systemroot%\system32\vp6dec.ax
regsvr32 /s %systemroot%\system32\ir41_32.ax
regsvr32 /s %systemroot%\system32\OggDS.dll

REGEDIT /S %systemdrive%\install\codecreg.reg

??? Tnx for help!
byte.chaser
QUOTE (swgreed @ May 28 2004, 03:32 AM)
then re-download it please. i renamed it now and it's appro 4,45MB in size

Thanks, I didnt know if that was up to date just the old files not removed so people could delete them if they wanted too.
byte.chaser
QUOTE
i must copy all the files without a folder and put them in System32 or i must put THE FOLDER in this directory??? Because i saw this line:
ECHO Installazione dei codecs generici...
start /wait %systemdrive%\install-->??? but you say that i must put all in $$ system32..???\codecs\register.cmd
I put the files (not folder) into \$OEM$\$$\System32 then i put the "codecs.reg" and
codecs.cmd into \$OEM$\$1\install

Then added the lines to my main .cmd of batch file, in my case its start.cmd
loaded from guirunonce in winnt.sif

QUOTE
ECHO.
ECHO Registering codecs
start /wait %systemdrive%\install\codecs.cmd

ECHO.
ECHO importing codec reg...
REGEDIT /S %systemdrive%\install\codecs.reg



Hope that helps
Jedi82
I put the files (not folder) into \$OEM$\$$\System32 then i put the "codecs.reg" and
codecs.cmd into \$OEM$\$1\install

so i must copy all the files but not the cmd and reg ones right in system32??

Then added the lines to my main .cmd of batch file, in my case its start.cmd
loaded from guirunonce in winnt.sif

QUOTE
ECHO.
ECHO Registering codecs
start /wait %systemdrive%\install\codecs.cmd

ECHO.
ECHO importing codec reg...
REGEDIT /S %systemdrive%\install\codecs.reg

right ok nice, but in the rar files the names are different, the names are: register.cmd and codecreg.reg, it's the same right?? This is mine:

ECHO Fatto.
ECHO.
ECHO Registrazione codecs...
start /wait %systemdrive%\install\register.cmd
ECHO Fatto.
ECHO importing codecs reg...
REGEDIT /S %systemdrive%\install\codecreg.reg
ECHO Fatto.

and in my install folder i have my main cmd file and the two codec files the cmd one and the reg!

Hope that helps

coollllllllllllllllllll!!!! i will test it but after you will reply to me:)
Solid as a rock
QUOTE (swgreed @ Feb 4 2004, 03:46 PM)
I decided to create a custom codecpack, since the install routine of the k-lite-codecpack does not work very well for me. (AC3 always messes up somehow)

You just have to copy all files in the "$OEM$\$$\System32" folder, run the "register.cmd" (or the commands in the batchfile) and everything will be installed within seconds. Sure there's no real choice in what is being installed or not, unless you edit the commented codecreg.reg & register.cmd manually!


This codecpack comes without a player and contains only the following codecs which i considered most useful/compatible:

nice work, but still not useable for me sad.gif

because i sometimes edit a movie and with basic (i means this is KLCP basic) u cant to do that...?

i install everything of KLCP full BUT i always uncheck the box of DVOBSUB, CLASSIC MEDIAPLAYER. Why? because dvobsub always conflicting with bsplayer (double subs) and i dont feel the need for install more players.

could u tell me howto or create a topic for who want encode and decode movies and use this in unattendcd ? maybe it is easy, i dont know... unsure.gif
swgreed
@SolidasRock:

This topic is not about the klite-codec-pack...
You cannot edit video files with klcp basic, since it only contains DECODERS, no encoders!! You'll need ENCODERS to edit video files. This codecpack here contains both... see 1st Page.
Just make sure the reg-file got executed, otherwise e.g. vdub won't recognize the recently installed codecs!
Jedi82
maybe i found how to install them but in my unattended install, when all codecs are registered, i remain with the cma file open so my pc will not continue install until i digit EXIT, how can i solv this problem?
Bâshrat the Sneaky
QUOTE (Jedi82 @ Jun 5 2004, 11:11 AM)
maybe i found how to install them but in my unattended install, when all codecs are registered, i remain with the cma file open so my pc will not continue install until i digit EXIT, how can i solv this problem?

You could start with trying to create sentences which are correct:

QUOTE
Maybe I found how to install them but in my unattended install, when all codecs are registered, I remain with the cmD file open so my pc will not continue the installation until I enter EXIT, how can I solve this problem?


Solution: add EXIT to the end of the CMD... (Wasn't that the obvious?)
Jedi82
yes it's so obvious buit if you look in the cmd file, here it is:

copy *.* %systemroot%\system32

regsvr32 /s %systemroot%\system32\ac3filter.ax
regsvr32 /s %systemroot%\system32\CLLine21.ax
regsvr32 /s %systemroot%\system32\CLNAVX.ax
regsvr32 /s %systemroot%\system32\CLVSD.ax
regsvr32 /s %systemroot%\system32\divxdec.ax
regsvr32 /s %systemroot%\system32\xvid.ax
regsvr32 /s %systemroot%\system32\mpeg2dmx.ax
regsvr32 /s %systemroot%\system32\mpgaudio.ax
regsvr32 /s %systemroot%\system32\mpgdec.ax
regsvr32 /s %systemroot%\system32\CoreVorbis.ax
regsvr32 /s %systemroot%\system32\l3codecx.ax
regsvr32 /s %systemroot%\system32\iac25_32.ax
regsvr32 /s %systemroot%\system32\Ivfsrc.ax
regsvr32 /s %systemroot%\system32\vp6dec.ax
regsvr32 /s %systemroot%\system32\ir41_32.ax
regsvr32 /s %systemroot%\system32\OggDS.dll

REGEDIT /S %systemdrive%\install\codecreg.reg
exit-->!!!!!!!!!!!!!
ethux
Thanks for this pack biggrin.gif. However, for those wanting to know how to use K-Lite codec pack, do check out this thread.

http://www.msfn.org/board/index.php?showto...=0&#entry138388

Note: I don't know if it's been posted in this thread yet =\.
Solid as a rock
QUOTE (Bâshrat the Sneaky @ Jun 5 2004, 03:16 AM)
  Solution: add EXIT to the end of the CMD... (Wasn't that the obvious?)

i really dont understand. i have try this a few time, but after this i never can open a divx movie.....

I put the files (not folder) into \$OEM$\$$\System32 then i put the "codecs.reg" and "codecs.cmd" into \$OEM$\$1\install

so i must copy all the files but not the cmd and reg ones right in system32??

Then added the lines to my main .cmd of batch file, in my case its main_batch.cmd
loaded from guirunonce in winnt.sif
CODE
[GuiRunOnce]
   Command0=%systemdrive%\install\main_batch.cmd
   Command1=%systemdrive%\install\codec.cmd


that is it? registering the codec.reg are already in codec.cmd in the last line?

CODE
CLS
copy *.* %systemroot%\system32

regsvr32 /s %systemroot%\system32\ac3filter.ax
regsvr32 /s %systemroot%\system32\CLLine21.ax
regsvr32 /s %systemroot%\system32\CLNAVX.ax
regsvr32 /s %systemroot%\system32\CLVSD.ax
regsvr32 /s %systemroot%\system32\divxdec.ax
regsvr32 /s %systemroot%\system32\xvid.ax
regsvr32 /s %systemroot%\system32\mpeg2dmx.ax
regsvr32 /s %systemroot%\system32\mpgaudio.ax
regsvr32 /s %systemroot%\system32\mpgdec.ax
regsvr32 /s %systemroot%\system32\CoreVorbis.ax
regsvr32 /s %systemroot%\system32\l3codecx.ax
regsvr32 /s %systemroot%\system32\iac25_32.ax
regsvr32 /s %systemroot%\system32\Ivfsrc.ax
regsvr32 /s %systemroot%\system32\vp6dec.ax
regsvr32 /s %systemroot%\system32\ir41_32.ax
regsvr32 /s %systemroot%\system32\OggDS.dll

REGEDIT /S %systemdrive%\install\codec.reg
exit
AMDTWraith
If you're going to be registering codecs manually why not jsut write inf files for each of them? It removes the need to know a path to the files themselves and enables you to do add them to the add/remove programs list as well. Registration is handled with the DllRegister command and the registry stuff with AddReg, all its quite simple once you learn the basics.

I've got side by side divx 3, 4 and 5 as well as huffyuv and mjpeg codecs working with this method as well as mpc, ape, flac, ogg and shn audio directshow filters and a few little powertoys. All silently installed and fully functional.

it means all you have to do for each new codec is add a single line to the runonceex key or possibly cmdlines.txt, like this

CODE
HKLM,"%RunOnceEx%\install_035",,,"Audio Codecs"
HKLM,"%RunOnceEx%\install_035",1,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\ogg\oggdshow.inf"
HKLM,"%RunOnceEx%\install_035",2,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\ape\apedshow.inf"
HKLM,"%RunOnceEx%\install_035",3,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\flac\flacdshow.inf"
HKLM,"%RunOnceEx%\install_035",4,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\mpc\mpcdshow.inf"
HKLM,"%RunOnceEx%\install_035",5,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\shn\shndshow.inf"
HKLM,"%RunOnceEx%\install_035",6,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\ogg\fixogg.inf"
HKLM,"%RunOnceEx%\install_035",6,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\lame\lameacm.inf"

HKLM,"%RunOnceEx%\install_040",,,"Video Codecs"
HKLM,"%RunOnceEx%\install_040",1,,"%24%\Install\Codecs\wmv9VCMsetup.exe /Q"
HKLM,"%RunOnceEx%\install_040",2,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\video\divx3\divx3.inf"
HKLM,"%RunOnceEx%\install_040",3,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\video\divx4\divx4.inf"
HKLM,"%RunOnceEx%\install_040",4,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\video\divx5\divx5.inf"
HKLM,"%RunOnceEx%\install_040",5,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\video\huffyuv\huffyuv.inf"
HKLM,"%RunOnceEx%\install_040",6,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\video\mjpeg\mjpeg.inf"
Sunil
finally, one that i can personally customise.
Bâshrat the Sneaky
@AMDTWraith:

Instead of using separate runonceex lines, you could call a batch file from runonceex, which would make your runonceex ALOT easier ! newwink.gif
AMDTWraith
True, but the more files i have the more there is to add to the image and keep track of. At the moment i have one folder for each codec holding only its required files and the inf and one entry in the runonce file, to add/remove these things is trivial.

I also like to keep the execution paths as short as possible so any errors that occur don't propogate too far. Debugging installation that go wrong it painful and time consuming so the simpler things are the less there is to investigate.

Obviously as you suggest it could be done from a batch file, i merely choose not to is all. Besides, theres nothing complicated about runonceex, its just a set of standard AddReg entries biggrin.gif
SiMoNsAyS
@swgreed i use your codec pack and i think it's great very complete smile.gif but i wonder if you can add free encoders, for example xvid encoder. it shouldn't be any problem because there are more like it that are opensource or GNU tongue.gif
MtK
Hi,

I'm having problems with a muli-CD movie.
I made a play-list for all the CDs and after playing the 1st CD, it passes to the 2nd CD but no image is shown (black screen with sound).

I'm not sure it has to do with codecs because it happens only when playing on secondary monitor (TV-Out).

Does anybody knows anything about this...?
Solid as a rock
QUOTE (AMDTWraith @ Jun 9 2004, 06:13 AM)
If you're going to be registering codecs manually why not jsut write inf files for each of them? It removes the need to know a path to the files themselves and enables you to do add them to the add/remove programs list as well. Registration is handled with the DllRegister command and the registry stuff with AddReg, all its quite simple once you learn the basics.

I've got side by side divx 3, 4 and 5 as well as huffyuv and mjpeg codecs working with this method as well as mpc, ape, flac, ogg and shn audio directshow filters and a few little powertoys. All silently installed and fully functional.

it means all you have to do for each new codec is add a single line to the runonceex key or possibly cmdlines.txt, like this

CODE
HKLM,"%RunOnceEx%\install_035",,,"Audio Codecs"
HKLM,"%RunOnceEx%\install_035",1,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\ogg\oggdshow.inf"
HKLM,"%RunOnceEx%\install_035",2,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\ape\apedshow.inf"
HKLM,"%RunOnceEx%\install_035",3,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\flac\flacdshow.inf"
HKLM,"%RunOnceEx%\install_035",4,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\mpc\mpcdshow.inf"
HKLM,"%RunOnceEx%\install_035",5,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\shn\shndshow.inf"
HKLM,"%RunOnceEx%\install_035",6,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\ogg\fixogg.inf"
HKLM,"%RunOnceEx%\install_035",6,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\audio\lame\lameacm.inf"

HKLM,"%RunOnceEx%\install_040",,,"Video Codecs"
HKLM,"%RunOnceEx%\install_040",1,,"%24%\Install\Codecs\wmv9VCMsetup.exe /Q"
HKLM,"%RunOnceEx%\install_040",2,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\video\divx3\divx3.inf"
HKLM,"%RunOnceEx%\install_040",3,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\video\divx4\divx4.inf"
HKLM,"%RunOnceEx%\install_040",4,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\video\divx5\divx5.inf"
HKLM,"%RunOnceEx%\install_040",5,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\video\huffyuv\huffyuv.inf"
HKLM,"%RunOnceEx%\install_040",6,,"rundll32.exe setupapi InstallHinfSection DefaultInstall 128 %24%\Install\Codecs\video\mjpeg\mjpeg.inf"

i am sorry but i dont understand your answer. your answer is far more difficulter then my example is...

but the codecs DONT work, check my last ( below this post ) post to find out more....
Solid as a rock
QUOTE (SolidasRock @ Jun 9 2004, 05:01 AM)
QUOTE (Bâshrat the Sneaky @ Jun 5 2004, 03:16 AM)
  Solution: add EXIT to the end of the CMD... (Wasn't that the obvious?)

i really dont understand. i have try this a few time, but after this i never can open a divx movie.....

I put the files (not folder) into \$OEM$\$$\System32 then i put the "codecs.reg" and "codecs.cmd" into \$OEM$\$1\install

so i must copy all the files but not the cmd and reg ones right in system32??

Then added the lines to my main .cmd of batch file, in my case its main_batch.cmd
loaded from guirunonce in winnt.sif
CODE
[GuiRunOnce]
   Command0=%systemdrive%\install\main_batch.cmd
   Command1=%systemdrive%\install\codec.cmd


that is it? registering the codec.reg are already in codec.cmd in the last line?

CODE
CLS
copy *.* %systemroot%\system32

regsvr32 /s %systemroot%\system32\ac3filter.ax
regsvr32 /s %systemroot%\system32\CLLine21.ax
regsvr32 /s %systemroot%\system32\CLNAVX.ax
regsvr32 /s %systemroot%\system32\CLVSD.ax
regsvr32 /s %systemroot%\system32\divxdec.ax
regsvr32 /s %systemroot%\system32\xvid.ax
regsvr32 /s %systemroot%\system32\mpeg2dmx.ax
regsvr32 /s %systemroot%\system32\mpgaudio.ax
regsvr32 /s %systemroot%\system32\mpgdec.ax
regsvr32 /s %systemroot%\system32\CoreVorbis.ax
regsvr32 /s %systemroot%\system32\l3codecx.ax
regsvr32 /s %systemroot%\system32\iac25_32.ax
regsvr32 /s %systemroot%\system32\Ivfsrc.ax
regsvr32 /s %systemroot%\system32\vp6dec.ax
regsvr32 /s %systemroot%\system32\ir41_32.ax
regsvr32 /s %systemroot%\system32\OggDS.dll

REGEDIT /S %systemdrive%\install\codec.reg
exit

this is my last post...
tr4ck
Hi. I have a quick question. I don't want to install gspot. So to remove it all I have to do is delete these things right?

[HKEY_CURRENT_USER\Software\GSpot Appliance Corp\gspot\Settings]
"LicenseDisplayed"=dword:00000001

[HKEY_CLASSES_ROOT\.avi\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.mpg\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.ogg\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.ogm\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.ram\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.rm\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.vob\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.asf\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.wmv\OpenWithList\gspot.exe]

;gspot verknüpfung
[HKEY_CLASSES_ROOT\Applications\gspot.exe\shell\open\command]
@="C:\\WINDOWS\\System32\\gspot.exe %1"

and delete gspot.exe and GSpot221.

is that right?

thanks.
Solid as a rock
QUOTE (tr4ck @ Jun 14 2004, 12:37 AM)
Hi.  I have a quick question.  I don't want to install gspot.  So to remove it all I have to do is delete these things right?

[HKEY_CURRENT_USER\Software\GSpot Appliance Corp\gspot\Settings]
"LicenseDisplayed"=dword:00000001

[HKEY_CLASSES_ROOT\.avi\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.mpg\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.ogg\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.ogm\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.ram\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.rm\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.vob\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.asf\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.wmv\OpenWithList\gspot.exe]

;gspot verknüpfung
[HKEY_CLASSES_ROOT\Applications\gspot.exe\shell\open\command]
@="C:\\WINDOWS\\System32\\gspot.exe %1"

and delete gspot.exe and GSpot221.

is that right?

thanks.

no answers? sad.gif sad.gif
SiMoNsAyS
QUOTE (tr4ck @ Jun 14 2004, 12:37 AM)
Hi.  I have a quick question.  I don't want to install gspot.  So to remove it all I have to do is delete these things right?

[HKEY_CURRENT_USER\Software\GSpot Appliance Corp\gspot\Settings]
"LicenseDisplayed"=dword:00000001

[HKEY_CLASSES_ROOT\.avi\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.mpg\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.ogg\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.ogm\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.ram\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.rm\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.vob\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.asf\OpenWithList\gspot.exe]
[HKEY_CLASSES_ROOT\.wmv\OpenWithList\gspot.exe]

;gspot verknüpfung
[HKEY_CLASSES_ROOT\Applications\gspot.exe\shell\open\command]
@="C:\\WINDOWS\\System32\\gspot.exe %1"

and delete gspot.exe and GSpot221.

is that right?

thanks.

you have the answer simply delete that registry keys, the main .exe file and the .dat file.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.