WinCE 程序打包CAB
来源:互联网 发布:欧洲看不起美国知乎 编辑:程序博客网 时间:2024/04/30 21:49
需要的2个文件,visual studio 下面是可以找到的啊
cabwiz.exe
cabwiz.ddf
然后就是先把自己的WinCE程序写好啊
之后就是编写 *.inf 文件了
[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 = "Jr_Wx_Txm" ; maximum of 40 characters, full app name will be "<Provider> <AppName>"
InstallDir = %CE1%\%AppName% ; Program Files\Jr_Wx_Txm
; Directory Identifier Pocket PC Directory
; %CE1% \Program Files
; %CE2% \Windows
; %CE4% \Windows\StartUp
; %CE5% \My Documents
; %CE8% \Program Files\Games
; %CE11% \Windows\Start Menu\Programs
; %CE14% \Windows\Start Menu\Programs\Games
; %CE15% \Windows\Fonts
; %CE17% \Windows\Start Menu
[SourceDisksNames] ; directory that holds the application's files
1 = , "Common Files",,Jr_Wx_Txm\bin\Debug ; disk_id = ,comment,,path (absolute or relative paths)
[SourceDisksFiles] ; list of files to be included in .cab
Jr_Wx_Txm.exe = 1
System.Data.SqlClient.dll = 1
dbnetlib.dll = 1
cellcore.dll = 1
host.xml = 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%
Shortcuts = 0, %CE14% ; \Windows\Start Menu\Programs\%AppName%
[CopyToProgramFiles] ; copy operation file list
"Jr_Wx_Txm.exe", Jr_Wx_Txm.exe
"System.Data.SqlClient.dll", System.Data.SqlClient.dll
"dbnetlib.dll", dbnetlib.dll
"cellcore.dll", cellcore.dll
"host.xml", host.xml
[RegData] ; registry key list
HKCU,Software\%AppName%,MajorVersion,0x00010001,1
HKCU,Software\%AppName%,MinorVersion,0x00010001,0
[Shortcuts] ; Shortcut created in destination dir, %CE14%
%AppName%,0,Jr_Wx_Txm.exe
最后就是DOS下面去 执行 cabwiz *.inf 这样你的CAB包就成功生成了
特别要注意的是自己的程序所放的位置,不过也没关系打包的时候是会提示错误的!
- WinCE 程序打包CAB
- 制作wince的CAB安装程序,注册表的配置
- 如何制作WinCE程序安装包(cab压缩包)
- Visual Studio 2008 开发 Wince 问题集锦-如何打包CAB安装文件及打包报错
- 将SmartPhone程序打包为CAB安装文件
- WinCE的cab文件
- Wince Cab Manager使用方法
- Wince Cab Manager使用方法
- Wince Cab Manager使用方法
- cab打包详解
- cab打包详解
- cab打包详解
- CAB打包错误
- ActiveX CAB文件打包
- 总结:网页CAB打包
- 打包制作cab文件
- CAB打包的困惑
- 打包生成CAB文件
- navigationcontroller
- 基于距离的计算方法
- [MFC]自定义时间间隔Timer
- 给力的同事、周到的福利——揭秘万达电商(5)
- cocos2dx-3.2和vs2013工程编译不通过找不到<thread>
- WinCE 程序打包CAB
- 数字电路设计之ARM m0进度(2)
- 数据库解析——mysql explain 详解
- 如何在Root的手机上开启ViewServer,使得HierachyViewer能够连接
- lua require dofile loadfile区别
- spring注解中使用properties文件
- RadioButton 单选按钮组
- Win7 64位系统,VS2010环境下编译cuda-convnet指南
- ubuntu环境下查看系统是32位还是64位