473,486 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 4505
Can you post the line of code that you are using to set the reg key
value?

Thanks.

Aug 24 '05 #2
aztek
1 New Member
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
2072
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
3168
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
1758
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
2070
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
314
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
2224
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
1800
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
2308
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
4461
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
7094
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7305
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5427
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4863
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
259
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.