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