MSI 安装程序中的“Everyone/Just Me”选项有一些怪癖
谁能详细解释 MSI 安装程序中以下两个选项 Everyone
和 Just Me
之间的区别? 只有我
总是比“每个人”更好吗?
就我而言,由于某种原因,客户端似乎面临着 Excel 插件安装程序的一些怪癖。他们只能使用 Just Me
选项才能正确运行插件。如果他们选择Everyone
选项,插件的某些功能将无法正常工作。
顺便说一句,这是一个 VSTO excel 2010 插件,我使用 VS2010 安装项目来创建 MSI 安装程序。
Can anyone explain in detail what the differences between the following two options in MSI installer are, Everyone
and Just Me
? Is Just Me
always better than 'Everyone'?
In my case here, for some reason, the client seems to be facing some quirks with excel plugin installer. They can only use Just Me
option to be able to run the plugin correctly. If they choose Everyone
option, some function of the plugin will not work properly.
By the way this is a VSTO excel 2010 addin and I use VS2010 setup project to create MSI installer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
两种安装类型都有其优点。我怀疑您的情况的问题在于加载项注册。 Office 加载项的常用部署方法是按用户安装。也可以按机器安装,但需要更多设置。以下是一些可以帮助您的文章:
Both install types have their advantages. What I suspect is the problem in your case is with the add-in registration. The usual deployment method for Office add-in is a per-user install. A per-machine install is possible too, but with a little more settings. Here are some articles to help you:
我在博客上写了大量有关 VSTO AddIns 的文章,其中很多都是我自己写的。它们比 VDPROJ 可以处理的更复杂。另请注意,VDPROJ 正在逐步淘汰,Microsoft 建议使用免费的 InstallShield 限量版。
如果您有兴趣切换,我有一个模板项目,它允许我在大约一小时的时间内创建一个功能齐全的 VSTO AddIn 安装程序。它配备了处理先决条件堆栈的所有管道,只需针对 VSTO 文件的细节进行一些调整。由于插件的性质,它确实需要您的 VSTO,但需要由 Verisign、Comodo 等公司进行数字签名。
如果您只是 VSTO 并且想要 Per-User,那么就不用担心 MSI,只需使用 ClickOnce。但如果您想要丰富的每台机器体验,则必须使用 MSI,因为 ClickOnce 无法做到这一点。
I've blogged extensively about VSTO AddIns and written many myself. They are more complicated then what VDPROJ can handle. Also realize that VDPROJ is being phased out and Microsoft recommends the free InstallShield Limited Edition instead.
If you are interested in swtiching over, I have a template project that allows me to create a fully functional VSTO AddIn installer in about one hours time. It comes with all the plumbing to handle the prereq stack and just takes a few tweaks for the specifics of your VSTO file. It does require that your VSTO but digitally signed by the likes of Verisign, Comodo et al due to the nature of AddIns.
If you are only VSTO and want Per-User then don't bother with MSI, just use ClickOnce. But if you want the rich Per-Machine experience you must use MSI as ClickOnce can't do it.