Need help : Codecs registrations

Discuss & post Update Pack addons here.
Post Reply
User avatar
m-p{3}
Posts: 47
Joined: Sat Oct 14, 2006 8:50 pm
Location: Montreal QC, Canada
Contact:

Need help : Codecs registrations

Post by m-p{3} » Wed Nov 22, 2006 5:32 pm

I am currently working on the FreeDVD codecs addons and I currently have a problem. I have completed the inf and ini file, but after installation, the codecs aren't registered out-of-the-box.

I would like to know if someone have the knowlegde to register those *.ax files inside the INF file. I don't want to use a silent install, but rather register them directly.

My addon is mostly completed, only this error stop me from releasing the addon. Thanks in advance. I'll distribute the addon as soon as it is completed.

m-p{3}

User avatar
MrNxDmX
Moderator
Posts: 3112
Joined: Mon Jan 03, 2005 7:33 am

Post by MrNxDmX » Wed Nov 22, 2006 5:58 pm

Maybe you can share your addon for people to see why it doesnt gets registered? :wink:
Then you start a new thread for it (after a working solution.)

User avatar
UtCollector
Posts: 464
Joined: Sun Apr 09, 2006 8:31 pm
Contact:

Post by UtCollector » Wed Nov 22, 2006 6:01 pm

Hi, Maybe you're final .inf works like this:

Version]
signature = $CHICAGO$

[DefaultInstall]
OptionDesc = "FreeDVD"
Tip = "FreeDVD"
Modes = 0,1,2,3
CopyFiles =prog.main
RegisterDlls = FreeDVD.Register

[Optional Components]
FreeDVD

[FreeDVD]
OptionDesc = "FreeDVD"
Tip = "FreeDVD"
Modes = 0,1,2,3
CopyFiles =prog.main
RegisterDlls = FreeDVD.Register

;Must have this part to maybe?!
[SourceDisksNames.x86]
1="FreeDVD","FreeDVD.cab",,"i386"
;its possible to replace the part i386 with .\.\ just for easy testing

[DestinationDirs]
prog.main = 16425,"%prog_dir%"

[SourceDisksFiles]
DVDAudio.ax =1
DVDVideo.ax =1
; i would use 8.3 system here

[Prog.Main]
DVDAudio.ax
DVDVideo.ax

[FreeDVD.Register]
11,,DVDAudio.ax,1
11,,DVDVideo.ax,1

;You could try this section option to:
[Register.ax]
DVDAudio.ax
DVDVideo.ax
; i would use 8.3 system here to

[Strings]
prog_dir = ""
Last edited by UtCollector on Wed Nov 22, 2006 7:23 pm, edited 1 time in total.

User avatar
MrNxDmX
Moderator
Posts: 3112
Joined: Mon Jan 03, 2005 7:33 am

Post by MrNxDmX » Wed Nov 22, 2006 6:44 pm

UtCollector, have you seen this: [WIP] FreeDVD Codecs addons

User avatar
UtCollector
Posts: 464
Joined: Sun Apr 09, 2006 8:31 pm
Contact:

Post by UtCollector » Wed Nov 22, 2006 7:25 pm

MrNxDmX wrote:UtCollector, have you seen this: [WIP] FreeDVD Codecs addons
Yes i was looking into it a bit. I did edit my post to again a litle :) I just hope he can finish his addon :D

User avatar
m-p{3}
Posts: 47
Joined: Sat Oct 14, 2006 8:50 pm
Location: Montreal QC, Canada
Contact:

Post by m-p{3} » Wed Nov 22, 2006 8:48 pm

I have another question: do you have a better way to test your addon out of reinstalling Windows each time ? I don't mean I can't install, but it's getting a bit long when you are at your fourth install :P
Image

User avatar
5eraph
Site Admin
Posts: 4618
Joined: Tue Jul 05, 2005 9:38 pm
Location: Riverview, MI USA

Post by 5eraph » Wed Nov 22, 2006 8:52 pm

UtCollector already has you covered:

Code: Select all

1="FreeDVD","FreeDVD.cab",,"i386"
;its possible to replace the part i386 with .\.\ just for easy testing 
After you've made that change you can right click the INF and Install. :)

User avatar
m-p{3}
Posts: 47
Joined: Sat Oct 14, 2006 8:50 pm
Location: Montreal QC, Canada
Contact:

Post by m-p{3} » Wed Nov 22, 2006 9:51 pm

Oh I didn't understood it that way :o
Thanks :)

User avatar
m-p{3}
Posts: 47
Joined: Sat Oct 14, 2006 8:50 pm
Location: Montreal QC, Canada
Contact:

Post by m-p{3} » Wed Nov 22, 2006 10:22 pm

Ok, by testing it now it seems that everything is in order. I will do a final test by installing one last time in VMWare, and see if the codec registration went properly. I will release it right after.
Image

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Wed Nov 22, 2006 11:44 pm

FGCBA is good for testing also

Post Reply