EventLogInstaller.IsEquivalentInstaller(ComponentInstaller) Metod

Definition

Avgör om ett installationsprogram och ett annat angivet installationsprogram refererar till samma källa.

public:
 override bool IsEquivalentInstaller(System::Configuration::Install::ComponentInstaller ^ otherInstaller);
public override bool IsEquivalentInstaller(System.Configuration.Install.ComponentInstaller otherInstaller);
override this.IsEquivalentInstaller : System.Configuration.Install.ComponentInstaller -> bool
Public Overrides Function IsEquivalentInstaller (otherInstaller As ComponentInstaller) As Boolean

Parametrar

otherInstaller
ComponentInstaller

Installationsprogrammet som ska jämföras.

Returer

trueom installationsprogrammet och installationsprogrammet som anges av parametern otherInstaller skulle installera eller avinstallera samma källa, annars . false

Kommentarer

Vanligtvis anropar du inte metoderna EventLogInstaller för inifrån koden. De anropas vanligtvis endast av installationsprogrammet (Installutil.exe).

Gäller för

Se även