PDA

View Full Version : Setting DWORD registry keys from user input with Installscript



Beanalby
06-23-2004, 10:32 AM
I'm trying to set a String and a DWORD in the registry based on something the user enters during the install process. For the string, using <VARIABLE> after calling FeatureSetTarget() works fine, but the DWORD won't allow it - it wants either a numeric value, or a property in the form of [name].

It looks like properties can only be used in WMI projects, not Installscript. Is there an easy way to set this with Installscript besides manually using RegDBSetKeyValueEx() in the script?

Beanalby
06-23-2004, 10:42 AM
Originally posted by Beanalby
It looks like properties can only be used in WMI projects

Er, I meant MSI projects. Too many TLAs floating around in my head.