簡體   English   中英

Windows Installer中的XML自定義操作

[英]Windows Installer in XML custom actions

如何使用自定義操作將C#dll鏈接到WiX程序。 我是WiX的新手,所以我嘗試了一切。

我使用了以下標簽。

<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>

這行不通; 差遠了。 有人可以幫我嗎?

您無法從安裝程序輕松調用托管代碼。 本文介紹了所需的步驟: 為托管代碼編寫的WIX創建自定義操作

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM