Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Environmental Variables (windows)

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

Environmental Variables (windows)
Reply
 
Thread Tools
Old 16-04-2004, 16:40   #1
Feenix
Inactive
 
Feenix's Avatar
 
Join Date: Jul 2003
Age: 48
Services: mushroom mushroom
Posts: 185
Feenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to all
Environmental Variables (windows)

Hey CF,
just wondering if there is a way to change an environmental variable to allow me to install programs automatically to a different drive?

e.g.
C: 5Gb system
D: 50Gb program files

Rather than having to change the drive letter from the default C: (which most installers use) to D: - can I edit the Environmental Variables to do this for me? I know it's not much hassle to change C: to D: but some progs auto install to the C: drive which I want kept purely for System stuff.

Ta
Feenix is offline   Reply With Quote
Advertisement
Old 16-04-2004, 17:19   #2
Semi On
Inactive
 
Semi On's Avatar
 
Join Date: Mar 2004
Location: Down South
Age: 45
Services: Sky TV Sky Broadband (16MB)
Posts: 176
Semi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really nice
Re: Environmental Variables (windows)

If you're using XP, download Powertoys , which is a tiny prog that adds functionality to XP that should already be built in.

In the options sidebar, choose My Computer > Special Folders and then select "Installation Path" from the drop down list, and set it to whatever you want. I've never used it for this purpose but it should do what you want.

If not using XP, then I don't really know! Maybe someone else will...
Semi On is offline   Reply With Quote
Old 16-04-2004, 17:24   #3
Shaun
Inactive
 
Join Date: Jun 2003
Posts: 6,064
Shaun has a nice shiny starShaun has a nice shiny star
Shaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny star
Re: Environmental Variables (windows)

Semi On I get told that prog isn't a valid win32 program
Shaun is offline   Reply With Quote
Old 16-04-2004, 17:29   #4
Semi On
Inactive
 
Semi On's Avatar
 
Join Date: Mar 2004
Location: Down South
Age: 45
Services: Sky TV Sky Broadband (16MB)
Posts: 176
Semi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really nice
Re: Environmental Variables (windows)

Me too...looks like a 64bit version, but it doesn't mention it anywhere on the page.

Weird!

EDIT: D'oh...I linked the wrong file! That was for Itanium-based systems.

I changed the link in my original post.
Semi On is offline   Reply With Quote
Old 16-04-2004, 18:56   #5
bonzoe
Inactive
 
Join Date: Jun 2003
Location: Sunny Scunny, North Lincolnshire
Posts: 1,068
bonzoe has much to be proud ofbonzoe has much to be proud ofbonzoe has much to be proud ofbonzoe has much to be proud ofbonzoe has much to be proud ofbonzoe has much to be proud ofbonzoe has much to be proud ofbonzoe has much to be proud ofbonzoe has much to be proud ofbonzoe has much to be proud of
Re: Environmental Variables (windows)

Quote:
In the options sidebar, choose My Computer > Special Folders and then select "Installation Path" from the drop down list, and set it to whatever you want. I've never used it for this purpose but it should do what you want.

If not using XP, then I don't really know! Maybe someone else will...
Installation path is the path where you load from eg CD drive letter . Doesn't appear to be an option to install to.
bonzoe is offline   Reply With Quote
Old 16-04-2004, 18:59   #6
Semi On
Inactive
 
Semi On's Avatar
 
Join Date: Mar 2004
Location: Down South
Age: 45
Services: Sky TV Sky Broadband (16MB)
Posts: 176
Semi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really nice
Re: Environmental Variables (windows)

Ah well...like I said, I've never used it. Saw it there and thought it would do the job.

Someone else will have to come up with the solution, 'cause I ain't got a clue.
Semi On is offline   Reply With Quote
Old 17-04-2004, 09:54   #7
Feenix
Inactive
 
Feenix's Avatar
 
Join Date: Jul 2003
Age: 48
Services: mushroom mushroom
Posts: 185
Feenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to all
Re: Environmental Variables (windows)

cheers for the quick response

checked out tweakui from that windows dowload site but can't get it to install - it seems I need SP1 installed.

on another note after a bit of googling found out the variable is %programfiles% - you can check out it's path by using yer command promt and typing "echo %programfiles%" or just by typing "set" for a full listing of variables.

Unfortunately, I have been warned, this isn't really a variable - some noobs have hard coded this path into their programs and if you change it much sadness will occur.

I'll give it a go and let you know what happens
Feenix is offline   Reply With Quote
Old 17-04-2004, 10:05   #8
Feenix
Inactive
 
Feenix's Avatar
 
