简体   繁体   English

msi-自定义Visual Studio插件的Deployment Setup项目

[英]msi - Deployment Setup project for a custom Visual Studio Addin

I have developed a custom Add-In for Visual Studio (2008/2010). 我已经为Visual Studio(2008/2010)开发了一个自定义加载项。 At this point I need to prepare a *.msi installation package for the add-in, with the 此时,我需要为加载项准备一个* .msi安装软件包,其中包含

Visual Studio Installer -> Setup Project.

I need a little guidance about the rules of setting up a deployment package for a custom VS addin. 我需要一些有关为自定义VS插件设置部署程序包的规则的指导。 I have looked through the internet, but couldn't find some details. 我已经浏览了互联网,但找不到一些详细信息。

For example: 例如:

How to set the: DefaultLocation [CommonAppDataFolder][ProductName] 如何设置:DefaultLocation [CommonAppDataFolder] [ProductName]

Since the VS has already defined add-in paths where an add-in should be placed 由于VS已经定义了应该在其中放置加载项的加载项路径

Tools-> Options -> Enviroment -> Add-in/Macros Security

在此处输入图片说明

how can i get the DefaultLocation from there or how to set it depending on VS version. 我如何从那里获取DefaultLocation或如何根据VS版本设置它。

Tnx in advance. 提前Tnx。

To set DefaultLocation attribute you can try this: 要设置DefaultLocation属性,您可以尝试以下操作:

  • select your setup project in Solution Explorer 在解决方案资源管理器中选择安装项目
  • click File System Editor icon on top of Solution Explorer 单击解决方案资源管理器顶部的文件系统编辑器图标
  • select Application Folder 选择应用程序文件夹
  • in its Properties pane set the DefaultLocation attribute 在其“属性”窗格中设置DefaultLocation属性

For other problems try asking more specific questions. 对于其他问题,请尝试提出更具体的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM