MSFN Forum: Install vista with default programs directory at D:\Program Files\ - MSFN Forum

Jump to content



vLite Forum Rules

If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Install vista with default programs directory at D:\Program Files\ Rate Topic: -----

#1 User is offline   maverick02 

  • Group: Members
  • Posts: 1
  • Joined: 09-June 05

Posted 16 May 2008 - 08:48 PM

Hi guys, I'm wondering if there is a way to use vlite to change the default Programs install directory from the C:\ drive to the D:\ drive. Thanks


#2 User is offline   stormlifter 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 16-May 08

Posted 16 May 2008 - 09:12 PM

I'd imagine it wouldn't be to hard, just make a batch file that runs after installation.
Batch file would just run the necessary registry edit. Don't see it being hard.

#3 User is offline   oskingen 

  • MSFN Friend
  • PipPipPipPip
  • Group: Members
  • Posts: 613
  • Joined: 20-January 08
  • OS:none specified
  • Country: Country Flag

Posted 17 May 2008 - 11:41 AM

Nope vlite cannot do that. Like said above you can do it using a batch file that will change the value in registry. I'd say it's better to do this manually than with in vlite. Everytime i install windows i change my personal shell folders using a reg file. You can also do that with WAIK from microsoft.

This post has been edited by hannubys: 17 May 2008 - 11:43 AM


#4 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 19 May 2008 - 07:58 AM

I used to do this concistently, err spelling, with xp 64 and 32bit. But over the years i moved more and more to portable programs and finding other solutions. Now i only install software that goes with system updates, and keep programs and games totally off the c:\ harddrive. I use registry files which have the installations captured so i dont need to ever install anything apart from windows updates etc. The end result being a lot less log files, registry bloat, and installer files that are STILL kept on c:\, unless you move that as well. It's too much work in the end imho, unless it's for setting up a server and part of securing it etc, i dont see the point.

#5 User is offline   Herg 

  • Group: Members
  • Posts: 9
  • Joined: 15-June 08

Posted 15 June 2008 - 11:24 AM

Hello Guys :hello:

I, too, wondered how to set alternative directory paths. Specifically, I want the \ProgramData and the \Users folders to be on partitions different from C:\
The reason is simple:
a ) I want to keep the Windows drive clean
b ) I want to do an easy back-up with all relevant data of \user (documents as well as application settings), this becomes more difficult if I have the settings in C:\ but the Documents moved via the explorer

In the tool nLite (for Win XP), there has been the possibility to set paths for "Documents and Settings", "Program Files", and "Temp". Via google I have seen that there might be some possibilities to move the folder using WAIK oder manual registry edits. But I would greatly appreciate a vLite-integrated solution, simply because it would be easier for me as non-it-pro and because it would cause less problems if from the beginning of the setup, Windows itself uses the alternate \ProgramData and \Users folders.

Thanks for the work done so far with developing vLite and please, please try to integrate an option to change paths into the next version.

Thanks a lot!


Herg

#6 User is offline   oskingen 

  • MSFN Friend
  • PipPipPipPip
  • Group: Members
  • Posts: 613
  • Joined: 20-January 08
  • OS:none specified
  • Country: Country Flag

Posted 15 June 2008 - 12:26 PM

in this case, why don't you just make a reg tweak that you apply at the end of the installation. before using WAIK i was doing it that way specially for my personal folders where i modify the user shell folder in registry

#7 User is offline   Herg 

  • Group: Members
  • Posts: 9
  • Joined: 15-June 08

Posted 15 June 2008 - 12:39 PM

View Posthannubys, on Jun 15 2008, 08:26 PM, said:

in this case, why don't you just make a reg tweak that you apply at the end of the installation. before using WAIK i was doing it that way specially for my personal folders where i modify the user shell folder in registry


Because I don't know who to do exactly. Do you mean I shall manually edit the registry after installing Vista? Wouldn't that be much work plus the chance to forget any reg entry? Anyways, after Vista is installed, many programs are located in C:\ProgramData . I suggest some cannot be moved because the belong to process running.
If you have any idea on an easy-to-use way, e.g. an existing reg-editing-script, please let me know.

Thanks, Herg

#8 User is offline   Herg 

  • Group: Members
  • Posts: 9
  • Joined: 15-June 08

Posted 21 June 2008 - 07:56 AM

I finally did move my user folder (only mine, not the whole 'users' folder) via changing dozens of registry entries manually and it works.

Anyone tried this with C:\ProgramData\ ?

This post has been edited by Herg: 21 June 2008 - 07:57 AM


#9 User is offline   zereal 

  • Group: Members
  • Posts: 2
  • Joined: 20-June 08

Posted 21 June 2008 - 03:55 PM

View PostHerg, on Jun 21 2008, 03:56 PM, said:

I finally did move my user folder (only mine, not the whole 'users' folder) via changing dozens of registry entries manually and it works.

Anyone tried this with C:\ProgramData\ ?


What abour using NTFS junctions? I explain:

1.- I have 2 partitions, C:\ and D:\, first for system, apps, etc., second one for user data (documents, desktop, etc. profile as well)
2.- in D:\~ZEREAL~\ make a copy of ALL data contained on C:\users\MY_USER\* (u can do it via MiniPE, ghost image, etc)
3.- I modify c:\User\MY_USER to point a NTFS directory..

voila.

