473,554 Members | 2,414 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installation Directory Access from Installer Class

I cannot find ant doc to indicate how to access the user selected
installation directory during the install process. I am trying to update the
application confiduration file based upon some of the responses from the
user during installation.

Thanks in advance

Jamie
Jul 21 '05 #1
2 3394
Never mind I have already figured out the solution for this problem.

You add /DIR=[TARGETDIR] on the Custom Action Data property

Then you can access this from the installer class through

Me.Context.Para meters("DIR")
"Jamie Bissett" <jb***@online.n ospam> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
I cannot find ant doc to indicate how to access the user selected
installation directory during the install process. I am trying to update
the application confiduration file based upon some of the responses from
the user during installation.

Thanks in advance

Jamie

Jul 21 '05 #2
Never mind I have already figured out the solution for this problem.

You add /DIR=[TARGETDIR] on the Custom Action Data property

Then you can access this from the installer class through

Me.Context.Para meters("DIR")
"Jamie Bissett" <jb***@online.n ospam> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
I cannot find ant doc to indicate how to access the user selected
installation directory during the install process. I am trying to update
the application confiduration file based upon some of the responses from
the user during installation.

Thanks in advance

Jamie

Jul 21 '05 #3

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

Similar topics

2
5331
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically works. Now, I am wondering if there is any way to change the directory that the installer installs the files to. I want to be able to put my files...
4
5737
by: Maroon | last post by:
Hello all I want to install db2 universal Database Personal Edition in my Linux Fedora core 3. But the following error has occured. When i gave the following command for install -----> # ./db2setup DBI1190I db2setup is preparing the DB2 Setup wizard which will guide you through the program setup process. Please wait.
4
1770
by: Uppi | last post by:
I have a setup Project which consists of 7 services. I have created it using Setup and Deployment Project. I have not used installer class. The Problem is that when I select service for custom installation service gets installed depending on the selection of user using checkbox. But when I uninstall the setup using add remove programs It is...
0
3008
by: Hernan Garber | last post by:
Hi, Attached, the installation log. Win 2k Server SP3 IE6SP1/SQL Server Installed Thanks Setup.exe: Setup.exe: ========== Logging started ==========
3
2258
by: Gary B. Levy | last post by:
I need to install (for a developer associate. I am NOT a developer)VB.NET versions 6 & 7 on two dissimilar hardware platforms, both running Windows XP Professional with Service Pack 2. Both are Dell platforms. One is a laptop. One is a tower. 1. Does the "default" install suffice in most cases? 2. Are there any caveats or pitfalls to watch...
1
293
by: Jamie Bissett | last post by:
I cannot find ant doc to indicate how to access the user selected installation directory during the install process. I am trying to update the application confiduration file based upon some of the responses from the user during installation. Thanks in advance Jamie
3
4018
by: Chad Smith | last post by:
Hi, I have created a .NET deployment project in Visual Studio 2003. I have specified an entry point into my own code in this installer which launches into the familiar: public override void Install(IDictionary savedState) { Application.Run(new MyForm()); base.Install(savedState);
2
1432
by: mirandacascade | last post by:
O/S WinXP Home Vsn of Python: 2.4 Wish to install Amara. Using amara-allinone-1.0.win32-py2.4.exe (2965KB) Forder structure before installation: c: python24
14
5721
by: Keith | last post by:
I have an MDE application used by several hundred people in different parts of the world. The majority of users are of lesser experience computer experience. The app consists of a frontend (MDE) and backend (MDB), a help file and a key file. To this point, I have provided users with an installation package which installed both files into...
0
8055
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7581
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7897
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6170
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...
1
5446
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...
0
5165
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...
1
2030
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
1
1149
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
858
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.