EventLogInstaller.IsEquivalentInstaller(ComponentInstaller) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷安裝程式與另一指定安裝程式是否引用相同的來源。
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
參數
- otherInstaller
- ComponentInstaller
安裝商可以比較一下。
傳回
true 如果這個安裝程式和參數 otherInstaller 指定的安裝程式會安裝或卸載相同的原始碼;否則, false。
備註
通常,你不會在程式碼中呼叫 的方法 EventLogInstaller ;它們通常只會由安裝工具(Installutil.exe)呼叫。