ClickOnce 部署的应用程序可以静默批量安装吗?
我目前有一个使用 ClickOnce 部署的智能客户端应用程序 (WinForms/WPF)。
某个特定客户表示希望将应用程序静默部署到其 Intranet 网络用户,作为其每晚/每周客户端 PC 更新服务的一部分 - 大概通过 MS 系统管理服务器 (SMS) 和组策略或类似的方式(我不明白确切的机制)。因此,他们要求提供 .MSI 安装程序。
所以有几个问题需要确认(以及我对答案的想法 - 我很高兴犯错!):
- ClickOnce 应用程序可以由管理员静默安装吗?
- 我的想法:不,因为 ClickOnce 是按用户安装,除非用户在远程安装时实际登录,否则这会很困难。
- 是否有工具可以将 ClickOnce 应用程序/项目的设置转换为简单的 MSI 安装程序项目(例如 Visual Studio 部署项目)???
- 我的想法:不在盒子里,但喜欢一个工具来重复地将设置从 ClickOnce 配置复制/使用到部署项目 - 例如 ProductName,版本、文件关联等。这样我们只维护一组部署设置。
对于这种情况,还有其他替代方案可以快速完成吗...?
I have a smart client app (WinForms/WPF) currently deployed using ClickOnce.
A particular client has expressed the desire to silently deploy the app to it's intranet network users as part of its nightly/weekly client PC update service - presumably via MS Systems Management Server (SMS) and Group Policy or similar (I don't understand the exact mechanisms). As such, they've requested a .MSI installer instead.
So a few questions for confirmation (along with my thoughts on answer - am more than happy to be wrong!):
- Can a ClickOnce app be silently installed en-mass by admin???
- My thoughts: No, because ClickOnce is a per-user installation this would be difficult unless the user is actually logged in at time of remote installation.
- Is there a tool to convert a ClickOnce app/project's settings to a simple MSI installer project (e.g. Visual Studio Deployment Project)???
- My thoughts: Not in the box, but would love a tool to repeatedly copy/use settings from the ClickOnce config to the deployment project - e.g. ProductName, Version, File Associations etc. This way we only maintain one set of deployment settings.
Any other alternatives for this scenario to get 'er done quick...?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为您可以静默安装 ClickOnce 应用程序,当然不能使用 SMS。我不知道有什么工具可以做到这一点,但这并不意味着它不存在。 ;-)
部署快捷方式的想法是一个有趣的想法。您是否注意到,即使在卸载应用程序后,如果您在桌面上留下快捷方式,如果用户单击它,则会重新安装该应用程序?
I don't think you can install a ClickOnce application silently, certainly not with SMS. And I don't know of any tool that does that, but it doesn't mean it doesn't exist. ;-)
The idea of deploying a shortcut is an interesting thought. Have you ever noticed that if you leave a shortcut on the desktop even after the application is uninstalled, if the user clicks on it, it reinstalls the application?