Visual studio installer packaging 123, studioinstaller

Source: Internet
Author: User
Tags visual studio installer

Visual studio installer packaging 123, studioinstaller

3. Open the File View

4. copy the files in the release directory to Application Folder.

5. Create two shortcuts, one for DeskTop and the other for Program Menu.

Paste shortcuts to DeskTop and Program Menu

6. added the uninstall function:

Find C: \ Windows \ System32 \ Msiexec.exe, copy it to the Application folder directory, create the mode for it, and copy it to the Programs Menu directory

Locate productcode

Set unload parameters:

7. Add a Custom User Interface. Here we will demonstrate how to add the License AgreementUI.

Right-click Start and Add Dialog.

Right-click the License Agreement attribute and select LicenseFile:

 

8. Custom Action,

Create a C # class library project and create a new Installer file. Here, the Install and Uninstall methods are rewritten,

Associate Custome Action with Setup.

Here, Install and Uninstall reference the Primary output of the Custom Action Project respectively.

In this way, the corresponding method will be customized during uninstallation and installation.

9. Package the. net environment.

Right-click the setup project and choose Properties,

Select the required components and select the download method,

The first download method is from the official website. if the machine is not installed, the system will prompt you to download it,

The second method is to directly package the. net environment into the installation package.

10. Generate a separate exe executable file and use winrar to create and decompress it.

Http://jingyan.baidu.com/article/597035523d9ec28fc00740a7.html

 

Related Article

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.