Wix卸载不删除注册表值

时间:2015-01-28 14:45:30

标签: wix uninstall

这是我在卸载期间从日志中看到的,操作为空意味着它没有执行任何操作。

MSI (s) (00:D8) [14:54:39:091]: Component: Registry_Description; Installed: Local;   Request: Absent;   Action: Null;   Client State: Local

RegistryValue Id="ExcelRegistry_Description" 
    Root="HKCU" Key="Software\Microsoft\Office\Excel\AddIns\ExcelAddIn"
    Name="Description" Value="ExcelAddIn" Type="string" KeyPath="yes" />

1 个答案:

答案 0 :(得分:0)

我假设您在安装时安装此注册表项?

请参阅以下链接,您是否设置了正确的操作?

Action="createAndRemoveOnUninstall">

参考链接: - http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/write_a_registry_entry.html

http://wixtoolset.org/documentation/manual/v3/xsd/wix/registrykey.html