안녕하세요..
INF파일에는 컨트롤과 함께 배포되는 파일들에 대한
정보들이 있습니다..
---Sample.inf---
[version]
signature="$CHICAGO$"
Advanced=2.0
[Add.Code]
mydll.dll=mydll.dll
mycontrol.ocx=mycontrol.ocx
[mydll.dll]
file-win32-x86=thiscab
FileVersion=1,33,1,3
DestDir=11
[mycontrol.ocx]
file-win32-x86=thiscab
clsid={11111111-1111-1111-111111111111}
FileVersion=1,0,0,4
RegisterServer=yes
file-win32-x86: x86플렛폼을 나타냅니다..
thiscab은 지금cab안에 있는 파일임을 나타냅니다.
다른곳을 지정하려면 thiscab대신에
file-win32-x86=http://www.xxx.xxx/mydll.dll 이런식으로
쓰시면 됩니다..
DestDir이란 Target위치를 지정합니다..
10 이면 window디렉토리
11 이면 window system디렉토리..
clsid는 ocx clsid입니다..
FileVersion 역시 빌드 넘버이구요..
RegisterServer는 레지스트리 등록여부입니다..
이상입니다..
|