由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - 请教怎样compile .msi file and .net project
相关主题
VB.net 问题求助What's the difference between ToolsVersion and Target Framework?
preparing to install ...ActiveX一问
.NET Framework 3.0 install errorVB Help
it is a pity windows 8 didn't get recognized4张盘里哪个是windows component CD?
麻烦大家帮忙看看:cannot find dependency我不知道.net里大家什么用得做多
怎么生成一个安装文件呀?[合集] can not run ASP by IIS 5.1 in WIN XP (转载)
Re: [转载] how to deploy a .NET project wiIs there LINQ for VS 2005?
How to add PrintDocument to a console project?anyone tried vs2010 beta2?
相关话题的讨论汇总
话题: msi话题: project话题: net话题: compile话题: install
进入DotNet版参与讨论
1 (共1页)
n****t
发帖数: 158
1
本人是 C#.net 新手,请教各位高手几个问题:
我有一个.msi 文件, 另有一个C#.net project, 现在需要把它们放在一起compile,
该怎样做?这个.msi 文件 的名字是xxx-setup,我試着打开它, 但是install .msi
文件的窗口就跳出来了。这个.msi 文件是.exe 文件吗?我需要安装它吗? 我google
了下.msi, 可是还不是很明白。
谢谢。
N********n
发帖数: 8363
2
MSI是执行文件,问什么要和SOURCE CODE一起COMPILE?
n****t
发帖数: 158
3

我需要把.net project deploy到另一个 remote server,那边的人说需要我们提供
MSI file(compile those 2 together),然后他们可以deploy到server上,
所以我不是很明白。我试着建了一个新的 MSI Setup project,然后把现有的.msi
file加进去,再和.net project 一起 compile,不知道这样对吗?
谢谢.

【在 N********n 的大作中提到】
: MSI是执行文件,问什么要和SOURCE CODE一起COMPILE?
N********n
发帖数: 8363
4

MSI is only used to install executables or dlls. It should not be
used to install a ".Net project". If your project builds an exe
then you can create an installer for the exe via an installer
project that generates an MSI based on your project output.

【在 n****t 的大作中提到】
:
: 我需要把.net project deploy到另一个 remote server,那边的人说需要我们提供
: MSI file(compile those 2 together),然后他们可以deploy到server上,
: 所以我不是很明白。我试着建了一个新的 MSI Setup project,然后把现有的.msi
: file加进去,再和.net project 一起 compile,不知道这样对吗?
: 谢谢.

n****t
发帖数: 158
5
Thank you NeverLearn. I'll have a meeting tomorrow about this project. Will
let you know what exactly I need to do with the .msi file and .net project.
thanks again.
n****t
发帖数: 158
6
Sorry for the late update, NeverLearn. The project meeting had been
rescheduled couple of times, finally I had it done this morning. And finally
someone from the team (remote server side) made it clear what they need and
what we supposed to do.
Actually I don't need to compile the MSI installer and .net project, I need
to move or install the .dll files of .net project into the MSI GAC, and then
give the MSI package to the team of remote server, they'll install the MSI
and deploy the project on server. Since I'm not able to install their MSI .
exe file on my computer, I have to create a new MSI package and copy the .
dll files in there. And I've done it in few minutes.
Thank you for your opinions and help.
Good day!
N********n
发帖数: 8363
7

That's more like it. Thanks for the update. :-)

【在 n****t 的大作中提到】
: Sorry for the late update, NeverLearn. The project meeting had been
: rescheduled couple of times, finally I had it done this morning. And finally
: someone from the team (remote server side) made it clear what they need and
: what we supposed to do.
: Actually I don't need to compile the MSI installer and .net project, I need
: to move or install the .dll files of .net project into the MSI GAC, and then
: give the MSI package to the team of remote server, they'll install the MSI
: and deploy the project on server. Since I'm not able to install their MSI .
: exe file on my computer, I have to create a new MSI package and copy the .
: dll files in there. And I've done it in few minutes.

1 (共1页)
进入DotNet版参与讨论
相关主题
anyone tried vs2010 beta2?麻烦大家帮忙看看:cannot find dependency
Any list of MS Visual Studio Developer Tools ? Thank you!怎么生成一个安装文件呀?
Win 8 Pro上怎么enable .Net Framework 3.5?Re: [转载] how to deploy a .NET project wi
我stuck了,sharepoint webpart问题,How to add PrintDocument to a console project?
VB.net 问题求助What's the difference between ToolsVersion and Target Framework?
preparing to install ...ActiveX一问
.NET Framework 3.0 install errorVB Help
it is a pity windows 8 didn't get recognized4张盘里哪个是windows component CD?
相关话题的讨论汇总
话题: msi话题: project话题: net话题: compile话题: install