Create installer c# visual studio 2010




















In this article you will learn how to create a setup file for desktop application to install software on the client machine using Visual Studio Software used: Visual Studio Pro Procedure to create a Setup file: Open an existing Windows form project solution to create a setup file. Right-click on solution and in the context menu click Add, then New Project. After that you can see a new project window, in that right side you can select Other Project Type s in installed Templates, then select as shown below.

Now you can see one project in the same solution as setup1. You can see the properties for this project and can change these properties as you wish like Author , Manufacture , etc. After that, you can see a pop-up, from this pop up select required items, mainly Primary output and Localized resources marked in a red square which I have selected.

On the right side, you can see blank space having heading Name and Type. In that, you can right-click and then in the context menu select Create New Shortcut as shown below.

And specify a minimum required version, so that the end user will get the specified version of the application, if they have an older version installed on their PC.

If the updating location is other than the publish location then please provide the path. Save the settings and go to the form designer and add a label to the form. Save and go to "Build"??? If you wish make any changes to the publish settings that you completed earlier then click "Next" or click on the "Finish" button. Click "Next". And the deployment setup will be created in the published path. Run the setup. And click on the "Install" button. Now close the application and change the label to 'Version 1.

And go to publish settings and on the update window, change the minimum required version to 1. Click "Ok" and save the settings and publish the application. There will be a start menu shortcut from the first installation. Click on that to run the application. You will see an update screen and the updated application will be downloaded, installed and executed. The previously described basic steps are required to deploy a. View All. When i am trying to create setup exe of my application i need some prerequisites to deploy or install this application on client side i.

Sometimes crystal reports runtime not available as you mention in your error so i provide you a link to download these files. If this dos not work! Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 7 years, 6 months ago.

Active 7 years, 6 months ago. Viewed 3k times. NET Framework 4. To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'Crystal Reports for. NET Framework' to your local machine. Unrecoverable build error Please solve this issue. Thanks in Advance. Have you place the prerequisite files in application folder.

MohdWaseem yes i added a folder which contains crystal reports runtime — user



0コメント

  • 1000 / 1000