The only other option i can see is to use installscript to get the property from the properymanager, and then use writeprofstring to write it to the ini file.
Can anyone give me a hand doing this in installscript??
Posted 18 October 2001 - 15:30
Can anyone give me a hand doing this in installscript??
Posted 18 October 2001 - 16:58
If you call this twice the first time it will return the length of the string value of the property.
then
nReturnSize = nReturnSize +1
Resize(szReturnString,nReturnSize)
then call MsiGetProperty a second time. As nRuturnsize is no longer 0 ( we hope) it will read a string of length nRuturnsize into szReturnString.
THen use your writeProfileString or what have you.
(Edited by omwof at 9:35 am on Oct. 19, 2001)