Create registry key without creating a value using Inno Setup

时间:2015-07-28 17:10:02

标签: registry inno-setup

I'm struggling with Inno Setup which compared to WiX does not have a RegistryKey element. How could I create a reg key without inserting a value in it? I guess it's something very basic that I'm missing here...

This is the way I create a value:

 Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Services\NetBT\Parameters";  ValueName: "SMBDeviceEnabled";  ValueType: dword; ValueData: 00000000; Flags: uninsdeletevalue

1 个答案:

答案 0 :(得分:1)

发现它...... 不要包含add_column :client_params, :usage_reports_access, "ENUM('value1','value2', 'value3') DEFAULT 'value1'" ValueNameValueType属性,这只是一个关键。

Registry section