Groups | Blog | Home
all groups > dotnet setup > december 2004 >

dotnet setup : Setting registry key with location of application folder


DanielB
12/19/2004 5:36:43 PM
How do I set a registry key with the location of a folder created at
install time? My application creates a folder called 'cache' inside
it's Application Folder and I'd like to store the complete path of
this 'cache' folder in a registry key but I can't figure out how to do
it.

Any suggestions?

Cheers,

Stefan Krueger [MVP]
12/19/2004 7:16:41 PM
You can store property values, such as:
[CACHE_FOLDER]
where CACHE_FOLDER is the Directory table entry that represents your cache
folder.

--
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)

"DanielB" <danielb@nospam.net> schrieb im Newsbeitrag
news:arebs013vm2h3ppf66fjbjihralbiqba19@4ax.com...
[quoted text, click to view]
DanielB
12/20/2004 9:53:02 PM
Thanks for the pointer got it working now!

Cheers,

Daniel

On Sun, 19 Dec 2004 19:16:41 +0100, "Stefan Krueger [MVP]"
[quoted text, click to view]
AddThis Social Bookmark Button