1; Lame codec
2; enable MP3 compression in Windows
3
4; Usage : right-click on this file and choose "Install" in the pop up menu
5
6[Version]
7Signature = "$CHICAGO$"
8Class = MEDIA
9
10[SourceDisksNames]
111="Lame MP3 Install Disk",, 0001
12
13[SourceDisksFiles]
14LameACM.inf=1
15LameACM.acm=1
16lame_acm.xml=1
17
18[Installable.Drivers]
19lameacm  = 1:LameACM.acm, "msacm.lameacm", %DisplayNameWin% , , ,
20
21[DefaultInstall]
22CopyFiles  = LameACM.Copy,LameACM.Copy.Inf
23Updateinis = LameACM.Updateini
24;addreg     = LameACM.AddReg,LameACM.AddReg9x,LameACM.DoReg
25addreg     = LameACM.AddReg,LameACM.AddReg9x
26MediaType  = SOFTWARE
27
28[DefaultInstall.ntx86]
29CopyFiles  = LameACM.Copy,LameACM.Copy.Inf
30;addreg     = LameACM.AddReg,LameACM.AddRegNT,LameACM.DoReg
31addreg     = LameACM.AddReg,LameACM.AddRegNT
32MediaType  = SOFTWARE
33
34[Remove_LameMP3]
35;AddReg     = LameACM.Unregister
36DelReg     = LameACM.DelReg
37DelFiles   = LameACM.Copy,LameACM.Copy.Inf
38UpdateInis = LameACM.UpdateIni
39
40[LameACM.Copy]
41LameACM.acm
42lame_acm.xml
43
44[LameACM.Copy.Inf]
45LameACM.inf
46
47[LameACM.UpdateIni]
48system.ini, drivers32,,"msacm.lameacm=LameACM.acm"
49
50[LameACM.AddReg]
51HKLM, "Software\Microsoft\Windows NT\CurrentVersion\Drivers32","msacm.lameacm",,"LameACM.acm"
52HKLM, "Software\Microsoft\Windows NT\CurrentVersion\Drivers.desc","LameACM.acm",,%DisplayNameWin%
53
54
55[LameACM.AddReg9x]
56HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\msacm\msacm.lameacm,Description,,%DisplayNameWin%
57HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\msacm\msacm.lameacm,Driver,,LameACM.acm
58HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\msacm\msacm.lameacm,FriendlyName,,%DisplayNameWin%
59HKLM,%UnInstallPath%,DisplayName,,%DisplayNameWin%
60HKLM,%UnInstallPath%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection Remove_LameMP3 132 %17%\%InfFile%"
61
62[LameACM.AddRegNT]
63HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers32","msacm.lameacm",,"LameACM.acm"
64HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc","LameACM.acm",,%DisplayNameWin%
65HKLM,%UnInstallPath%,DisplayName,,%DisplayNameWin%
66HKLM,%UnInstallPath%,UninstallString,,"%11%\rundll32.exe setupapi,InstallHinfSection Remove_LameMP3 132 %17%\%InfFile%"
67
68;[LameACM.DoReg]
69;HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"Lame ACM MP3 Codec",,"%11%\regsvr32.exe /s %11%\LameCom.acm"
70
71[LameACM.DelReg]
72HKLM,"SYSTEM\CurrentControlSet\Control\MediaResources\msacm\msacm.lameacm"
73HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc","LameACM.acm",,""
74HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers32","msacm.lameacm",,""
75HKLM,%UnInstallPath%
76
77;[LameACM.Unregister]
78;HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup","Lame ACM MP3 Codec",,"%11%\regsvr32.exe /s /u %11%\LameCom.acm"
79
80[DestinationDirs]
81DefaultDestDir   = 11	; LDID_SYS
82LameACM.Copy     = 11
83LameACM.Copy.Inf = 17
84
85[Strings]
86InfFile="LameACM.inf"
87DisplayNameWin="Lame ACM MP3 Codec"
88UnInstallPath="Software\Microsoft\Windows\CurrentVersion\Uninstall\LameACM"
89MediaClassName="Media Devices"
90mfgname="Steve Lhomme"
91
92