473,729 Members | 2,353 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How Can I change [TARGETDIR] in a Setup project in Vb.net?

How can i change [TARGETDIR] of a setup project in vb .net

For example how can i change the path of

C:\program files\myprogram \program.exe

and make it

D:\program files\myprogram \program.exe

How can i change the root or the directory?

Thanks in advance!
Nov 20 '05 #1
1 8420
Hi Nicksop,

There is a very good hidden place.

You can do it by changing by instance the properties of your setup project.

That is dificult to find. Click for that on your deployment project. And
then not a right click however click on the properties tab.

I think that that is the part you never could find.

However partially a gues of this was your question?

Cor
How can i change [TARGETDIR] of a setup project in vb .net

For example how can i change the path of

C:\program files\myprogram \program.exe

and make it

D:\program files\myprogram \program.exe

How can i change the root or the directory?

Thanks in advance!

Nov 20 '05 #2

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

Similar topics

2
7211
by: Cleyton | last post by:
Hello !! I have a installer that call another class derived of System.Configuration.Install.Installer and in the AfterInstall method i have to get the folder where the user put my application. Can I get this with TARGETDIR or there's another way ?? And How to use the "TARGETDIR" to do this?? Thanks!!
1
2792
by: gan | last post by:
I created a ASP.NET web setup project with the project name "Setup". I noticed that this name will be used as the default Virtual Directory name during deployment. I'd like to know whether we can change this default value while preserving the project name? Thanks in advance
0
1070
by: NoOne | last post by:
This is pissing me off. The web app setup project is great except for one stupid limitiation. You can't specify the target directory for the virtual folder. What is up with that? I've been reading posts and documentation that it works that way by design, and I'm having a hard time believing there isn't a workaround for this. What I need is very simple. You have the following options in a Web App setup UI dialog * Port
0
472
by: Robert Barron | last post by:
The web app setup project is great except for one limitiation. You can't specify the target directory for the virtual folder. What is up with that? I've been reading posts and documentation that it works that way by design, and I'm having a hard time believing there isn't a workaround for this. What I need is very simple. You have the following options in a Web App setup UI dialog * Port
4
7014
by: Jéjé | last post by:
Hi, I want to create a deployment project of my web application. But I want to force the target physical folder instead of the "c:\inetpub\wwwroot" (or the root folder used by IIS) how to do this? thanks.
0
2774
by: Soren S. Jorgensen | last post by:
Hi, I've created a custom installer for my setup project and is passing the parameter to installer like /TargetDir= in CustomActionData - but when contains spaces my installer fails! I've tried surrounding the with " and ' but this only makes the installer fails with another exception. What do I do ??
0
1285
by: CharlesA | last post by:
Hi folks, I'm using C#, the .Net Framework 1.1, and VS 2003 I'm fine with creating setups in general and the fact that you can specify the Virtual Directory etc... what I can't figure out is this: How do I get the installer to allow me to specify a different backing directory to the one it defaults to, namely C:\inetpub\www\ So I want to choose a different directory (to Inetpub), from within the
0
1284
by: Grant | last post by:
Hi, The TargetDir alias is empty when using it in the AfterBuild section of a Web Deployment Project. As per the MSDN article Using Web Deployment Projects with Visual Studio 2005, I have the following code. The Upload directory is created in the root of my C: drive instead of the release directory of the build. <Target Name="AfterBuild">
0
1779
by: cnathaide | last post by:
Hi, I have written a simple command line application in C# and created the accompanying setup project in VS 2005. When the user installs the application on the his/her machine, I would like the path bin to be added to the machine Environment PATH variable. Is there an easy way to do this? Any help is greatly appreciated.
0
8917
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8761
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8148
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6022
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2680
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.