O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

InstallUtil.exe — Installer utility

Synopsis

InstallUtil [/u[ninstall]] [options] assembly1 [[options] assembly2] ...

Description

Executes installers and uninstallers contained within the assembly. A log file can be written, and state information can be persisted. For complete details, see the Installer Tool (Installutil.exe) topic in the .NET Framework SDK Documentation.

Options

/? [ assemblypath ], /h[elp] [ assemblypath ]

Prints a usage message and exits. If assemblypath is supplied, it displays help for any additional options supported by installers in the assembly.

/logFile= file

Logs installation progress to a file (defaults to assemblyname.InstallLog).

/logToConsole=(true|false)

If true, logs output to the console. The default is false.

/showCallStack

Prints the call stack to the log file if an exception is thrown during installation.

/u[ninstall]

Uninstalls assemblies. This option applies to all assemblies specified on the command line.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required