[英]Wix registry editing not displayed in the msi log
我一直在研究WIX .net項目,該項目需要更新Microsoft注冊表項才能正常工作。 在測試邏輯時,我發現很難調試通過MSiexec.exe命令行/ log選項更新注冊表的WIX組件。 若要驗證正確的行為,我必須手動檢查注冊表值。 如何強制WIX項目記錄MSI日志輸出中以下片段的注冊表搜索和更新邏輯?
<util:RegistrySearch Id="Office2013RegistySearch"
Root="HKLM"
Key="SOFTWARE\Microsoft\Office\15.0\Access Connectivity Engine\Engines\Excel"
Value="TypeGuessRows"
Variable="Office2013GuessRowsx86Exist"
Win64="no"
Result="exists" />
<Component Id="Office2013GuessRowsx86RegComponent" Guid="CFE579F9-292A-4777-A671-B5E8E330B1A0" Win64="no">
<Condition>Office2013GuessRowsx86Exists</Condition>
<RegistryKey Root="HKLM"
Key="SOFTWARE\Microsoft\Office\15.0\Access Connectivity Engine\Engines\Excel" ForceDeleteOnUninstall="no">
<RegistryValue Type="integer" Name="TypeGuessRows" Value="0"/>
</RegistryKey>
</Component>
嘗試使用完整日志
msiexec /i“dotnetproject.msi”/L*v“log.log”
或添加<Property Id="MsiLogging" Value="voicewarmup"/>
(也適用於完整日志)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.