Smiley070 Posted April 4, 2005 Posted April 4, 2005 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.
Yzöwl Posted April 4, 2005 Posted April 4, 2005 I would think so, yes!After all the sif file is asking for a Directory and you're giving it a DriveJust use ProgramFilesDir = "D:\Program Files" CommonProgramFilesDir = "D:\Program Files\Common Files"and stop complicating it!
Smiley070 Posted April 4, 2005 Author Posted April 4, 2005 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.
buletov Posted April 4, 2005 Posted April 4, 2005 you could try:[Unattended] ProgramFilesDir="D:"(without the backslash at the end)
Smiley070 Posted April 5, 2005 Author Posted April 5, 2005 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.
Smiley070 Posted April 5, 2005 Author Posted April 5, 2005 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
Alii808 Posted April 15, 2007 Posted April 15, 2007 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now