Re: custom registry value

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Phil Wilson (pdjwilson_at_nospam.cox.net)
Date: 02/17/05


Date: Wed, 16 Feb 2005 19:25:02 -0800

Put an item in the regiistry view of of the Setup&Deployment project with a
Name of "MyLocation" or whatever you want it to be, and the key to getting
that path is to put [TARGETDIR] in the registry value (case-sensitive and
with those brackets).

-- 
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
"Norvin Laudon" <123@abc.com> wrote in message 
news:uHqBp3FFFHA.624@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> At time of install, I need to create a custom registry key and set it's
> value to the _installation folder path_. (Which can be changed by the user
> during install)
>
> No problem creating the actual key, but how do I set the value?
>
> TIA,
> NL
>
>