Windows Mobile cab 文件完成后启动主要可执行文件
我正在开发一个 WinMo 应用程序,我们在 Web 服务器上托管 cab 文件,以便更轻松地部署到我们的手持设备。
我想制作 CAB 文件,以便当用户下载并运行它时,它会安装,然后自动启动该程序。
我发现这个问题 ,但这似乎是关于 ActiveX 浏览器插件等的出租车。
有人对如何在安装后将 WinMo CAB 自动安装为主输出文件有任何想法或说明吗?我正在使用 Visual Studio 2008 中的智能设备 CAB 安装项目构建 CAB 文件。这些设备是 WinMo 6.1。
提前致谢...
I am developing a WinMo app, where we are hosting the cab files on our web server, to make deployment to our handhelds easier.
I would like to make the CAB file though, so that when they user downloads and runs it, it installs, and then automatically launches the program.
I found this Q, but that seems to be about cabs for ActiveX browser addins or such.
Anyone have any idea or instructions on how to go about making a WinMo CAB autoinstall the primary output file after installation? I am building the CAB file using the Smart Device CAB Setup project in Visual Studio 2008. The devices are WinMo 6.1.
Thanks in advance...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我目前正在开发 Windows Mobile 6.1 手持设备。我有同样的问题需要解决,幸运的是我能够解决这个问题。请仔细遵循这些准则。
注意:该文件必须是标准的XML格式
I am currently working on Windows Mobile 6.1 handheld devices. I had the same issue to be solved and fortunately I was able to solve this issue. Please follow these guidelines carefully.
Note: this file must be a standard XML format
需要明确的是,您现在所拥有的是 CAB 已正确下载并安装,但您想要的是应用程序在安装完成后执行?如果是这种情况,请添加自定义安装DLL 成功完成后执行(因此在 Install_Exit 中调用 CreateProcess)。
To be clear, what you have now is that the CAB downloads and installs properly, but what you want is for the application to execute after the install completes? If that's the case, then add a custom setup DLL that does the execute on successful completion (so in Install_Exit call CreateProcess).