PDA

View Full Version : InstallScript: RegDBGetKeyValueEx



Roman1
08-20-2010, 06:27 AM
Hello,

I use RegDBGetKeyValueEx.
If registry value is of type REG_EXPAND_SZ I would expect
expanded string as return value.

This function returns always %ENV% instead of expanded value.

Is it possible you rewrite this function?

joshstechnij
08-20-2010, 01:32 PM
This request was submitted under work order IOA-000056377 during the IS 2011 beta. You can use the Win32 ExpandEnvironmentStringA/W API to perform replacement of environment variables in a string.