Introduction to .NET Framework Tools
page 11 of 15
by Suresh Kumar Goudampally
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 70665/ 168

Installutil.exe - An Insight

Installutil.exe is the tool which allows us to install or uninstall server resources in a specified assembly.

This tool works with the support of the classes in the System.Configuration.Install Namespace.

The syntax of using the tool is as follows:

installutil [/uninstall][option [...]]assemblyname ]

[option [...]]assemblyname

These are the following options provided by the tool.

             Option

        Description

    

        /h

Displays all the available options of the tool.

 

Eg:  Installutil  /h

    

      /assemblyName

  

Specifies the name of the assembly.

     

     /? assemblypath

Displays any additional options recognized by individual installers within the specified assembly.

   

     /LogFile=[filename]

 

Specifies the name of the log file where install progress is recorded. The default is assemblyname.InstallLog.

     /i

Installs the specified assembly.

 

     /u

 Uninstalls the specified assembly.

Example 1:

Installutil  -I  assembly1   

This installs the specified assembly.

Example 2:

Installutil  /u  assembly1   

This uninstalls the specified assembly.

Example 3:

installutil /LogFile=myLog.InstallLog myAssembly.exe

The following command executes the installers in the assembly myAssembly.exe and specifies that progress information will be written to myLog.InstallLog.

Installutil.exe cannot install or uninstall delay signed assemblies, but can install or uninstall strong named assemblies.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2021 ASPAlliance.com  |  Page Processed at 2021-02-28 11:37:34 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search