[英]Wix registry editing not displayed in the msi log
I've been working on a WIX .net project that needs to update a Microsoft registry entry to work correctly. 我一直在研究WIX .net项目,该项目需要更新Microsoft注册表项才能正常工作。 While testing the logic, I found it difficult to debug the WIX components that updates the registry via the MSiexec.exe command line /log options.
在测试逻辑时,我发现很难调试通过MSiexec.exe命令行/ log选项更新注册表的WIX组件。 To verify the correct behaviour, I had to check the registry value manually.
若要验证正确的行为,我必须手动检查注册表值。 How do I force the WIX project to log the registry search and update logic from the following fragment in the MSI log output?
如何强制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>
Try use full log 尝试使用完整日志
msiexec /i "dotnetproject.msi" /L*v "log.log"
msiexec /i“dotnetproject.msi”/L*v“log.log”
or add <Property Id="MsiLogging" Value="voicewarmup"/>
(for full log too) 或添加
<Property Id="MsiLogging" Value="voicewarmup"/>
(也适用于完整日志)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.