473,468 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to use TARGETDIR??

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!!
Nov 4 '05 #1
2 7174
check this http://www.codeproject.com/dotnet/Cu...Installers.asp

hth,
Avnrao.
http://avnrao.blogspot.com

"Cleyton" wrote:
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!!

Nov 4 '05 #2
This should help too. Installer classes are about half way through.

http://www.simple-talk.com/2005/06/0...-studio-setup/

--
Phil Wilson [MVP Windows Installer]
----
"Cleyton" <Cl*****@discussions.microsoft.com> wrote in message
news:D3**********************************@microsof t.com...
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!!

Nov 5 '05 #3

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

Similar topics

0
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...
0
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...
3
by: Shelby | last post by:
Hi, how can I get the in which I installed the program? I tried: - System.Windows.Forms.Application.StartupPath - System.Environment.CurrentDirectory both does not return me the path in which...
1
by: nicksop | last post by:
How can i change 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
2
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. ...
0
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...
0
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...
0
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...
0
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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,...
0
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
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.