Vs2008 package publishing program
1. Create an installation project in vs2008. OK (the new installation wizard is also available)
Ii. add content
1. Add the following content:
Application directory = right-click = add = file, find the required file, including EXE/DLL and other files. If there is a directory, add it to the directory and create the directory first, then add the content.
The program content has been added.
2. Create a shortcut
Find the main file in the application directory, right-click it, create a shortcut, and generate a shortcut file. Rename the file if you need to change the name.
Right-click an icon file in the application directory as a shortcut icon.
Find the shortcut file, right-click the attribute form = "icon and select the icon you just uploaded.
Drag the created shortcut to the user's "program" menu and user desktop, so that the shortcut can be found on the desktop and program menu.
3. Create an uninstall shortcut
1. Add msiexec.exe to the application directory (available in C: // windows // system32)
2. Right-click, add the parcel mode, and add the standard. The method is the same as above. Drag the user's "program" menu.
3. Right-click the shortcut, and set the attribute form and argument attribute to "/X {productcode}". Note: you can click the project name by left-clicking the productcode and view it in the attribute form.
3. Related settings
Left-click the project name and set the number of related items in the property form. By default
4. Generate a project
Find the installation file in the debug or release file in the project directory and install it.
5. Additional instructions
1. If some components require attention, find the file in the application directory, right-click the attribute form, and select the attention mode.
Vs2008 package publishing program