ServiceInstaller.IsEquivalentInstaller Method (ComponentInstaller)


Indicates whether two installers would install the same service.

Namespace:   System.ServiceProcess
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

public override bool IsEquivalentInstaller(
	ComponentInstaller otherInstaller


Type: System.Configuration.Install.ComponentInstaller

A ComponentInstaller to which you are comparing the current installer.

Return Value

Type: System.Boolean

true if calling Install on both of these installers would result in installing the same service; otherwise, false.

IsEquivalentInstaller indicates, for example, whether two installers would install the same service under the same user account.

.NET Framework
Available since 1.1
Return to top