2013-05-15 44 views
3

在我的包中,我將另一個刻錄包鏈接爲ExePackage。如何爲Burn bundle ExePackage指定DetectCondition?

<ExePackage SourceFile="$(var.DatabaseBundle.TargetPath)" 
      InstallCommand="/install /quiet" 
      UninstallCommand="/uninstall /quiet" 
      Protocol="burn" 
      PerMachine="yes" /> 

卸載時,刻錄日誌顯示DatabaseBundle不存在,所以它不會被卸載。很顯然,我需要設置DetectCondition以便正確檢測。

是否可以方便地檢測到Burn包的功能,或者我應該使用WixUtilExtension搜索基礎的msi產品/組件/等?

回答

1

不,沒有什麼內置的檢測捆綁。有一個open bug來實現這一點。

+0

此問題已移至此處:http://wixtoolset.org/issues/3693/ –

相關問題