Join Date: Jul 2003
Age: 48
Services: mushroom mushroom
Posts: 185
Feenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to all
Re: Environmental Variables (windows)

well, just changed the %programfiles% variable and installed a program - makes absolutely no difference whatsoever

must be coded into the installation software rather than looking to windows for the path.
Feenix is offline   Reply With Quote
Old 17-04-2004, 11:28   #9
abailey152
Inactive
 
abailey152's Avatar
 
Join Date: Nov 2003
Location: In hiding!
Services: 60Mb VM BB Sky+HD
Posts: 725
abailey152 has a brilliant futureabailey152 has a brilliant futureabailey152 has a brilliant futureabailey152 has a brilliant futureabailey152 has a brilliant futureabailey152 has a brilliant futureabailey152 has a brilliant futureabailey152 has a brilliant futureabailey152 has a brilliant futureabailey152 has a brilliant futureabailey152 has a brilliant futureabailey152 has a brilliant future
Send a message via MSN to abailey152 Send a message via Yahoo to abailey152
Re: Environmental Variables (windows)

When you package an installation up into a *.MSI file, the MSI "database" holds the default installation location (the TARGETDIR). This uses the variable [ProgramFilesFolder] as the pointer to wherever this folder is.

The location of your program files folder is stored in the registry, but there's also other locations you need to consider before moving it, such as the Program Files\Common Files folder's location. Check out the following link for tips on how to move your Program Files folder to another drive,

http://www.jsiinc.com/SUBG/TIP3200/rh3236.htm
abailey152 is offline   Reply With Quote
Old 17-04-2004, 13:21   #10
Semi On
Inactive
 
Semi On's Avatar
 
Join Date: Mar 2004
Location: Down South
Age: 45
Services: Sky TV Sky Broadband (16MB)
Posts: 176
Semi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really nice
Re: Environmental Variables (windows)

Can I ask why you have to have your program files folder on a separate partition?

The only thing worth putting on a separate partition are things that leave no mark on the registry. I have all my pictures, movies and music on a separate partition, the rest on my system partition.
Semi On is offline   Reply With Quote
Old 17-04-2004, 16:52   #11
Feenix
Inactive
 
Feenix's Avatar
 
Join Date: Jul 2003
Age: 48
Services: mushroom mushroom
Posts: 185
Feenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to all
Re: Environmental Variables (windows)

cheers abailey152 - going to give that a go tonight.

Semi On - I reinstall windows more frequently than I reinstall programs and it also means I can format my system drive, after that stuffing the windows installer disk in is easier and faster than reinstalling all my progs as well.
Feenix is offline   Reply With Quote
Old 17-04-2004, 19:24   #12
Semi On
Inactive
 
Semi On's Avatar
 
Join Date: Mar 2004
Location: Down South
Age: 45
Services: Sky TV Sky Broadband (16MB)
Posts: 176
Semi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really nice
Re: Environmental Variables (windows)

Quote:
Originally Posted by Feenix
Semi On - I reinstall windows more frequently than I reinstall programs and it also means I can format my system drive, after that stuffing the windows installer disk in is easier and faster than reinstalling all my progs as well.
But like I said, unless your programs or games leave nothing in the registry, or anywhere else in C: for that matter, then you will have to re-install them.
Semi On is offline   Reply With Quote
Old 18-04-2004, 11:51   #13
Feenix
Inactive
 
Feenix's Avatar
 
Join Date: Jul 2003
Age: 48
Services: mushroom mushroom
Posts: 185
Feenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to allFeenix is a name known to all
Re: Environmental Variables (windows)

seem to run fine over here without being reinstalled
Feenix is offline   Reply With Quote
Old 18-04-2004, 14:01   #14
Semi On
Inactive
 
Semi On's Avatar
 
Join Date: Mar 2004
Location: Down South
Age: 45
Services: Sky TV Sky Broadband (16MB)
Posts: 176
Semi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really niceSemi On is just really nice
Re: Environmental Variables (windows)

Quote:
Originally Posted by Feenix
seem to run fine over here without being reinstalled
Well you can count yourself lucky, then. Most apps register .DLL's or .OCX's when installed, and some rely on shared .DLL's/OCX's registered by other programs. Some apps also create hidden folders which contain settings. C:\Documents and Settings\User\Application Data is a good example.

This is the reason Windows apps need installers to do all that crap for you, and uninstallers to undo it all. Otherwise they'd use the Mac method of just dragging the app into the program folder and create a link to the desktop or wherever. When you want to uninstall, just drag the folder into the trash - done.
Semi On is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:44.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum