The first version of the project has come out. I have to create an installation package. I haven't done it for a long time and have forgotten it. I wrote a poor piece of information on the Internet. In summary, it may not be perfect, for reference only.
1. First, open vs2010 and create a new project.
2. Create an installation project setup1
Under "File System on the target computer", we can see the application folder, user program menu, user desktop, right-click the application folder and add a folder (that is, the folder containing program-related components generated in the installation path after installation)
3. biomer is added to this program. Right-click biomer and select Add. Add all components required by the program according to the project requirements. In this example, xxx.exe, xxx. add DLL, icon, and other files
4. To uninstall the software, add the c: \ windows \ system32 \ msiexec.exe program to biomer.
Next, create shortcuts for the main program xxx.exe and msiexec.exe respectively.
5. similarly, add a folder biomer in the user program menu and cut the shortcuts of xxx.exe and msiexec.exe to this folder, in this way, the user will see the installation program file after clicking the Start Menu, providing a shortcut for running the program and a shortcut for uninstalling the program.
6. Add icons to the shortcut for the application and uninstall programs
7. Add an image for each step of installation. If no image is displayed during installation, add an image for each step of installation as follows:
8. Finally, you need to set system installation prerequisites. Right-click the name of the installation project and select Properties.
9. Select a Required System
As set, click OK.
10. At the end, we need to set parameters.
Because the uninstall program needs to know which software to uninstall, this step is to find the product ID
The product ID is found above,
11. set the parameters of the uninstall program: Right-click the uninstall shortcut, go to its properties page, find its arguments attribute value, and copy the attribute value. In this example, the attribute value is: /X {42a99b47-4a84-4144-82b9-6dfa90967a4d,
I have tried the shortcut icon many times but it is still unsuccessful. If any of the above problems has been solved or is being solved, I can talk about it and learn it together. Thank you. Let's go here today. What are the shortcomings, please correct me...
Diagram of the entire process of creating the vs2010 installation package