If you would like to change the location of Documents and Settings and Program Files during the windows setup, there is a very simple way to do this. You will have to put a file into the I386 directory of the CD which will tell the installer options that are not available through the GUI. This howto will cover copying to the hard drive and modifying the Windows CD and preparing it to be burned again for use.
Copy the Files to your Hard Drive


Now put the Windows XP CD into your drive and open My Computer. Once the computer detects the CD, right click the drive and press open. Now drag and everything from the CD into the XPCD folder.

Creating the Answer File
You will now have to create a file that will instruct the Windows XP installer on what to do. To do this, open the folder SUPPORT and then TOOLS in your XPCD folder. Then open DEPLOY.cab and run setupmgr.exe.


Changing the Install Locations for Documents and Settings and Program Files
Now because the wizard did not ask where to put them, you will have to do it yourself by opening the WINNT file you just created with notepad. To change the location of Program Files add these two lines under [Unattended] and change the location to where you want it.
ProgramFilesDir="D:\Program Files"
CommonProgramFilesDir="D:\Program Files\Common Files"
To change the location of Documents and settings add the following line under [GuiUnattended] and change the location to where you want it.
ProfilesDir="D:\Documents and Settings"


Creating the CD Image
You now need to create the CD Image to be burned. You may download the tool required CDIMAGE GUI from here. Once downloaded, open it and extract it to C:PICTURE8
No comments:
Post a Comment