473,804 Members | 3,349 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing default installation folder

Hi,
I dont know whether I am posting to the right group. If it is not the
right group, please tell me.
I want to change the default installation folder to my own path. I did
it by changing the application folder's DefaultLocation property. The
installation works fine as long the path that I give is complete path.
If I give relative path, there is an error. How do I give a relative
path?

Dec 28 '06 #1
3 2410
On 28 Dec 2006 05:16:52 -0800, sunil wrote:
Hi,
I dont know whether I am posting to the right group. If it is not the
right group, please tell me.
I want to change the default installation folder to my own path. I did
it by changing the application folder's DefaultLocation property. The
installation works fine as long the path that I give is complete path.
If I give relative path, there is an error. How do I give a relative
path?
What would the path be relative to?

--
Bits.Bytes
http://bytes.thinkersroom.com
Dec 28 '06 #2
Hi,

Relative to what?

You can use a "relative" path to one of several folders ( take a look at
Environment.Spe cialFolders) to perform the installation.

IMO it;s a good practice to just follow the standard, I personally hate
those apps that insist in install themselves in c:\
--
Ignacio Machin
machin AT laceupsolutions com

"sunil" <sa**********@g mail.comwrote in message
news:11******** **************@ a3g2000cwd.goog legroups.com...
Hi,
I dont know whether I am posting to the right group. If it is not the
right group, please tell me.
I want to change the default installation folder to my own path. I did
it by changing the application folder's DefaultLocation property. The
installation works fine as long the path that I give is complete path.
If I give relative path, there is an error. How do I give a relative
path?

Dec 28 '06 #3

Rad [Visual C# MVP] wrote:
On 28 Dec 2006 05:16:52 -0800, sunil wrote:

What would the path be relative to?

--
Bits.Bytes
http://bytes.thinkersroom.com
Hi Rad,
The path is relative to the location of my solution folder. Just to be
more clear, I have several projects in my solution. The setup project
contains one executable as the primary output. I have one more
executable in my solution. I want the DefaultLocation value to be the
same as the output path of the other executable.
Just to give you an example, lets assume the solution have 2
executables named A and B. I have a setup project for A. I want the
DefaultLocation value of the application folder to be the output value
of B (i.e., wherever that executable is to be output). B's output path
is relative to the location of the project folder. Is there a way to do
it?
Thank you for the response

Dec 29 '06 #4

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

Similar topics

2
5368
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 in a specified directory (user specified is good, but i don't mind hardcoding the path either) and...
25
5003
by: Mike MacSween | last post by:
Yes, I've downloaded and read the FAQ. And searched the archives. I'm just treading a little carefully here because of the caveats about locking myself out of the db forever. Some answers I could probably get myself just by trying things out. But don't want to 'play' around too much. I ran the Security Wizard on my system at my office. Did all the usual things, admin -> users, users group have no rights. Assigned rights as required. The...
1
2646
by: Raphael Iloh | last post by:
Hi all, I have a Web Setup Project and would like to change the installation path from the default (i.e. C:\Inetpub\wwwroot\) to some more particular path (e.g. c:\myfolder\). Any ideas on this will be appreciated. Regards, Raphael
0
935
by: Krish | last post by:
Hello - I've created a setup and deployment project in .NET and when I launch the installer, there is default text at the top in each screen (for example, "Welcome to ____", "Select Installation Folder", "Confirm Installation", "Installation Complete" etc). I want to be able to remove this text or customize the words/colors of the text. I can't seem to find a way to do this on the User Interface design screen in the project.
5
7390
by: Phil Galey | last post by:
Is there a way of getting to point to D:\Program Files rather than C:\Program Files? If I try replacing with D:\Program Files, I get an invalid character error. Thanks.
4
15128
by: Ronald S. Cook | last post by:
I created an MSI install for a Windows app I wrote. When installing, however, it defaults to install for "Just Me" instead of "Eveveryone" (meaning anyone who uses this computer). I would like the default deslection to be the latter. How can I change this, please? Thanks! Ron
1
12635
by: ImageAnalyst | last post by:
Yay!!! They fixed this for VS2005. You can now set the default installation to be "Everyone" instead of "Just Me" and you can control whether you even want those radio button installed in your Setup program. >From the Documentation http://msdn2.microsoft.com/en-us/library/5f981xa1.aspx =========================================================== "The InstallAllUsers property for a deployment project determines whether an application is...
1
8918
by: sunil | last post by:
Hi, I want to change the default installation folder to my own path. I did it by changing the application folder's DefaultLocation property. The installation works fine as long the path that I give is complete path. If I give relative path, there is an error. The path is relative to the location of my solution folder. Just to be more clear, I have several projects in my solution. The setup project contains one executable as the primary...
1
2010
dima69
by: dima69 | last post by:
Hi everybody. I develop a commercial MSAccess application. Until now, the default folder for my installation was "Program Files" - because this is the "conventional" way. However, I discovered that Vista makes the life hard while installing to Program Files. The application must be "run as administrator" to run at all, while in any other folder it works OK without the administrator permission. So I ask myself - why do I stick to the...
0
9576
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
10323
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10310
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10074
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9138
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
7613
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
5515
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
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4291
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

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.