Jump to content

Choose D: for ProgramFilesDir and ProfilesDir


Recommended Posts

Hi, I read attentively tutorial and posts to create an unattended install of Windows XP but I still have a few problems :

I have two hard drives and each one is separated in 4 partitions.

I would like to install Windows in first partition of first hard drive, "Document and Settings" and "Program Files" directories in the second partition of first hard drive.

So, in unattend.txt I set :

ProgramFilesDir="D:\Program Files"

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

ProfilesDir="D:\Document and Settings"

When I launch the unattended install, all works fine but Windows install "Document and Settings" and "Program Files" in the first partition of second hard drive and call it D:

I saw many methods to change drive letters after the installation but not during the installation. Is there a way to force Windows to install "Document and Settings" and "Program Files" in the second partition of first hard drive ?

Thanks

Link to comment
Share on other sites


Here is my winnt.sif file :

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   OemFilesPath="..\$OEM$"
   TargetPath=\WINDOWS
   Repartition=No
   FileSystem=NTFS
   UnattendSwitch=Yes
   WaitForReboot=No
   OemPnPDriversPath="drivers"
   DriverSigningPolicy=Ignore
   AutoActivate=No
   ProgramFilesDir="D:\Program Files"
   CommonProgramFilesDir="D:\Program Files\Common Files"
   KeyboardLayout="Fran‡ais"

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=Yes
   OEMSkipRegional=1
   TimeZone=105
   OemSkipWelcome=0
   ProfilesDir= "D:\Documents and Settings\"

[UserData]
   ProductKey=*
   FullName="ABC"
   OrgName="DEF"
   ComputerName=smile

[Display]
   BitsPerPel=16
   Xresolution=800
   YResolution=600
   Vrefresh=60

[TapiLocation]
   CountryCode=33

[Identification]
   JoinWorkgroup=workgroup

[Networking]
   InstallDefaultComponents=Yes

[Components]
   Msnexplr=Off
   Msmsgs=Off

Link to comment
Share on other sites

Your winnt.sif file seems ok. (Looks a lot like mine)

You have remembered to format both the C: and D: disks before you start your install, right?

Try to set:

FileSystem=*

It is a long shot, but could perhaps work. Sometimes (often) windows works in mysterious ways...

Link to comment
Share on other sites

normal : ex if you have 2 HDDs with 3 partitions on each

c: 1st Principal Partition of 1st HDD

d: 1st Principal Partition of 2nd HDD

e: 1st logical of 1st HDD

f: 2nd logical of 1st HDD

g: 3e logical of 1st HDD

h: 1st logical of 2nd HDD

h: 2nd logical of 2nd HDD

etc ...

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...