Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
komakala

Changing Program Files Partition

Recommended Posts

I looked around a little bit and didn't see any posts that addressed this.

But anyways I have a sorta Unique way of setting up my windows, I have Windows installed on a 5 Gig partition set up as C:, then I have the PAGEFILE setup to a 2Gig partition set up as D:, and my program files install onto a 23 Gig partition set up as E:

Is there anyway that I could get Windows setup to automatically partition and format this setup, and install the folders to their respective places? I'm a newbie at Unattended Windows Installs, and was just wondering if this was possible, and if so, how do I set it up? any help is greatly appreciated.

- Komakala

Share this post


Link to post
Share on other sites

setup the unattended adding this":

ProgramFilesDir="e:\Program Files"

CommonProgramFilesDir="e:\Program Files\Common Files"

under [unattended] ;

Share this post


Link to post
Share on other sites

Hi Komakala,

Seems that you have the same questions as mine. Thanks to dustinwmew for your support. How about the komakala questions..format those drive? In the forum I only found formating drive where the OS will be install.

Hi dustinwmew,

Some applications don't use c:\program files as default installation directory. Do your method will help for this type applications?

Thanks for your time

Share this post


Link to post
Share on other sites

I tend to use mountvol for mounting a seperate partition under C:\Program Files - I don't usually do it unattended as the identifiers change each time I change the partitioning scheme.

It would be possible to do this unattended, but with data at stake, I prefer to screw things up manually :)

Share this post


Link to post
Share on other sites

Question 1:

either do the partitioning manually yourself (with Partition Magic or Fdisk).

[of course set Autopartition=0 in winnt.sif]

---- or ----

convert your CD to use the WinPE loader, and automate it to run a diskpart script and the setup after that.

Question 2:

Locating the Program Files folder --------> Dustinwmew has already answered this.

@ yadzil

Some applications don't use c:\program files as default installation directory.
Yes, there's nothing you can do about the default behaviour (except to use installer switches, or use MST transforms for MSI's).

Wraith's recommended procedure is interesting, but as he admits, it is not automatable

Question 3:

On WinXP pro, do this to silently set your pagefile:

cscript //nologo //B //T:600 %systemroot%\system32\pagefileconfig.vbs /change /I 2 /M 2 /VO *

cscript //nologo //B //T:600 %systemroot%\system32\pagefileconfig.vbs /Create /I 2048 /M 2048 /VO D:

It is recommended to not completely eliminate a pagefile from your SystemDrive (i.e., the C: drive).

Look here (in tweak no.17 on the page) for more details.

Share this post


Link to post
Share on other sites
setup the unattended adding this":

    ProgramFilesDir="e:\Program Files"

    CommonProgramFilesDir="e:\Program Files\Common Files"

under [unattended] ;

I used these commands under [unattended]:

ProgramFilesDir="%SYSTEMDRIVE%\Progs"

CommonProgramFilesDir="%SYSTEMDRIVE%\Progs\Common"

But setup didn't change the folders. They're still Program Files and Common Files under C:\

Is this because I've slipstreamed SP2 RC2?

Share this post


Link to post
Share on other sites

No HappyRay,

that can't be the reason, coz I'm on SP2 RC2 myself and the settings work. Check if something else has twisted itself.

Share this post


Link to post
Share on other sites

Is anybody have complete list of directory switch? I like to change my document, my music and my pictures directory to another path? Anyone knows? I like to have the complete list.

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×