It's mine. Simple solution to the problem of application publishing under net

Source: Internet
Author: User
Tags file system microsoft website
Program | Solve problems these days wrote two gadgets, one is the picture automatic browser, the other is the batch file name modifier.
When you want to publish, you encounter the Win98,win2k series, Win2003,win XP client publishing issues, mainly some may have installed the ". NET framework", and some do not.
How to solve this problem?

Here's how I fix it:
1, VS. NET to create a new installation and layout of the project, select the "Installation Wizard" name for your application name, choose a good solution to save the location, "OK", the corresponding prompts, press "Next", select a project type, I chose the default first, "Next".
2, choose to include the documents, here to pay attention to!
If you need to allow users to uninstall your application, in addition to adding your application name (I am here because it is two gadgets, so there are two application files, one is AsBestSee.exe, Another is AsBestFileName.exe), also need to select a file named Msiexec.exe, Note: (1) If the installation under WIN98, please select the WIN98 operating system directory Msiexec.exe file (generally in C:\Windows \system directory); (2) If it is something else, such as the Win2K series, select the Msiexec.exe file in the operating system directory (typically under the \Winnt\System32 directory).
3, select Next, Next or "complete", into the project plan. On the left, under the file system on the target computer, there is an application folder, click to locate the Msiexec.exe file, press the right mouse button, "Create a Msiexec.exe shortcut", and then click the New Item "Msiexec.exe shortcut", Rename the description text you need to uninstall, such as mine: "Uninstall Qqaa tool".
4, click on the right side of the Solution Explorer by clicking on your project name (that is, the second line), the "XXX is the project properties", the column has a "ProductCode" attribute, the attribute value has "{8D C61eae-b624-491d-ad49-ffaewrerre} "similar to the typeface, select it to copy."
5, again click on your uninstall shortcut name, for example, mine is "Uninstall Qqaa tool", and then to the lower right corner of the property bar, there is a property bar called arguments, in the property bar first fill in the "/x" followed by a space, and then "paste", the ProductCode property value copy to this.
6, again in the top of the Vs.net menu bar "Generate"-"Generate XXXX" (XXXX for your project name).
7, from the Microsoft website http://www.microsoft.com/downloads/directly download the Microsoft®.net Framework 1.1 version of the redistributable Package (Dotnetfx.exe file), Copy to the directory generated by your publication, and then put your installation instructions and prompts file. The installation instructions prompt the user to install Dotnetfx.exe first, then click on your application to run it.



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.