Where and how, to find the installer file after creating and adding set up project to a solution having a windows application?

喜欢而已 提交于 2019-12-11 04:20:04

问题


HI, I have a windows application in C#. I created and added a set up project to this solution. Then, built the solution. I refered to this link http://www.codeproject.com/KB/install/SetupAndDeployment.aspx. I even added the shortcut of "Primary output of my application" to "User's Desktop" folder. But I am not able to find the installer file in Desktop, so that I can "double click" this installer file and install my Windows application. KINDLY HELP ME WITH THE PROCEDURE THAT NEEDS TO BE FOLLOWED AFTER CREATING A SET UP PROJECT, ADDING IT TO A SOLUTION AND BUILDING THE SOLUTION. WHERE AND HOW TO FIND THE INSTALLER FILE. IS THERE ANYTHING THAT I AM MISSING.


回答1:


The installer file should be located in the bin folder of your installer project. Right click on the project in the project tree, and select "Open folder in windows explorer", and you'll find the bin directory.

The link on the desktop will only be present once the installer file has been run.




回答2:


Whether this is 100% applicaple I don't know but it's something I'd think is worth a try which is if u know what the installer file is called why not do a search for that file to see if it's been stored somewhere else?




回答3:


I apologise If I am stating the obvious to you, I have probably misunderstood your question if i am.

When you make a setup project the built setup files are in the Debug or Release folder of the setup project depending on your build settings

-setup.msi -setup.exe for example

clicking setup.exe will run the install the application

You copy them to the user's desktop and click to install your application?



来源:https://stackoverflow.com/questions/4722076/where-and-how-to-find-the-installer-file-after-creating-and-adding-set-up-proje

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!