0
如何使用自定義操作將C#dll鏈接到WiX程序。 我是WiX新手,所以我盡我所能。XML自定義操作中的Windows Installer
我使用了下列標籤。
<Binary Id="Uninstall" SourceFile="..\..\uninstaller.dll"/>
<CustomAction Id="UNINSTALLER" BinaryKey="Uninstall" DllEntry="ManagedInstall" Execute="deferred" Impersonate="no"/>
和
<Custom Action="Uninstall" Sequence="1699" After="InstallFinalize"></Custom>
這不是工作;差遠了。任何人都可以幫我嗎?
需要更多信息。首先,您要在元素中設置「序列」和「之後」屬性。這些屬性是相互排斥的,並且會導致編譯失敗。 此外,什麼是「不工作」? MSI構建是否正確,或者在安裝過程中是否出現錯誤?如果安裝過程中出現錯誤,那麼您需要提供MSI安裝日誌中的相關代碼片段。 –
2012-01-28 10:09:01