单击一次:setup.exe 在浏览器中打开 .application 文件。普通的?
我刚刚部署了我们的第一个 ClickOnce 应用程序。不幸的是,安装我们的应用程序需要的不仅仅是一键点击。
- 用户下载 setup.exe 并执行它
- 弹出默认浏览器(例如 Firefox),用户必须下载 ourapp.application 文件
- 然后他可以启动此文件,在出现一些安全警告后,常规安装程序开始
这似乎太多了对我来说,我想我们的大多数客户都会对这种相当不寻常的方法感到困惑。
我在 Seesmic(Seesmic 桌面应用程序)上看到,确实可以让 setup.exe 直接启动 ClickOnce 程序。 .NET 2.0 也可以实现同样的效果吗?或者有解决方法吗?
最好的问候,
inTrance
I've just deployed our first ClickOnce application. Unfortunately it requires far more than one click to install our application.
- The user downloads the setup.exe and executs it
- The default browser pops up (e.g. Firefox) and the user has to download an ourapp.application file
- Afterwards he can start this file and after some security warnings the regular setup starts
This seems way to much for me and I guess that most of our customers will be really confused by this rather unusual method.
I've seen at Seesmic (the Seesmic Desktop app) that it is indeed possible to let the setup.exe directly start the ClickOnce procedure. Is the same possible with .NET 2.0? Or are there workarounds?
Best regards,
inTrance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这通常意味着您尚未在服务器上定义 MIME 类型。这些是托管 ClickOnce 应用程序所需的 MIME 类型:
.application -->应用程序/x-ms-application
.manifest -->应用程序/x-ms-application
.deploy --> application/octet stream
如果您要部署 .Net 3.5 作为先决条件,则还需要这些:
.msp -->应用程序/microsoftpatch
.msu --> application/microsoftupdate
如果您有 vsto 应用程序,则需要这个:
.vsto -->应用程序/x-ms-vsto
RobinDotNet
This usually means that you have not defined the MIME types on the server. These are the MIME types you need in order to host a ClickOnce application:
.application --> application/x-ms-application
.manifest --> application/x-ms-application
.deploy --> application/octet stream
If you are deploying .Net 3.5 as a prerequisite, you need these as well:
.msp --> application/microsoftpatch
.msu --> application/microsoftupdate
If you have vsto apps, you need this one:
.vsto --> application/x-ms-vsto
RobinDotNet
有一个 Firefox 扩展,可以使运行 ClickOnce 应用程序变得更容易。
There is a Firefox extension to make running ClickOnce applications easier.