Smart phone inf file making

来源:互联网 发布:c语言bmp位图旋转90度 编辑:程序博客网 时间:2024/05/20 13:41

[Version]
Signature   = "$Windows NT$"        ; required as-is
Provider    = "Microsoft"           ; maximum of 30 characters, full app name will be "<Provider> <AppName>"
CESignature = "$Windows CE$"        ; required as-is
 
[CEStrings]
AppName     = "CloseWindow Example"        ; maximum of 40 characters, full app name will be "<Provider> <AppName>"
InstallDir  = %CE1%/%AppName%       ; Program Files/Mine Sweeper
 
[SourceDisksNames]                  ; directory that holds the application's files
1 = , "Common Files",,C:/Program Files/Windows CE Tools/wce420/SMARTPHONE 2003/Samples/Win32/Closewindow/ARMV4Rel
;2 = , "Common Files",,E:/Project/SmartPhoneHD/document/smartphone source/Recent/VISWrapperProject/VISWrapper/ARMV4Rel
[SourceDisksFiles]                  ; list of files to be included in .cab
CloseWindow.exe = 1
;VISWrapper.dll = 2
;miniwin.wav = 1
;winmine.exe = 1
 
[DefaultInstall]                    ; operations to be completed during install
CopyFiles   = CopyToProgramFiles
AddReg      = RegData
CEShortcuts = Shortcuts  
 
[DestinationDirs]                   ; default destination directories for each operation section
CopyToProgramFiles    = 0, %InstallDir%
;CopyToProgramFiles    = 0, /Storage/Program Files/VIS
Shortcuts   = 0, %CE14%             ; /Windows/Start Menu/Programs/Games
 
[CopyToProgramFiles]                ; copy operation file list
"CloseWindow.exe", CloseWindow.exe

[RegData]                           ; registry key list
;HKCU,Software/%AppName%,MajorVersion,0x00010001,1
;HKCU,Software/%AppName%,MinorVersion,0x00010001,0
HKCR,/.zdd,,0x00000000,zddfile1        ; <default> = "zddfile"
;HKCR,%reg_path%/zddfile/Shell/Open/Command,0x00000000,%CE1%/%AppName%/CloseWindow.EXE,"%1"
;HKCR,/MIME/Database/Content Type/application/vnd.ziyitong.zdd,Extension,0x00000000,.zzz
;HKCR,/.zdd,Content Type,0x00000000,application/vnd.ziyitong.zdd        ; "Application/zdd"
;HKCR,/zddfile1,,0x00000000,zdd File
HKCR,/zddfile1/Shell/Open/Command,,0x00000000,"""%CE1%/%AppName%/CloseWindow.EXE""" %%1
HKCR,/zddfile1,EditFlags,0x00010001,65536 ;it is must have
 
[Shortcuts]                         ; Shortcut created in destination dir, %CE14%
%AppName%,0,CloseWindow.exe
;forum.newlc.com/index.php/topic,7141.new.html
;tech.163.com/05/0429/11/1IGKL1AL00091589.html
;msdn.microsoft.com/library/default.asp?url=/library/en-us/wcepbguide5/html/wce50lrfAddReg.asp
;C:/Program Files/Windows CE Tools/wce420/SMARTPHONE 2003/Tools>cabwizsp VISWrapperProject.inf

原创粉丝点击