Install and uninstall Windows programs

Source: Internet
Author: User

There are usually two tools for installing Windows service.

The installutil.exe tool in the 1.frameworkcatalog.
2. Visual Studio command line tool

Here I want to talk about how to useSystem is a 64-bit system. The framework contains 1.0, 2.0, 3.0, 3.5, 4.0, and their 64-bit versions..

One worker uses installutil.exe

X86 2010 Applications created using Visual Studio 4.0ProgramWhen using the volume toolC: \ windows \ Microsoft. NET \ framework \ v4.0.30319Under this directory.

Use this tool to install and uninstall programs

1. install. Under the command line, go to the C: \ WINDOWS \ Microsoft. NET \ framework \ v4.0.30319 directory, installutil.exe application path, which has a servicetest.exe program than my fdrive. The command is:Installutil.exe "F: \ servicetest.exe"

2.Uninstall. You only need to add/u before the application name for download. For example:Installutil.exe/u "F: \ servicetest.exe"

2. Use Visual Studio command line tool

The Visual Studio 2010 command line tool is relatively simple. In a 64-bit system, Visual Studio 2010 provides two toolsVisual Studio command prompt (2010)AndVisual Studio x64 win64 command prompt (2010)

The first is used to install and uninstall the x86 program, and the second is used to install and uninstall the x64 program.
However, the commands are slightly different. For example, open Visual Studio command prompt (2010) on F: \ servicetest.exe ).

1. install. installutil "F: \ servicetest.exe"
2. Uninstall. installutil "F: \ servicetest.exe"/u

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.