Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#176327 - 21/08/2003 23:57 default install destination registry location
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
id like to, if it is a registry entry, change it so it defaults programs to want to install to d:\xxxx rather than c:\xxxx
all i can find is stuff about where windows defaults to look for the windows cd.

any ideas?

Top
#176328 - 22/08/2003 00:31 Re: default install destination registry location [Re: RobotCaleb]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]

"ProgramFilesDir"="d:\\Program Files"

Not all install programs look there though, so you'll probably end up typing it in a lot anyway.
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#176329 - 22/08/2003 01:08 Re: default install destination registry location [Re: ricin]
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
the problem with doing that is anything ive already installed to c:\program files is now linked to d:\program files and doesnt work
without editing the shortcut of course
thanks!

Top
#176330 - 22/08/2003 01:56 Re: default install destination registry location [Re: RobotCaleb]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
the problem with doing that is anything ive already installed to c:\program files is now linked to d:\program files and doesnt work

Have you tried? The last time I did this, it worked fine, for all the applications I had installed at that point.
_________________________
-- roger

Top
#176331 - 22/08/2003 02:24 Re: default install destination registry location [Re: RobotCaleb]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
If I'm not mistaken, there is an option in TweakUI that does just that.
Although that might just be a menu-driven way to do the same thing as Ricin suggests. (but maybe it does someting else too?)
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
#176332 - 22/08/2003 03:29 Re: default install destination registry location [Re: BartDG]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
If I'm not mistaken, there is an option in TweakUI that does just that.

I couldn't find it. It does have a big-ol' list of special folder locations that you can configure. C:\Program Files is not on the list. Maybe it's somewhere else in TweakUI.

Its list of folders seems to correspond with the ones returned by my program. My program's prettier, but doesn't have an Edit button.
_________________________
-- roger

Top
#176333 - 22/08/2003 05:03 Re: default install destination registry location [Re: Roger]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
Hmmm... I know that I've used TweakUI at one time to do just that, but the program itself seems to have gone through some changes since then. (I'm talking about the TweakUI that was coded for win 9x). It guess it's possible that you can't do that anymore now.

I don't really mind, I now just manually change the installation path from c:\program files\x to d:\program files\x each time I install something. Never had any problems doing that.
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
#176334 - 22/08/2003 05:27 Re: default install destination registry location [Re: RobotCaleb]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
anything ive already installed to c:\program files is now linked to d:\program files and doesnt work
How do you mean "doesn't work"? Do you mean that all the shortcuts now look for a different location? They shouldn't... Even if the shortcut thinks that the program is in a different location, when it can't find it, it will usually start searching for the executable.

It really shouldn't affect old or new programs. I had a friend who insisted on installing new programs to plain old C:, simply because he didn't want MS telling him where to install his applications. I thought that was one of the odder ways to stick it to MS, but whatever.
_________________________
Matt

Top
#176335 - 22/08/2003 07:51 Re: default install destination registry location [Re: Dignan]
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
it makes all installed programs using the %programfiles% look to d:. yeah, itll work if i let them search first time i run them. but it makes for some ugly icons.
but it does seem to work for the most part.

Top
#176336 - 22/08/2003 09:00 Re: default install destination registry location [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
Its list of folders seems to correspond with the ones returned by my program. My program's prettier, but doesn't have an Edit button.
Roger, where's the registry store the setting for "My Pictures"? I always wanted to change that.
_________________________
Tony Fabris

Top
#176337 - 22/08/2003 11:20 Re: default install destination registry location [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
No idea, I don't look in the registry. I use SHGetFolderLocation, which takes a selection of CSIDL_ numbers.
_________________________
-- roger

Top
#176338 - 22/08/2003 11:24 Re: default install destination registry location [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
Ah well. No big deal. And anyway, I discovered that TweakUI has a setting to change that folder anyway. Had it all along, didn't think to look there until I read this thread. Cool! Thanks!
_________________________
Tony Fabris

Top