PDA

View Full Version : writing to the registry



billgower
11-06-2003, 09:44 PM
Can I prompt the user for an install directory and then have the install directory written to the registry?

buntonn
11-07-2003, 02:54 AM
if (AskPath ( szMsg, szDefPath, svResultPath ) = NEXT) then

// Now use RegDBSetKevValueEx to store the path in the registry


endif;

RobertDickau
11-07-2003, 10:54 AM
I believe you can also use the form <TARGETDIR> in some registry data you define in the Registry view...