windows mobile 6.5 CAB 签名 - 附加值是什么?
我正在为专门的客户在 .NET CF 3.5 中开发 Windows Mobile 6.5 应用程序。该应用程序实现了自动更新功能。应用程序在启动时向 WebService 请求更新版本,如果存在,它会通过 HTTP 下载 CAB 安装程序并通过 ShellExecute 调用 CAB 安装。
CAB 文件当前尚未签名。我想知道,在我的应用程序中,什么会添加 CAB 签名?
当前的问题是,安装 CAB 时,需要用户确认安装(通过选择安装位置并确认要安装较新版本)。我想知道 CAB 签名是否会消除这些步骤?
还有一个问题 - 我们非常频繁地生成更新(每周 1-2 次)。每个 CAB 签名都需要 Microsoft 参与吗?我们可以手动签署 CAB 吗?
问候
I'm developing a Windows Mobile 6.5 application in .NET CF 3.5 for a dedicated customer. The app has implemented functionality of autoupdate. The application asks WebService at startup for a newer version, if one exists, it downloads the CAB installer via HTTP and calls the CAB installation by ShellExecute.
The CAB file is currently not signed. I wonder, what will add CAB signing in case of my application?
The current problem is that when the CAB is installed it requires the user to ack the installation (by choosing where to install and ack that the newer version is to be installed). I wonder whether CAB signing would eliminate those steps?
And another question - we generate updates very frequently (1-2 per week). Does every CAB signing require participation of Microsoft? Can we sign CAB manually?
Regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尽管您需要来自有效证书提供商的证书(或者客户必须能够访问您的证书服务器),但您可以对 CAB 进行签名。
然而,它绝对不会给你带来任何好处。对 CAB 进行签名仅允许将其安装在具有安全性的设备上,以防止安装未签名的 CAB。
CAB 的用户交互是标准的。在许多情况下,您可以通过将 CAb 放在包含运行 wcelaod.exe 与
/noui
和/或/silent
开关。IIRC,您可以通过在 INF 中提供硬目标来避免“目标文件夹”对话框用于生成 CAB 的文件。
Signing the CAB can be done by you, though you need a certificate from a valid cert provider (or the custoemr has to be able to reach your cert server).
However, it will buy you absolutely nothing. Signing the CAB simply allows it to be installed on a device that has security that prevents unsigned CABs from being installed.
The user interaction for the CAB is standard. You can prevent the UI in many cases by shipping your CAb in a package that has an installer EXE that runs wcelaod.exe with the
/noui
and/or/silent
switches.IIRC, you can avoid the "target folder" dialog by providing a hard destination in the INF file used to generate the CAB.