Step by step deployment and installation (1)

Source: Internet
Author: User
Why is package required?

ProgramAfter the development is complete, the client must make an installation package before it is finally delivered for use. Do not compress the files under release for delivery? Another important factor in packaging is that during software installation, you can check the running environment of the software, especially when using the software.. Net program. If the client does not install the framework, it cannot be used even if it is copied to the client. In addition, packaging facilitates program deployment. For example, you can restore the DB used by the program to the database during software installation.

 

First, we will give you the simplest package.

Create a blank solution

 

To package the test, we need to add a test project. Then, add the deployment project.

The solution includes the following items:

Next, right-click applicationsetup and select project output.

In the pop-up menu, select the project to be packaged

Now, compile and deploy the project. However, when the generated package file is installed, there is a nasty default company.

(If you need to set this parameter, click deploy project to view the Properties window, as shown in)

If you want to remove this item, right-click the deployment project and select

Select application folder and view the Properties window

Remove the manufacturer of defaultlocation.

Next, you need to generate a shortcut and use the custom icon.

In the file system window that just opened, right-click and add the icon

Right-click the Project Master output and create a shortcut

Drag and Drop the shortcut to the user's desktop folder in the directory (put it at the beginning-the Program is the same as the desktop)

Click this shortcut to view the icon properties in the Properties window and Click Browse

Select the icon you just added

OK, everything is done. Compile now

After the compilation is complete, right-click and choose install)

At this time, you will find the shortcut you just drag and drop on the desktop

Open debug under the bin of the deployment project and you will find that the installation program has been generated.

 

 

OK, I will write it here today. Next time I will talk about how to install the database during the installation process.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.