1:vs2010 3 folders appear to the left of the new installation project
2: Click the "Application Folder" in the first folder to drag the file in the Bin directory to the right margin; C:\Windows\System32 folder to find a call Msiexec.exe also drag it in, it is responsible for unloading;
3: Click "Application Folder" to right click Add folder named img
4: Click img to drag two pictures of the. ico into the right margin
5: Click on the Second folder in the right margin to right click Create shortcut out of the box link to the. exe in the Application folder to another shortcut link to Msiexec.exe to create a total of two separate names; here the shortcut will appear in the Start menu;
6: Click on the "User desktop" folder to the right margin to add a shortcut link to the. exe that will appear on the desktop;
7: Click on the project under Solution Manager right-click Properties to copy the value of ProductCode, put the arguments property of the shortcut under the Icon property link to the image under IMG, and the value of the unloaded arguments is added before the/X
8: the solution is regenerated; find the installation package; click Install;
C/S WinForm Packaging and deployment