拥有Outlook Addin的通用安装程序 [英] Having universal installer for Outlook Addin

查看:169
本文介绍了拥有Outlook Addin的通用安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好, 

我创建了一个托管代码Outlook插件(使用Visual Studio 2010在VB.NET中创建)。 

I have created a Managed code Outlook addin (created in VB.NET using Visual Studio 2010). 

插件与ManagedAggregator一起填充(有一个x64垫片和x86垫片)。 

The addin is shimmed along with a ManagedAggregator (there is a x64 shim and x86 shim). 

这导致我遇到问题...我必须做2单独的Windows Installer文件(.msi文件)。 

This leads me to a problem...I have to make 2 separate Windows Installer files (.msi files). 

我想避免创建2个单独的.msi文件,因为这会让我的客户感到困惑....他们中的大多数人都不知道差异在x86 MSI和x64 MSI之间。 

I want to avoid creating 2 separate .msi files because this confuses my customers....most of them do not know the difference between x86 MSI and x64 MSI. 

所以在很多情况下我的客户下载x64版本并且它不起作用..他们给我发电子邮件并抱怨我必须给他们链接到x64 MSI下载。 

So in many instances my customers download the x64 version and it doesn't work..they email me and complain I have to give them the link to the x64 MSI download. 

任何人都可以帮助我以某种方式制作通用安装程序吗?我一直在寻找资源,我似乎无法找到任何具体的东西。在一篇文章中我看到有人提到合并模块......但是海报还说我需要2个MSI文件。 

Can anyone help me make a universal installer somehow? I've been looking for resources and I can't seem to find anything concrete. In one post I saw someone mention a merge module...but the poster also stated that I would need 2 MSIs files. 

我见过其他软件做同样的事情但是我只是不明白如何。 

I've seen other software do the same thing but I just don't understand how. 

我们将不胜感激任何帮助。 

Any help on this would be appreciated. 

谢谢。

推荐答案

Hello Rahul,

Hello Rahul,

合并模块在那里没有任何意义。为什么需要创建两个安装程序???

Merge modules don't make any sense there. Why do you need to create two installers???

无需创建两个单独的安装程序。相反,您可以创建一个自定义操作,您可以在其中检测Outlook位数并使用适当的填充程序在Windows注册表中注册加载项,因此加载时Outlook将使用正确的填充程序。
请参阅  演练:创建自定义操作 了解更多信息。 

There is no need to create two separate installers. Instead, you can create a custom action where you can detect Outlook bitness and use appropriate shim for registering the add-in in the windows registry, so the right shim will be used by Outlook when loading. See Walkthrough: Creating a Custom Action for more information. 


这篇关于拥有Outlook Addin的通用安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