473,320 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Setup Project, dynamic Registry key value... how?

Hi,
I found where to create new registry keys, but I would like on of these keys
to have the installation path as it's value. Is it possible? and if it is.
How can I do that? because I tried to set the value to TARGETDIR but the
value inserted in the new registry key is "TARGETDIR" and that's not what I
want.

Can somebody help me please?

Thanks
Aug 24 '05 #1
2 4494
Can you post the line of code that you are using to set the reg key
value?

Thanks.

Aug 24 '05 #2
aztek
1
You must enclose the variable in square brackets:

In this case use: [TARGETDIR] as the value and it should work.
Sep 5 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: steve b | last post by:
I need to add a registry entry to internet explorer (I'm adding a right click menu item) with vb.net setup program. Anyone know how to do that? Thanks!
2
by: Grant Schenck | last post by:
I have an Internet Explorer toolbar built with C# .Net. I'd need to install the GUID in HKLM\Software\Microsoft\Internet Explorer\Toolbars However, I can't find any way to get my setup project...
0
by: ahaupt | last post by:
Hi all, I've created a setup project for my app in VS2003 and need to set up some registry values and keys. It is easy enough to just create static keys with static values, but I'd like the...
1
by: Ravi | last post by:
Hi, I'm trying to create a Setup project that can add some registry settings during the installation. I'm using the Registry editor to specify these registry entries. The registry...
1
by: ThunderMusic | last post by:
Hi, I found where to create new registry keys, but I would like on of these keys to have the installation path as it's value. Is it possible? and if it is. How can I do that? because I tried to...
2
by: joerozario | last post by:
I have created a windows application. Like windows search program. So I want my project link should be shown in folder right click. I have added values in the registry manually in I have got as I...
2
by: Technolust | last post by:
Hi there! I'm using VS 2005 SP1 to create a setup project. I'm checking for a registry entry in HKCU\Software \FMI\NCR called 'TemplateFolder' in the Launch Conditions tab. The Property is set...
4
by: Blue Streak | last post by:
Hi, Folks. I am trying to add to the Environmental Variable %PATH % for a console application written in C#. I know the path for Win2k/XP is stored in the System Registry under...
3
by: fniles | last post by:
I am not sure if I post this issue at the correct newgroup. If I need to post it somewhere else, please let me know what is the correct newsgroup for this. I am using VB.NET 2005 and I create a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.