Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wix注册表编辑未显示在msi日志中_Wix_Registry_Windows Installer - Fatal编程技术网

Wix注册表编辑未显示在msi日志中

Wix注册表编辑未显示在msi日志中,wix,registry,windows-installer,Wix,Registry,Windows Installer,我一直在从事一个WIX.net项目,该项目需要更新Microsoft注册表项才能正常工作。在测试逻辑时,我发现很难调试通过命令行/日志选项更新注册表的WIX组件。为了验证正确的行为,我必须手动检查注册表值。如何强制WIX项目在MSI日志输出中从以下片段记录注册表搜索和更新逻辑 <util:RegistrySearch Id="Office2013RegistySearch" Root="HKLM" Key=

我一直在从事一个WIX.net项目,该项目需要更新Microsoft注册表项才能正常工作。在测试逻辑时,我发现很难调试通过命令行/日志选项更新注册表的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>

Office2013GuessRowsx86存在
尝试使用完整日志

msiexec/i“dotnetproject.msi”/L*v“log.log”

或添加
(也适用于完整日志)