0
執行我有以下的WiX XML文件:安裝自定義操作上卸載
<Binary Id='IISCustomActionBinary' SourceFile='$(var.Setup.CustomActions.TargetDir)$(var.Setup.CustomActions.TargetName).CA.dll' />
<CustomAction Id='IISCustomActionInstall' BinaryKey='IISCustomActionBinary' DllEntry='ConfigureIis' Execute='deferred'/>
<CustomAction Id='IISCustomActionUninstall' BinaryKey='IISCustomActionBinary' DllEntry='UnconfigureIis' Execute='deferred' />
<InstallExecuteSequence>
<Custom Action='IISCustomActionInstall' Before='InstallFinalize'>
NOT INSTALLED
</Custom>
<Custom Action='IISCustomActionUninstall' Before='InstallFinalize'>
(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")
</Custom>
</InstallExecuteSequence>
執行不僅安裝,而且在卸載時,「IISCustomActionInstall」自定義操作。我做錯了什麼?
謝謝。我實際上是用小寫字母寫的,但是在編寫自定義動作實現之前已經改變了.... – Antineutrino