简体   繁体   English

发布MSI项目C#

[英]Publishing msi project c#

We do have an application which did not have any setup (click once with updates checking, etc). 我们确实有一个没有任何设置的应用程序(单击一次,进行更新检查等)。 However it gives very little information for our customers when installing. 但是,在安装时它为我们的客户提供的信息很少。 We have added Setup Project and everything works fine while installing from VS or from the folder. 我们已经添加了Setup Project,并且从VS或从文件夹安装时一切正常。 However, when we publish the application (local or to the web) it is still using click once. 但是,当我们发布应用程序(本地或到Web)时,它仍然使用单击一次。 Setup.exe begins installation without loading any setup project files. Setup.exe在不加载任何安装项目文件的情况下开始安装。 How to publish the project with the msi installer only so the installation includes setup project? 如何仅使用msi安装程序发布项目,以便安装包括安装项目? We use VS 2010 Pro. 我们使用VS 2010 Pro。

In C:\\Users\\user\\Documents\\Visual Studio 2010\\Projects\\solution\\project\\bin\\release there is an EXE file that contains the .exe that would need to be run (outside of the click once). 在C:\\ Users \\ user \\ Documents \\ Visual Studio 2010 \\ Projects \\ solution \\ project \\ bin \\ release中,有一个EXE文件,其中包含需要运行的.exe(单击一次之外)。 If you add that to the msi when you create it, it shouldn't deploy in Click Once. 如果在创建时将其添加到msi,则不应在“单击一次”中部署它。

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

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