Visual Studio项目部署文件混乱?
我已经完成了部署 XNA VS2008 项目的所有步骤并创建了一个安装程序。我构建了该项目,现在有一个发布文件,其中包含 3 个文件夹,其中包含 .msi 格式的依赖项、一个 steup.exe 和一个solutionName.msi,
但是哪个文件是正确的呢? setup.exe 似乎无法在该文件夹之外运行。我是否打算将整个压缩文件夹发送给人们?或者只是.msi?他们是否必须单独安装所有 .msi 依赖项,还是 setup.exe 会为他们执行此操作?
I have gone through all the steps to deploy an XNA VS2008 project and created an installer. I built the project and now have a release file with 3 folders containing dependencies in .msi format, a steup.exe and a solutionName.msi
But which file is the right one? setup.exe doesn't seem to work outside of the folder. Am I meant to send people the whole zipped folder? or just the .msi? Will they have to separately install all the .msi dependencies or will setup.exe do that for them?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
setup.exe
旨在检查依赖关系,并根据需要运行正确的 msi 文件。您可以将文件夹全部压缩到一个自解压 EXE 中,该 EXE 解压到临时目录,然后运行 setup.exe,这是将所有内容打包在一起进行安装的一种方法。
setup.exe
is meant to check the dependencies, and run the proper msi files based on what is needed.You could ZIP the folder all up into a self-extracting EXE which unzips to a temp dir and then runs the setup.exe, as one way to package everything together for installation.