0% found this document useful (0 votes)
9 views5 pages

FRM Display Mat

The document outlines the process of setup and deployment in C#.NET, detailing the steps necessary to prepare and install an application on client computers. It covers various deployment scenarios such as single-user, web, client-server, and cloud deployment, along with specific steps to create an installer using InstallShield. The document emphasizes the importance of correctly configuring application files, requirements, and installation settings to ensure proper functionality on target systems.

Uploaded by

jadavjaydip6287
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views5 pages

FRM Display Mat

The document outlines the process of setup and deployment in C#.NET, detailing the steps necessary to prepare and install an application on client computers. It covers various deployment scenarios such as single-user, web, client-server, and cloud deployment, along with specific steps to create an installer using InstallShield. The document emphasizes the importance of correctly configuring application files, requirements, and installation settings to ensure proper functionality on target systems.

Uploaded by

jadavjaydip6287
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Setup and Deployment in C#.

NET
Deploying the project on client computers is the last step in the creation of an application, and it
requires careful management. We were given the Setup and Deployment project under.net in order to
properly arrange the items and install the necessary files in the appropriate folders. It must be
included in the same solution that we used to create our application.

Setting up and delivering a software program to be installed on users' systems is referred to as setup
and deployment in C#.NET. To guarantee that the software runs properly on target computers, it
entails combining the application files, libraries, and configurations into an installer.

1. What is Setup and Deployment? :


• The process of getting a software program ready and packaged for installation on a target
computer is called setup.
• Installing the application on the target computer and ensuring that it functions correctly is
known as deployment. This process may involve setting up dependencies like databases,
services, or file systems.

2. Project Deployment Scenarios :


• Single-user Deployment: A standalone application installed on a single machine.
• Web Deployment: For web applications (ASP.NET), deployment involves setting up web
servers and databases.
• Client-Server Deployment: Desktop applications communicating with a server (such as a
database server) need to be set up and configured on both ends.
• Cloud Deployment: Deployment of applications to cloud platforms like Microsoft Azure,
AWS, or others.

3. Steps to Setup and Deployment In C#.NET :


• Step 1: Download and Install / Enable InstallShield Express edition
• Step 2: Open visual Studio and select File “New Project”. From New project dialog select
“Other Project Types” –> “Setup & Deployment” and we can see “InstallShield” project.

Notes By: Page : 1 of 5


Prof. Hiral G. Pandya
Setup and Deployment in C#.NET
o Once we press “OK” button, it will create a project and open a screen as shown in
below image.
o As we can see “InstallShield” provide simple steps to create Setup file.

• Step 3: Application Information –> This step allows to provide detail about company,
application and current version of application.
o We can version number as “MajaorVersion.MinorVersion.BuildNumber”
• Step 4: Application requirement –> This step allows to OS and necessary prerequisites to be
installed on client machine to run your application.
o We can select all version of windows by choosing “No” or select appropriate version of
windows by choosing “Yes”.
o Select version of “.NET framework” require on client machine to run application.
o Make sure to choose all necessary options, this is important as if we miss any, our
application will not work on client machine.

Notes By: Page : 2 of 5


Prof. Hiral G. Pandya
Setup and Deployment in C#.NET
• Step 5: Installation Architecture –> This step allows to choose features we want to include in
this setup.
o As this is limited/express edition we cannot choose features, everything will be
installed.
o For example, if we have develop two new modules in this version however we just
want to release only one module, we can select that module here.

• Step 6: Application Files –> Here we have to select files/folders which is required to run our
application.
o If we are not sure which configuration files and exe are required, the easiest way is to
select all files from “BIN” folder.
o If we have XML configuration files in different folder we can select “Add folder” option
to add them.

Notes By: Page : 3 of 5


Prof. Hiral G. Pandya
Setup and Deployment in C#.NET
• Step 7: Application Shortcut –> Decide where do we want to add shortcut of our application.
Select icon for shortcuts by selecting “.ico” file. This icon will appear as shortcut at selected
path.

• Step 8: Application Registry –> If our application is reading specific value from registry than it
must be available in client machine’s registry. Here is we can add these values in registry.

Notes By: Page : 4 of 5


Prof. Hiral G. Pandya
Setup and Deployment in C#.NET
• Step 9: Installation Interview –> The first option says “Do you want to display a license
agreement dialog?”. If we have your terms and condition and agreement defined than create
“.rtf” file and select that file using browse button. Choose “No” and agreement dialog will not
be displayed to client. Other options listed on screen is very simple to understand so select
appropriate option in that.

This was the last step and now we are ready to generate your Setup/MSI package. Right click on
project name from solution explorer and click on Rebuild option. This will generate Setup/MSI in
“<your solution file path>\Express\DVD-5\DiskImages\DISK1” folder.

Notes By: Page : 5 of 5


Prof. Hiral G. Pandya

You might also like