Jump to content

Recommended Posts

Posted

Hello everyone. This is my first post, so please try to bear with me :)

I followed to guide to unnatended installation of Windows on this web site and I must say it works quite well. I slipstreamed all the needed updates and Windows Media Player 10 without any problem. I even changed the directory for document and settings. Now, I also tried to change the program files directory but it didn't work as planned. Actually... it didn't work at all. A Set command revealed that the path stayed the same on my new installation on a VMWare Station. Here is the code I used.

[Unattended]
   UnattendMode=GuiAttended
   OemSkipEula=Yes
   OemPreinstall=No
   TargetPath=\WINDOWS
   FileSystem=*
   UnattendSwitch="yes"
   WaitForReboot="No"
   ProgramFilesDir="D:\"
   CommonProgramFilesDir="D:\Common Files"

Is it because it cannot be at the root of another partition? I will await your answers. :)


Posted

I would think so, yes!

After all the sif file is asking for a Directory and you're giving it a Drive

Just use

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

and stop complicating it!

Posted

Alright, I'll try it.

It's weird though, because it worked fine for the document and settings part where I just entered E:\ for the directory.

Posted

Tried doing it with directories in the path and it still didn't work... I'll try the suggestion without the blackslash and let you know.

Posted

It seems that anything I tried won't work. All my partition have been formatted prior to the installation too. I will post my whole winnt.sif and hope that someone can figure out why it wouln't work.

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

[Unattended]
   UnattendMode=GuiAttended
   OemSkipEula=Yes
   OemPreinstall=No
   TargetPath=\WINDOWS
   FileSystem=*
   UnattendSwitch="yes"
   WaitForReboot="No"
   ProgramFilesDir="D:\Program Files"
   CommonProgramFilesDir="D:\Common Files"

[GuiUnattended]
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=35
   ProfilesDir="E:\Documents And Settings"

[UserData]
   ProductKey="Sorry, can't post that  :P "
   FullName=""
   OrgName=""

[RegionalSettings]
   LanguageGroup=1
   Language=00001009

[Identification]
   JoinWorkgroup=MSHOME

[Networking]
   InstallDefaultComponents=Yes

[Components]
   msmsgs=off
   msnexplr=off
   pinball=off
   zonegames=off

  • 2 years later...
Posted
It seems that anything I tried won't work. All my partition have been formatted prior to the installation too. I will post my whole winnt.sif and hope that someone can figure out why it wouln't work.
Aloha Smiley070!! Did you ever solve this? We are having the very same problem relocating Program Files folder. Thanks!

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...