I did it under XP, long time ago. Maybe not this exaclty way, but that's the idea.


Now, if you do it directly in the .WIM file, and rebuild it to make a Vista installation DVD with this modified, you can acomplish, cause:
1.- You didn't delete original C:\Users\MY_USER, only "redirected" to a NTFS junction in D:\
2.- This will be transparent to system and apps, cause they uses original paths, not modified ones.


Try it, surely i'm wrong in the exactly way, correct order, etc. but that's the idea, and i do it sucessfully in XP.


(sorry for my bad english, i'm drunk now xD )

#10 User is offline   Herg 

  • Group: Members
  • Posts: 9
  • Joined: 15-June 08

Posted 22 June 2008 - 03:32 AM

Thanks for this idea, it sounds good. I might try this later. For now, I have my Vista Business x64 system running, so I can start working :thumbup
Next tinkering with next re-install :)

#11 User is offline   zereal 

  • Group: Members
  • Posts: 2
  • Joined: 20-June 08

Posted 22 June 2008 - 09:29 AM

I'll try this method this week, and if sucessfull, notify here, and write a "how-to", ok?

I'm an IT in a PC-BOX expert's center, and repairing-reinstalling 10-15 PC's a day is enough for try to do this mod.

#12 User is offline   Herg 

  • Group: Members
  • Posts: 9
  • Joined: 15-June 08

Posted 22 June 2008 - 10:23 AM

Thank you in advance...

#13 User is offline   premiergeeks 

  • Group: Members
  • Posts: 4
  • Joined: 05-January 09

Posted 05 January 2009 - 08:30 PM

Any light on this, or a how-to guide?

#14 User is offline   JoeMSFN 

  • Member
  • PipPip
  • Group: Members
  • Posts: 206
  • Joined: 28-September 04

Posted 05 January 2009 - 09:29 PM

If you can get the "link" (soft, hard, symbollic) or "redirect" or whatever the buzzword is for it, it can be a fabulous space (and time) saver. I've done this with a server that everything was installed on the C:. I copied the larger user folders, as well as the IIS website datafiles to a different drive. I don't remember if I copied the permissions at file copy time, or just restored the permissions to the destination files/folders after the copy. I then deleted all the data in the source. Finally I created a link from the destination to where the source folder used to be. I now have successfully avoided editing the registry for all the possible places where C:\whateverpath\whateverfile and changing it to some other letter. It also had the upshot of being able to move deep folders to near the root thus avoiding too long paths, or just moving things to a single letter subfolder for easy remembering that things were on the c drive originally. I also didn't have to worry about an identical directory path on say X drive.

I believe I did some if not all of that in safe mode to avoid file locking problems.

It worked like a champ. C drive was available to fill up with other system junk.

If you can get the new folder destination linking to happen at install time, that would be a fantastic data saver as well as a time saver of registry editing or doing all that after install (the permissions part was a bit of a challenge if I recall).

#15 User is offline   premiergeeks 

  • Group: Members
  • Posts: 4
  • Joined: 05-January 09

Posted 05 January 2009 - 09:34 PM

Yes, but I'm not sure how to perform this operation in the Windows Vista setup. I've read a little about creating batch commands that are performed after the install, but have no clue where to start and what commands to use.

#16 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 06 January 2009 - 03:41 PM

IF one is going to automate this process to happen while installing windows, one probably will need to change 5.25 drive letter, which typically set as D:\ in systems. Or usb drive/whatever local install media is being used.

#17 User is offline   premiergeeks 

  • Group: Members
  • Posts: 4
  • Joined: 05-January 09

Posted 06 January 2009 - 07:35 PM

How do I change the drive letter in the installation though?

#18 User is offline   banana.beach 

  • Group: Members
  • Posts: 5
  • Joined: 19-June 09

Posted 19 June 2009 - 05:36 PM

View PostHerg, on Jun 15 2008, 08:24 PM, said:

Hello Guys :hello:

I, too, wondered how to set alternative directory paths. Specifically, I want the \ProgramData and the \Users folders to be on partitions different from C:\
The reason is simple:
a ) I want to keep the Windows drive clean
b ) I want to do an easy back-up with all relevant data of \user (documents as well as application settings), this becomes more difficult if I have the settings in C:\ but the Documents moved via the explorer

In the tool nLite (for Win XP), there has been the possibility to set paths for "Documents and Settings", "Program Files", and "Temp". Via google I have seen that there might be some possibilities to move the folder using WAIK oder manual registry edits. But I would greatly appreciate a vLite-integrated solution, simply because it would be easier for me as non-it-pro and because it would cause less problems if from the beginning of the setup, Windows itself uses the alternate \ProgramData and \Users folders.

Thanks for the work done so far with developing vLite and please, please try to integrate an option to change paths into the next version.

Thanks a lot!


Herg



about \users and \progradata use this link in this forum:
http://www.msfn.org/...howtopic=102804

It was solved via the autounattend.xml file.

about program files - I'm searching for a similar solution - clean and efficient...

Any suggestion?

#19 User is offline   Herg 

  • Group: Members
  • Posts: 9
  • Joined: 15-June 08

Posted 22 June 2009 - 02:08 AM

Thank you for the hint. I'm going to try this next time.

On the program files folder, I have no idea. I only remember that there are two of them ("Program Files" and "Program Files (x86)").
Hope you find a solution!

Kind regards, Herg

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy