I'm using the Registry Value Dialog to create a registry key with two vaues: a REG_SZ and a REG_MULTI_SZ, and am encountering several problems.
1) There is no way of explicitly specifying REG_SZ vs REG_MULTI_SZ. The type appears to be implicitly specified thru the use of multi-line values. i.e., a value without a cr produces a REG_SZ type and a value with a cr produces a REG_MULTI_SZ.
Explicit specification of REG_SZ and REG_MULTI_SZ types would be a lot easier to understand. e.g., a null REG_MULTI_SZ is valid but you have to trick AI into supporting it by specifying a cr when you really want a null value.
AI displays the type as REG_SZ when a multi-line value is specified. Also, the type that actually gets generated in the registry is inconsistent. Sometimes I get a REG_SZ when it should be a REG_MULTI_SZ and vice-versa.
2) The registry key associated with an optional feature (install level 4) always gets deleted on an uninstall even though the "Delete (if present) at uninstall." checkbox is not checked in the Edit Registry Key dialog.