purk
2005-06-25, 12:40 AM
http://ksphere.free.fr/site/ 的 wmp10lite ---->只提取WMP10解碼部分
atbscodec版本為2004/7月推出http://ftp.isu.edu.tw/pub/CPatch/msupdate/win98se-nsrc/atbscodecl.exe整合大多的codec 不過有點舊了
以下使用 wmp10liet的setup.ini 跟 atbcodec.inf 的內容 搭配ms的文件 (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/install/hh/install/inf-format_70c9fc6c-3577-44fb-95e8-c44fa0429fd2.xml.asp)分析inf撰寫
inf檔內容撰寫時
每一行開頭如果加上 ; 則該行無作用 僅作為 註解用 ---->應該是吧
----INF Version Section------MS範例----此為必須存在的---
[Version]
Signature="signature-name"
[Class=class-name]
[ClassGuid={nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn}]
[Provider=%INF-creator%]
[LayoutFile=filename.inf [,filename.inf]... ]
[CatalogFile=filename.cat]
[CatalogFile.nt=unique-filename.cat]
[CatalogFile.ntx86=unique-filename.cat]
[CatalogFile.ntia64=unique-filename.cat] (Windows XP and later)
[CatalogFile.ntamd64=unique-filename.cat] (Windows XP and later)
DriverVer=mm/dd/yyyy[,x.y.v.z]
[Version]
signature = "$Windows NT$"
Provider = %Msft%
[Version]
Signature="$Chicago$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%INF_Provider%
CatalogFile=aha154_win98.cat
CatalogFile.ntx86=aha154_ntx86.cat
DriverVer=08/20/1999
---wmp10lite------setup.ini-------
[Version]
Signature="$Windows NT$"
ClassGUID={00000000-0000-0000-0000-000000000000}
LayoutFile=layout.inf
SetupClass=BASE
------------------------------------
----ATBSCODEC.inf---
; ATB's CodecS Pack Install
; Version 2.2.0 Lite
; 2004/07/18 By ATB(NSRC) from Republic of Taiwan
[Version]
Signature = "$CHICAGO$"
AdvancedINF = 2.5,"您需要新版的Advpack.dll"
DriverVer = 07/12/2004,2.2.0
-------------------------
Signature="signature-name" ---->Signature=""這個名稱 有3個可以用 分別是$Windows NT$, $Windows 95$, $Chicago$
$Windows NT$----->NT系列專用
$Windows 95$---->9x系列專用
$Chicago$------>除了WIN3X以下系統 其他WIN系統都可以用
------------
Class=class-name ----作整合codec包時可以不用 這是用來設定硬體或虛擬硬體 是屬於哪一項物品用的 例如有 顯示卡 網路介面卡..etc 你在裝置管理員看到的的 那個 title就是
If an INF adds a new setup class of devices to the system, it should supply a unique, case-insensitive class-name value that is different from any of the system-supplied classes in devguid.h. The length of the class-name string must be 32 characters or less. The INF must specify a newly generated GUID value for the ClassGUID entry. Also see INF ClassInstall32 Section.
This entry is irrelevant to an INF that installs neither a new device driver under a predefined device setup class nor a new device setup class.
---------------------------------------------------------------
; *****************************************
; **** PCZONE的Video解碼編碼Codec整合包 ****
; *****************************************
; INF created with the help of WillyPad. & INF-Editor
; Freeware from Snoopy 81
[version]
;用於確認 .inf 檔的基本版本資訊By convention, the Version section
;appears first in INFfiles. Every INF file must have this section
Signature=$CHICAGO$
;用來宣告適用的OS的變數,有$Windows NT$, $Windows 95$, or
;$Chicago$這3種
Class=MEDIA
;用來宣告安裝的物品類型屬性的變數For any standard type of device,
;this specifies the class name, which is usually one of the system-;defined class names like Net or Display
ClassGUID={00000000-0000-0000-0000-000000000000}
;大多伴隨Class出現Specifies the device-class GUID, formatted as
;shown here, where each n is a hexadecimal digit.
LayoutFile=layout.inf
SetupClass=BASE
Provider=%INF-creator%
;宣告inf檔撰寫者的變數,Identifies the provider of the INF file. Typically,
;this is specified as an %OrganizationName% token that is expanded
;later in the INF's Strings section.
Compatible=1
Generator=WillyPad &INF-Editor
;宣告編輯inf檔案所用程式的變數
;CatalogFile.nt=unique-filename.cat
;CatalogFile.ntx86=unique-filename.cat
;上面2個是用來宣告通過WHQL後,由MS提供驗證用的cat檔的變數
DriverVer=09/23/2005
;用來宣告通過WHQL的日期的變數
____________________________________________________
贊助商連結
atbscodec版本為2004/7月推出http://ftp.isu.edu.tw/pub/CPatch/msupdate/win98se-nsrc/atbscodecl.exe整合大多的codec 不過有點舊了
以下使用 wmp10liet的setup.ini 跟 atbcodec.inf 的內容 搭配ms的文件 (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/install/hh/install/inf-format_70c9fc6c-3577-44fb-95e8-c44fa0429fd2.xml.asp)分析inf撰寫
inf檔內容撰寫時
每一行開頭如果加上 ; 則該行無作用 僅作為 註解用 ---->應該是吧
----INF Version Section------MS範例----此為必須存在的---
[Version]
Signature="signature-name"
[Class=class-name]
[ClassGuid={nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn}]
[Provider=%INF-creator%]
[LayoutFile=filename.inf [,filename.inf]... ]
[CatalogFile=filename.cat]
[CatalogFile.nt=unique-filename.cat]
[CatalogFile.ntx86=unique-filename.cat]
[CatalogFile.ntia64=unique-filename.cat] (Windows XP and later)
[CatalogFile.ntamd64=unique-filename.cat] (Windows XP and later)
DriverVer=mm/dd/yyyy[,x.y.v.z]
[Version]
signature = "$Windows NT$"
Provider = %Msft%
[Version]
Signature="$Chicago$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%INF_Provider%
CatalogFile=aha154_win98.cat
CatalogFile.ntx86=aha154_ntx86.cat
DriverVer=08/20/1999
---wmp10lite------setup.ini-------
[Version]
Signature="$Windows NT$"
ClassGUID={00000000-0000-0000-0000-000000000000}
LayoutFile=layout.inf
SetupClass=BASE
------------------------------------
----ATBSCODEC.inf---
; ATB's CodecS Pack Install
; Version 2.2.0 Lite
; 2004/07/18 By ATB(NSRC) from Republic of Taiwan
[Version]
Signature = "$CHICAGO$"
AdvancedINF = 2.5,"您需要新版的Advpack.dll"
DriverVer = 07/12/2004,2.2.0
-------------------------
Signature="signature-name" ---->Signature=""這個名稱 有3個可以用 分別是$Windows NT$, $Windows 95$, $Chicago$
$Windows NT$----->NT系列專用
$Windows 95$---->9x系列專用
$Chicago$------>除了WIN3X以下系統 其他WIN系統都可以用
------------
Class=class-name ----作整合codec包時可以不用 這是用來設定硬體或虛擬硬體 是屬於哪一項物品用的 例如有 顯示卡 網路介面卡..etc 你在裝置管理員看到的的 那個 title就是
If an INF adds a new setup class of devices to the system, it should supply a unique, case-insensitive class-name value that is different from any of the system-supplied classes in devguid.h. The length of the class-name string must be 32 characters or less. The INF must specify a newly generated GUID value for the ClassGUID entry. Also see INF ClassInstall32 Section.
This entry is irrelevant to an INF that installs neither a new device driver under a predefined device setup class nor a new device setup class.
---------------------------------------------------------------
; *****************************************
; **** PCZONE的Video解碼編碼Codec整合包 ****
; *****************************************
; INF created with the help of WillyPad. & INF-Editor
; Freeware from Snoopy 81
[version]
;用於確認 .inf 檔的基本版本資訊By convention, the Version section
;appears first in INFfiles. Every INF file must have this section
Signature=$CHICAGO$
;用來宣告適用的OS的變數,有$Windows NT$, $Windows 95$, or
;$Chicago$這3種
Class=MEDIA
;用來宣告安裝的物品類型屬性的變數For any standard type of device,
;this specifies the class name, which is usually one of the system-;defined class names like Net or Display
ClassGUID={00000000-0000-0000-0000-000000000000}
;大多伴隨Class出現Specifies the device-class GUID, formatted as
;shown here, where each n is a hexadecimal digit.
LayoutFile=layout.inf
SetupClass=BASE
Provider=%INF-creator%
;宣告inf檔撰寫者的變數,Identifies the provider of the INF file. Typically,
;this is specified as an %OrganizationName% token that is expanded
;later in the INF's Strings section.
Compatible=1
Generator=WillyPad &INF-Editor
;宣告編輯inf檔案所用程式的變數
;CatalogFile.nt=unique-filename.cat
;CatalogFile.ntx86=unique-filename.cat
;上面2個是用來宣告通過WHQL後,由MS提供驗證用的cat檔的變數
DriverVer=09/23/2005
;用來宣告通過WHQL的日期的變數
____________________________________________________
贊助商連結