Vs2008 package publishing program

Source: Internet
Author: User

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

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.