怎么制作EVC程序的安装程序?

zhao9 2003-10-16 07:45:06
用哪个软件做呢?
请指点
...全文
95 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
yifeng_ch 2003-10-20
  • 打赏
  • 举报
回复
关注。
yifeng_ch 2003-10-20
  • 打赏
  • 举报
回复
收藏。
buptpki 2003-10-20
  • 打赏
  • 举报
回复
可以参考C:\Program Files\Windows CE Tools\wce420\SMARTPHONE 2003\Activesync\Windows ce application installation\appinst.doc文档,对于Pocket PC参考相应目录,
下面摘抄部分内容:

AppInstall is comprised of three components:
·CAB Wizard (CabWiz) is the desktop tool that packages application binaries into a single Pocket PC .cab file, which is the file format for distributing multiple files. CabWiz is used by the application developer and is part of the Pocket PC software development kit (SDK).
·Application Manager (CeAppMgr) is the desktop Microsoft® ActiveSync component that provides a desktop-to-device application management tool. It is responsible for adding and removing applications on the Pocket PC device and deleting the application files from the desktop computer. Application Manager is used by both the application developer and the end user and is included with every installation of ActiveSync.
·WCELoad is the Pocket PC tool that unpacks a Pocket PC .cab file to install an application on a device. WCELoad is used by the end user and is included with most Windows CE–based devices.
The Application Installation documentation is part of the Pocket PC SDK Programmer’s Guide. This documentation includes samples input file to CeAppMgr (the CeAppMgr .ini file).

对于用户通过工具生成cab文件后,写个.ini配置文件
[CEAppManager]
Version = 1.0 ; this is the CeAppMgr .ini version, not the app version
Component = MyApplication

[MyApplication]
Description = Sample Windows CE application
CabFiles = MyApp.HPC_SH3.cab,MyApp.PPC_SH3.cab,MyApp.HPCPRO_ARM.cab
; note that there are no extra spaces between the list of .cab files

注意:MyApp.HPC_SH3.cab,MyApp.PPC_SH3.cab,MyApp.HPCPRO_ARM.cab中间的逗号不能含有空格,这些cab文件通过CAB Wizard (CabWiz)生成,所有的工具smartphone 2003都有。

安装时,很简单
<path>\CEAppMgr.exe "<INI_path>\MyApp.INI"
就可以调用标准界面,CEAppMgr.exe根据目标机器调用相应的程序版本。

到了这里我们的安装程序很简单的实现了,只需提供
cab文档
ini文件
Setup.exe文件

在Setup.exe中通过api

ShellExecute

调用CEAppMgr.exe, 传给相应的.ini文件,一切ok!

就这么简单!
944136 2003-10-20
  • 打赏
  • 举报
回复
1、Installshield (www.installshield.com)
2、ePocketSetup (www.e-pocketsetup.com)

以上两种安装制作软件都可以制作安装程序。
codeworm 2003-10-18
  • 打赏
  • 举报
回复
别的安装制作软件我不知道,我都是自己写inf文件,然后用cabwiz生成cab安装包的。建议你看看ppc带的sample,它位于\sample\win32\AppInst

19,500

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