A simple solution for application issuance issues under my .NET

xiaoxiao2021-03-06  43

Two gadgets have been written in these few days, one is an automatic browser and the other is a bulk file name modifier. (If you are interested, here

Http://www.qqaa.net/download/ can be downloaded)

When I want to release, I encountered the issue of WIN98, WIN2K series, Win2003, Win XP client, mainly there is a ".NET framework", there is no.

How to solve this problem?

Here is my solution:

1. Newly built a new installation and deployment project in vs.net, select "Install Wizard", name is your application name, choose a good program save location, "OK", appear, press "Next", select one I have selected the first one, "Next".

2. Select the file you want to include, you should pay attention!

If you need to let users uninstall your app, in addition to adding your app name (I have two gadgets, there are two application files, one is asbestsee.exe, the other is asbestfilename.exe ), You also need to select a file called Msiexec.exe, pay attention: (1) If it is installed under Win98, select the msiexec.exe file in the Win98 operating system directory (generally in the C: / Windows / System directory) (2) If it is another, such as a Win2K series, select the msiexec.exe file in the operating system directory (generally in / winnt / system32 directory).

3. Select Next, next or "Complete" to enter the project solution. Under the "File System on the Target Computer", there is an "application folder", click on, find the msiexec.exe file, right-click, "Create Msiexec.exe's shortcut", then point new appearance Project "Msiexec.exe's shortcut", renamed you need to uninstall, such as my: "Uninstall QQAA Tool".

4 8DC61EAE-B624-491D-AD49-FFAEWRERRE} "Similar words, select it" copy ".

5, click on your uninstall shortcut name, such as "Uninstall QQAA Tool", and then to the lower right corner property bar, there is a property bar called Arguments, first filled in "/ x" after the property bar A space, "Paste", copy the properties of ProductCode COPY here.

6. Drag this shortcut into the user's "Program" menu, you can see "Uninstall QQAA Tool" in the Run-Program menu. If you need to add the "uninstall xxxx" to your desktop? Oh, repeat the above operation, the difference is to drag it into the "user desktop".

7, "Generate" in the top menu bar of VS.NET - "Generate XXXX" (xxxx is your project name).

8, from the Microsoft website

Http://www.microsoft.com/downloads/ Directly download Microsoft® .NET Framework 1.1 version Release Component Pack (DOTNETFX.EXE file), copy to your release-generated directory, put your installation instructions And prompt documents, etc. In the installation instructions prompted that users first install DOTNETFX.EXE, and then click on your application to run. Datual!

转载请注明原文地址:https://www.9cbs.com/read-79077.html

New Post(0)