安装 POS 2009 的 .Net 插件

发布于 2024-08-03 08:51:44 字数 570 浏览 2 评论 0原文

我正在编写一个 WiX 项目来安装为 Microsoft POS 2009 构建的 .Net Addin。在项目开发过程中,您必须运行以下命令:

AddinUtil.exe -PipelineRoot: {Addins 文件夹的目录 POS 2009}

以便 POS 2009 能够识别您的插件。现在我正准备进行部署,我想知道在安装过程中如何完成此操作,以便用户在运行安装程序后不必执行此操作?

我是否只是在安装阶段从 Exec 命令调用 AddinUtil.exe,还是 WiX 3 内部有一个可用的标签可以处理此问题?我记得有几个例子,我看到其他人从 WiX 调用外部应用程序,我只是想知道这是否是这种情况下的最佳方法。

注意:我基于 POS 2009,但我认为这最终是一个一般的“.Net Addin 安装”问题。


我应该提到...我正在使用的 AddinUtil 是标准 .Net 3.0/3.5 AddinUtil 是 .Net 框架的一部分,存在于 %windir%\Microsoft.Net\Framework\v3.5\ 目录中。

I'm working on writing a WiX project to install a .Net Addin that is built for Microsoft POS 2009. During the development of the project, you had to run the command:

AddinUtil.exe -PipelineRoot:
{directory to the Addins folder for
POS 2009}

so that POS 2009 would recognize your Addin. Now that I'm getting ready to do the deployment, I was wondering how this is done on during the install process, so that the user doesn't have to do this after they run the installer?

Do I just call the AddinUtil.exe from an Exec command during the install phase, or is there a tag that is available inside of WiX 3 that can handle this? I recall several instances where I've seen other guys call external applications from WiX, and I'm just curious to find out if this is the best method or not for this scenario.

Note: I'm basing this on POS 2009, but I think this winds up being a general ".Net Addin Installation" question.


I should mention... the AddinUtil that I'm using is the standard .Net 3.0/3.5 AddinUtil that is part of the .Net framework which exists in %windir%\Microsoft.Net\Framework\v3.5\ directory.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

云裳 2024-08-10 08:51:44

我只想调用一个自定义操作。

 <CustomAction Id='Addin' Directory ='PATH' ExeCommand='[PATH]AddinUtil.exe' Return='asyncNoWait'/>

I would just call a custom action.

 <CustomAction Id='Addin' Directory ='PATH' ExeCommand='[PATH]AddinUtil.exe' Return='asyncNoWait'/>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文