Hi,
Here is my situation. My installer needs to read a registry value of tye REG_DWORD type and put it in a property (via AppSearch and RegLocator), and then write that value to another registry key as REG_SZ.
It seems to me that since the registry is of type REG_DWORD, and let's assume the value is 2, then the value of the property would be #2. And when it writes that value to another key, that key becomes a REG_DWORD as well because of the # prefix. But I need it to be a REG_SZ!
How do I accomplish that?
Thanks!!
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Change registry value type?
Started by
quakey
, Nov 18 2004 23:24
2 replies to this topic
Posted 19 November 2004 - 00:10
VBScript custom action in execute immediate sequence anywhere between "AppSearch" and "WriteRegistryValues".
Property("TEST1") = Replace(Property("TEST1"),"#","")
Property("TEST1") = Replace(Property("TEST1"),"#","")
Posted 19 November 2004 - 01:08
QUOTE (mandy @ 2004-11-19 00:10) |
VBScript custom action in execute immediate sequence anywhere between "AppSearch" and "WriteRegistryValues". Property("TEST1") = Replace(Property("TEST1"),"#","") |
Thanks! That did it!