wix - 我可以使用 wix 创建 DWORD 注册表项吗?

标签 wix registry

我正在尝试通过设置 Type 创建 DWORD 注册表项至 dword .我越来越:

error CNDL0021 : The RegistryValue/@Type attribute's value, 'dword', is not 
                 one of the legal options: 'binary', 'expandable', 'integer', 
                 'multiString', or 'string'.

我应该使用其中的哪一个?

最佳答案

查看 RegistryValue 的文档使这一点显而易见:

integer
The value is interpreted and stored as an integer (REG_DWORD).

关于wix - 我可以使用 wix 创建 DWORD 注册表项吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9664823/

相关文章:

user-interface - 使用 WiX 如何根据属性更改禁用/启用控件?

powershell - 通过PowerShell许可注册表

c++ - 无法在 32 位服务中使用 RegLoadKey 加载 64 位 key

c++ - 我自己的 COM 组件上未注册类 (0x80040154)

windows - PowerShell 中 New-ItemProperty 的小问题

windows - 错误 1334。在 Data1.cab 中找不到文件

xml - WiX XmlConfig : Purpose for nesting XmlConfig in XmlConfig

command-line - 使用 WiX 安装 Powershell 脚本

wix - 你如何卸载 wix 安装程序中的另一个程序?

cmd:从cmd注册