Visual Studio安装程序与文件夹中的所有文件

Visual Studio安装程序与文件夹中的所有文件

问题描述:

我们有一个安装项目,目前从不同的视觉工作室项目中添加了Project Output。我们要更改包装系统,并使用一些已准备好部署在部署文件中的文件夹。
但是这意味着我们需要逐个添加文件,并保留当有新文件时,在每个版本上添加它们。

我在这个问题,我们无法添加具有* .aspx等规则的文件。
所以我考虑创建一个小工具,将根据可用文件更改vdproj文件。你可以用这个文件的格式来帮我吗?似乎有一些GUID与每个文件相关联。???
有没有人有更好的解决方案如何做到这一点?

我们没有考虑使用不同的安装工具,我们只是为文件打包找一个简单的解决方案。

We have a setup project that currently adds Project Output's from different visual studio projects. We want to change the packaging system and use a folder with a bunch of deploy files that are prepared for deployment in the setup.
But this means that we need to add the files one by one, and keep adding them on each version when there are new files.
I saw in this question that we can't add files with rules like *.aspx.
So I'm considering creating a small tool that will change the vdproj file based on the files available. Can you help me with the format of this file? It seems there are some GUIDs associated with each file included.
Does anyone have a better solution on how to do this?
We're not thinking about using a different setup tool right just yet, we just look for a simple solution for the file packaging.

似乎这个问题没有简单的解决方案。
我们最终更改了安装工具,并使用高级安装程序来创建安装程序,它有一个很好的功能,可以将文件夹中的文件同步部署。

It seems there was no easy solution for this question. We ended up changing the setup tool and using Advanced Installer to create the setup, it has a nice feature that synchronizes files inside a folder for the deployment.