bahattab
30-04-2009, 12:49 PM
How to custom and add software to Windows Xp Installation disk
Unattended Windows Introduction
Submitted by Alanoll
Welcome to Unattended Windows Guide!
Have you ever wanted a Windowshttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/#) CD that would install Windows by automatically putting in your name, product key, timezone and regional settings? And have it merged with the latest Service Pack to save time? Followed by silently installing all your favorite applications along with DirectX 9.0c, .Net Framework 1.1 and then all the required hotfixes, updated drivers, tweaks, and a readily patched UXTheme without any user interaction whatsoever? Then this guide will show you how you can do just that!
Through the course of this guide, you will create a CD that does all the installing for you. The CD will be fully updated with the latest hotfixes, and install all your programs for you.
This guide has been broken up into three parts: Beginner, Intermediate, Advanced. It has been done so, to help you understand what you're doing and not to get over your head too fast. There are pages upon pages of information on this subject, and this guide only covers the tip of the iceberg.
The Beginner portion will cover the updating of your CD, along with automating setup itself.
The Intermediate portion covers adding Drivers and Applications to your CD, as well as User creation and other little tidbits.
The Advanced section is where it gets really fun. We'll customize the look and feel of your setup, as well as add hacked files to remove the limits put upon the system.
I must strongly suggest that you adhere to the sections until you feel you have completely mastered them. You don't want to go sailing without knowing how to sail.
Target Audience: Home users - who are taking up a time-consuming process of re-installing Windows, manually installing essential applications, downloading windows updates, and tweaking their OS to perfection on every re-format.
Difficulty: Requires an intermediate experience of Microsoft Windows and a basic knowledge of how batch commands function. Though batch scripts are briefly covered, it will be a good idea to brush up on your skills before starting.
Beginner's Introduction
Submitted by Alanoll
Welcome to the beginner's section of the guide. This portion is intended solely to get your CD updated and create a basic Unattended disc. What this means, is that you get your CD/DVD updated with the latest service packs and hotfixes and automating the majority of Windowshttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/2/#) Setup.
What you will need:
A Windows CD. This portion of the guide is applicable with Windows 2000 through Windows 2003.
The Service Pack you wish to use for your operating systemhttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/2/#). You will need the NETWORK INSTALL. It's the larger of the two options to download. Windows 2000 SP4 (http://www.microsoft.com/Windows2000/downloads/servicepacks/sp4/download.asp) - Windows XP SP1a (http://www.microsoft.com/windowsxp/downloads/updates/sp1/network.mspx) - Windows XP SP2 (http://www.microsoft.com/downloads/details.aspx?FamilyId=049C9DBE-3B8E-4F30-8245-9E368D3CDB5A&displaylang=en)
The Deployment tools for your operating system. This guide will cover the build for Windows XPhttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/2/#) SP2. Those can be found here (http://www.microsoft.com/downloads/details.aspx?FamilyId=3E90DC91-AC56-4665-949B-BEDA3080E0F6&displaylang=en)
When testing your CD/DVD, instead of burning countless test discs, you could use a Virtual Machine. They're slightly slower, but you don't have to reformat your computer just to test your CD/DVD.
Step 1 - Creating a Local Source
Submitted by Alanoll
This step is perhaps one of the easiest things to do, and as with all easy things, there are many different ways to accomplish it.
I'm just going to cover two methods: Manual (http://unattended.msfn.org/unattended.xp/view/web/3/#manual), and Automated (http://unattended.msfn.org/unattended.xp/view/web/3/#auto).
» The Automated Way
We're going to use a program called nLite (http://www.nliteos.com/). It requires the .NET Framework, so if you don't want that on your computer, skip down to the Manual section.
So let's get started.
Put the OS CD into your CDROM drive. If the Autorun menu starts, feel free to close it. We're not going to use it.
Now let's start nLite. And continue untill you get to this screen.
http://www.atyafonline.com/vb/imgcache/1510.png
Click the "Browse" button.
Select the CDROM drive with your OS CD inside of it.
http://www.atyafonline.com/vb/imgcache/1511.png
Now, because you have selected a READ-ONLY source, i.e. the CDROM, another box will come up just like the first. This is where your CD will be copied to.
http://www.atyafonline.com/vb/imgcache/1512.png
Click OK and when finished, go ahead and exit out of nLite.
» The Manual Way
I prefer this method myself, primarily because I like doing things myself. We're going to manually copy our CD to the hard drivehttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/3/#).
Put the OS CD into your CDROM drive. If the Autorun menu starts, feel free to close it. We're not going to use it.
Open up My Computer, then Right-Click on the CDROM with your CD in it, and select Open.
http://www.atyafonline.com/vb/imgcache/1513.png
You can either, click and drag selecting all the contents of your current location, or simply press <CTRL><A>
http://www.atyafonline.com/vb/imgcache/1514.png
Right-Click on your mouse, and select copy, or press <CTRL><C>
http://www.atyafonline.com/vb/imgcache/1515.png
Now navigate to your hard drive, and create a new folder called whatever you want. Just remember its name.
Open that folder, Right-Click on your mouse, and select paste, or press <CTRL><V>
http://www.atyafonline.com/vb/imgcache/1516.png
From this point on, for the sake of ease, I will call the destination of your copied source XPCD.
The next step is to slipstream your copied source with your service pack.
Step 2 - Slipstreaming the Latest Service Pack
Submitted by Alanoll
As with the making of the local source in Step 1, this step also has two ways of accomplishing the goal.
The two methods are the Manual (http://unattended.msfn.org/unattended.xp/view/web/6/#manual) way, and the Automated (http://unattended.msfn.org/unattended.xp/view/web/6/#auto) way using nLite.
» The Automated Way
Start up nLite. Just keep clicking next till you get to this screen:
http://www.atyafonline.com/vb/imgcache/1517.png
Click the Browse button, and select the folder you copied your source to in Step 1. I'll be using C:\XPCD
After selecting the folder click till you get to this screen:
http://www.atyafonline.com/vb/imgcache/1518.png
Click the Select button, and navigate to your download of the network service pack file, and click Open.
A couple boxes should come open with progress bars.
http://www.atyafonline.com/vb/imgcache/1519.png
The above is for the extracting of the service pack, and the below for the integration of the service pack.
http://www.atyafonline.com/vb/imgcache/1520.png
Just wait untill they all close and you're back at the nLite screen. If you receive this box:
http://www.atyafonline.com/vb/imgcache/1521.png
feel free to click OK.
Back in nLite, the area just above where you clicked Select, should now reveal your Operating Systemhttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/6/#) and what service pack level it is at.
Exit out of nLite, and continue to Step 3.
» The Manual Way
This way is going to walk you through the steps necessary, as if you didn't have nLite and wanted to type in the commands necessary.
Click Start, and select Run. If you don't see it on the start menu, simply press <WINDOWSKEY><R>
http://www.atyafonline.com/vb/imgcache/1522.png
Now click within the box where it says your filename, and type:
-s:C:\XPCD
Where C:\XPCD is the path to your Operating System local source. Note however, I did NOT point it to the I386 directory. It MUST be the directory I386 is within.
You should see these boxes appear on screen:
http://www.atyafonline.com/vb/imgcache/1523.png
http://www.atyafonline.com/vb/imgcache/1524.png
http://www.atyafonline.com/vb/imgcache/1525.png
Click OK on the final box, and continue to Step 3.
Step 3 - Updating Setup Source with Latest Updates
Submitted by Alanoll
At the time of making this guide, there's probably approximately 25-35 MB of critical updates on Windowshttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/26/#) Update for Windows. Nobody likes to download them, especially if you're on 56K when you're eager to get all your essential applications installed and making a full backup before properly using your OS. Thanks to the silent install switches, we can now include 35 MB of hotfixes on the CD and get them installed all in one go. This section covers two parts - Getting the Hotfixes and Installing the Hotfixes.
Getting the Hotfixes
Submitted by Alanoll
You're probably wondering how to find out which exact hotfixes you need for Windowshttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/5/#), there are 4 ways to do this, excluding using XPCREATE which downloads them for you:
» Method 1 - An up-to-date list
An updated and complete list of Windows 2000, Windows XPhttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/5/#) and Windows Server 2003 Critical Updates are available at this forum thread (http://www.msfn.org/board/index.php?showtopic=86450) This list is updated, usually within a day or so, when Microsoft releases new updates.
» Method 2 - Windows Update
Set up a base install of Windows XP SP2 (with no updates installed), and go to Windows Update (http://update.microsoft.com/). Take note of the 6 digit numbers on each Critical Update, e.g. "329441: Security Update for Microsoft Windows".
After you have taken note of all the 6 digit numbers on every security update, you need to attach them to the end of this URL: http://support.microsoft.com/?kbid=xxxxxx replacing the xxxxxx with the numbers you wrote down.
Then download from the link provided at the Knowledge Base Article (some articles will link to a Technet Security Bulletin). Repeat for the other updates shown on Windows Update.
» Method 2a - Windows Update
Have windows download manager download and install every hotfix and or patch. After everything has been installed and the pc been restarted or shutdown for the updates to install, go to c:\windows and look for the windows update.log it will have all the updates that were installed and their http address. Which you can slowly copy one by one from this file and later download with free download manager into any folder you wish.
» Method 3 - Windows Update Catalog
Set up a base install of Windows XP SP2 (with no updates installed), and access Windows Update (http://update.microsoft.com/). . Click on the "Personalize Windows Update" link on the left pane, Check the "Display the link to the Windows Update Catalog" under the "See Also" check-box under "Set options for Windows Update" list in the right pane, Click the "save settings" button in the top right of the right pane.
Then click on the "Windows Update Catalog" link under the "See Also" list in the left pane, click "Find updates for Microsoft Windows operating systems" in the right pane, select OS (Windows XP SP2) in the Operating-system-list and your OS language in the Language-List, and then click search in bottom right of the right pane.
You are now presented with links to "Critical Updates and Service Packs", "Multi-Language Features" and "Recommended Updates". Open each link and add what components/updates you want and click the "Go to Download Basket" link when you are done. Select the path to download the updates in (Must be an existing folder) and click on the "Download now" Button. The updates will now be downloaded and categorized in separate folders, automatically on your own hard-drive.
Note: The Windows Update Catalog is not as accurate as Windows Update itself.
» Method 4 - HFNetChk
Instead of accessing Windows Update, grab the freeware HFNetChk Utility (http://www.shavlik.com/hfn_exe.aspx). As it explains on its site: "HFNetChk.exe is the multi-threaded command-line tool you can use to assess a computer or selected group of computers for the absence of security patches.".
Install HFNetChk and open up Command Prompt (Start > Run > CMD). Change to the directory where HFNetChk is installed (Usually C:\Program Files\Shavlik Technologies\HFNetChk\), and type: hfnetchk -v
Make a note of the Knowledge Base Article numbers and look them up as explained in Method 2, or use the Technet Security Bulletin numbers (MSxx-xxx) and look them up using this URL:
http://www.microsoft.com/technet/security/bulletin/MSxx-xxx.asp replacing the xx-xxx with the numbers shown in HFNetChk.
» Method 5 - Windows Updates Downloader(WUD)
First you need download the program from the Official Site (http://wud.jcarle.com/).
Download the lastest version and install it. Then you need download a list with all hotfixes.In same site, scroll down to see all different list, select it in your language, platform and OS for then download it.
In your hard disk open the list file (.ulz) and automatically the list will be installed.
Finally you need open WUD and select the updates to download.
I think this is the best method to download all hotfixes and critical updates, because it is really effective and fast.
» Conclusion
Its a lengthy process, but it certainly does pay off in the end. It will be much easier to maintain your hotfix list in the future since only a hotfix or two is released every second Tuesday of the month. (That's Microsoft Patch Day!). Hotfix updates will be announced on the frontpage of MSFN.org (http://www.msfn.org/) as soon as they are released.
Step 2 - Slipstreaming the Latest Service Pack
Submitted by Alanoll
As with the making of the local source in Step 1, this step also has two ways of accomplishing the goal.
The two methods are the Manual (http://unattended.msfn.org/unattended.xp/view/web/6/#manual) way, and the Automated (http://unattended.msfn.org/unattended.xp/view/web/6/#auto) way using nLite.
» The Automated Way
Start up nLite. Just keep clicking next till you get to this screen:
http://www.atyafonline.com/vb/imgcache/1517.png
Click the Browse button, and select the folder you copied your source to in Step 1. I'll be using C:\XPCD
After selecting the folder click till you get to this screen:
http://www.atyafonline.com/vb/imgcache/1518.png
Click the Select button, and navigate to your download of the network service pack file, and click Open.
A couple boxes should come open with progress bars.
http://www.atyafonline.com/vb/imgcache/1519.png
The above is for the extracting of the service pack, and the below for the integration of the service pack.
http://www.atyafonline.com/vb/imgcache/1520.png
Just wait untill they all close and you're back at the nLite screen. If you receive this box:
http://www.atyafonline.com/vb/imgcache/1521.png
feel free to click OK.
Back in nLite, the area just above where you clicked Select, should now reveal your Operating Systemhttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/6/#) and what service pack level it is at.
Exit out of nLite, and continue to Step 3.
» The Manual Way
This way is going to walk you through the steps necessary, as if you didn't have nLite and wanted to type in the commands necessary.
Click Start, and select Run. If you don't see it on the start menu, simply press <WINDOWSKEY><R>
http://www.atyafonline.com/vb/imgcache/1522.png
Now click within the box where it says your filename, and type:
-s:C:\XPCD
Where C:\XPCD is the path to your Operating System local source. Note however, I did NOT point it to the I386 directory. It MUST be the directory I386 is within.
You should see these boxes appear on screen:
http://www.atyafonline.com/vb/imgcache/1523.png
http://www.atyafonline.com/vb/imgcache/1524.png
http://www.atyafonline.com/vb/imgcache/1525.png
Click OK on the final box, and continue to Step 3.
/INTEGRATE Method
Submitted by Alanoll
Of the manual methods, this is most likely one of the simplest. All we're going to do is execute the hotfixes we downloaded previously, and add the /INTEGRATE switch to them.
» Getting down to business
Open up the Run dialog box.
http://www.atyafonline.com/vb/imgcache/1526.png
Click browse, and select your first hotfix file.
Now click into the box, and type:
/integrate:C:\XPCD
Change C:\XPCD to the directory you copied your source to in Step 1.
Click OK.
When the process has finished, a box similar to this should appear:
http://www.atyafonline.com/vb/imgcache/1527.png
Continue repeating these steps untill you have processed all the hotfixes you have downloaded.
» Automating this process via a batch file
This batch file will automatically slipstream hotfix EXEs into your XP SP2 source. Place all of the updates into the same folder as the batch.
TITLE Windowshttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/23/#) XP SP2 Slipstreamer brought to you by www.MSFN.orgCLS@echo (http://www.MSFN.orgCLS@echo) offECHO.ECHO Slipstreaming Windows XP SP2 UpdatesECHO Please wait...FOR %%f IN (*.exe) DO "%%f" /Integrate:C:\XPCDECHO.ECHO Slipstreaming Completed!ECHO.pauseEXIT
And of course, replace C:\XPCD to where your source is.
SVCPACK.INF Method
Submitted by Alanoll
In this section of the guide, we'll help you set up a hotfixes installation that will run in the GUI-mode part of Setup. The hotfixes installation will execute at the "13 minutes left" stage, which will take somewhere between 5-20 minutes to complete - depending on your system specifications.
(I know this page seems very long, but it only takes 10 minutes to do everything explained. Its just very detailed!)
» Setting up your Hotfixes and the svcpack.inf file
Copy all your downloaded hotfix files into this directory: C:\XPCD\i386\SVCPACK\
All hotfixes must be renamed to an 8.3 naming format (no more than 8 characters in length). For example, filenames such as Q819696_WXP_SP2_x86_ENU.exe and WindowsXP-KB824146-x86-ENU.exe should be renamed to Q819696.exe and KB824146.exe in that order respectively.
Below are the necessary SVCPACK.INF entries for Windowshttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/24/#) 2000, Windows XP, and Windows 2003 respectively.
Open Notepad and copy and paste the following below:
Warning: For the field "Signature" on the "[version]" section, please replace "CHANGE_THIS" with "$Windows NT$".
It's a screenbug, due to wiki interpretation of Caps & special characters.
;Windows 2000[Version] Signature="CHANGE_THIS"MajorVersion=5MinorVersion=0BuildNumber=2195[SetupData]CatalogSubDir="\i386\SVCPACK"[ProductCatalogsToInstall][SetupHotfixesToRun]Q330994.exe /Q:A /R:NQ819696.exe /Q /O /N /ZKB824146.exe /Q /O /N /Zqchain.exe
;Windows XP[Version] Signature="CHANGE_THIS"MajorVersion=5MinorVersion=1BuildNumber=2600[SetupData]CatalogSubDir="\i386\SVCPACK"[ProductCatalogsToInstall][SetupHotfixesToRun]Q330994.exe /Q:A /R:NQ819696.exe /Q /O /N /ZKB824146.exe /Q /O /N /Zqchain.exe
;Windows 2003[Version] Signature="CHANGE_THIS"MajorVersion=5MinorVersion=2BuildNumber=3790[SetupData]CatalogSubDir="\i386\SVCPACK"[ProductCatalogsToInstall][SetupHotfixesToRun]Q330994.exe /Q:A /R:NQ819696.exe /Q /O /N /ZKB824146.exe /Q /O /N /Zqchain.exe
Save this as svcpack.inf in C:\XPCD\I386\. You must delete svcpack.in_ in the I386 directory otherwise Windows XP Setup will not use the svcpack.inf file.
The entries shown in [SetupHotfixesToRun] are just an example. All the hotfixes you have downloaded, renamed and copied to the SVCPACK folder should be added under this section in svcpack.inf in numerical order. The images below will help to know what syntax should be used:
http://www.atyafonline.com/vb/imgcache/1528.png
http://www.atyafonline.com/vb/imgcache/1529.png
Files that look like this should be installed using the /Q /O /N /Z switch.
We'll call them Type 1 Hotfixes
Files that look like this should be installed using the /Q:A /R:N switch.
We'll call them Type 2 Hotfixes
You can also check this page (http://unattended.msfn.org/unattended.xp/view/web/22/) for an in-depth description of the Type 1 switches. Keep in mind that the MDAC update does not use any of those switches, please look here (http://www.msfn.org/board/index.php?showtopic=86450) for the latest information on hotfixes and their switches.
» DOSNET.inf
Open up DOSNET.inf in the i386 directory with Notepad and add the following text into the blank space you see in Notepad, (this can be put anywhere really):
[OptionalSrcDirs]SVCPACK
» QCHAIN.exe
Don't forget to add QCHAIN.exe (http://www.microsoft.com/downloads/details.aspx?amp;displaylang=en&familyid=3C64D889-74F1-490B-A2FB-F15671A3B60C&displaylang=en) to your SVCPACK folder. This utility will ensure that the highest file version is installed if there is a scenario where 2 hotfixes contain the same exe/dll file with different version numbers.
Download and extract the file to get the actual QCHAIN.exe inside the compressed file. Copy QCHAIN.exe to the Update folder then add QCHAIN.exe to the very last line after all your hotfix entries in svcpack.inf. It does not require any switches.
» Adding Windows Media Player 9/10
If you wish to include the latest Windows Media Player version, they are both available from this site as silent install packages, below are the links. These are for ENGLISH platforms ONLY.
Adding this to SVCPACK.INF is simple.
Open up your SVCPACK.INF file, and add an entry BEFORE any other hotfixes, simply with the name of the file you download below. That's it!
Download: Windows Media Player 9 (http://unattended.msfn.org/files/beginner/MPSetup9.exe) | Windows Media Player 10 (http://unattended.msfn.org/files/beginner/MP10Setup.exe)
» End Results
If you have done it all correctly, there should be no Critical Updates listed on Windows Update!
http://www.atyafonline.com/vb/imgcache/1530.png
nLite Method
Submitted by Alanoll
nLite can also be used as a hotfix slipstreamer, however it can only be used with the LATEST hotfixes, and RyanVM's Hotfix Pack.
» Adding Hotfixes to be slipstreamed
Start up nLite click next till you reach this screen:
http://www.atyafonline.com/vb/imgcache/1531.png
Right now everything is selected, deselect everything besides Hotfix Integration and click next.
After clicking next, you'll be brought to this screen:
http://www.atyafonline.com/vb/imgcache/1510.png
Click browse, and select your local setup source you created in Step 1, then click next.
The next screen is where you will select what hotfixes to integrate into the CD.
http://www.atyafonline.com/vb/imgcache/1532.png
Click the insert button, and select one of your downloaded hotfixes. Continue untill you select all your hotfixes. When you're done, click next.
Click Yes, and nlite will begin its business.
http://www.atyafonline.com/vb/imgcache/1533.png
When the next button at the bottom becomes active, click it, and then you'll be at nLite's final screen. Click Finish, and you're done.
Step 4 - Creating a Basic Unattended Setup
Submitted by Alanoll
An answer file is a way to script the answers for a series of graphical user interface (GUI) dialog boxes. An answer file also tells Setup how to interact with the $OEM$ distribution folders and files you create, and supplies Setup with all of the information that the end user would provide during a typical Windowshttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/7/#) Setup.
With the XP SP2 Deployment Tools (http://www.microsoft.com/downloads/details.aspx?FamilyId=3E90DC91-AC56-4665-949B-BEDA3080E0F6&displaylang=en) you downloaded, simply extract them to a folder, or double click on the Cab file. The only files you will need is setupmgr.exe and ref.chm:
http://www.atyafonline.com/vb/imgcache/1534.png
The Setup Manager (setupmgr.exe) is a wizard-based answer file creation utility, so you won't come across too much difficulty in using this application. To start you off, make the following choices:
New or Existing Answer File: Create New
http://www.atyafonline.com/vb/imgcache/1535.png
Type of Setup: Unattended Setup
http://www.atyafonline.com/vb/imgcache/1536.png
Windows Product: Which ever version you're preparing for
http://www.atyafonline.com/vb/imgcache/1537.png
User Interaction: Fully Automated
http://www.atyafonline.com/vb/imgcache/1538.png
Distribution Share: Set up from CD (ignore the message about IE customizations, they actually work!)
http://www.atyafonline.com/vb/imgcache/1539.png
Having done that, accept the Licence Agreement, then fill in all the boxes as you would during Windows XPhttp://www.atyafonline.com/vb/imgcache/1509.png (http://unattended.msfn.org/unattended.xp/view/web/7/#) Setup. If you come across a section that you don't understand, then ignore it. Windows XP will use whatever default option there is for that section.
When you've finished, it creates a file called unattend.txt. Since we are going to run Setup from a CD we need to rename this to WINNT.SIF. Be sure that the file DOES NOT end up as WINNT.SIF.TXT. It MUST NOT end in .TXT
» I want to manually control my partitioning and formatting options...
If you prefer to manually choose a partition during text-mode setup with full control on choice of file system, then make sure you have these lines set as they are under the [Data] and [Unattended] sections in winnt.sif:
[Data]AutoPartition=0[Unattended]FileSystem=*
If you want to automate this process with exact specifics on drive letters, partition sizes and file systems, you may want to consider using Bart's PE and diskpart.
» Where does the winnt.sif file go?
Copy winnt.sif to the I386 directory within the local setup source folder you created in Step 1.
» Additional Information
Refer to the Reference (http://unattended.msfn.org/unattended.xp/view/web/19/) page, or read through ref.chm to see how you can add extra options to your winnt.sif file, such as asking Setup not to install Windows Messenger 4.7 and MSN Explorer 7.
Finalizing and Testing the CD
Submitted by Alanoll
Once you're happy with your Unattended XP CD preparation, double check to see if everything is correct, including the winnt.sif answer file, all the batch files, svcpack.inf, and anything else you might have added.
It is very likely that you will have several mistakes that have gone unnoticed, so it's a good idea to test your installation in a Virtual Machine (http://unattended.msfn.org/unattended.xp/view/web/20/). If you prefer to not use a Virtual Machine (http://unattended.msfn.org/unattended.xp/view/web/20/) be sure to use CD-RW/DVD-RW discs to test before burning to a single-burn medium.
» Using Microsoft's CDImage Tool to create the ISO
CDImage is a command-line driven application developed by Microsoft to create an ISO image from a directory of files and folders. We'll be using the CDIMAGE GUI to better illustrate the switches, especially since it's easier to determine which switches you wish to use. The CDIMAGE GUI is just a frontend for the command-line tool. Read more about CDIMAGE GUI (http://unattended.msfn.org/unattended.xp/view/web/15/) in the reference section.
Alternatively, doing it the long way round, you can burn all the contents of C:\XPCD\ to a CD-R, using one of these guides: MSFN Windows XP SP2 Guide (http://www.msfn.org/articles.php?action=show&showarticle=22) | The Elder Geek Windows XP SP2 Guide (http://www.theeldergeek.com/slipstreamed_xpsp2_cd.htm)
» Notes
Make sure you burn the ISO using Disc-at-once in your burner options, rather than Track-at-once. Because this usually helps resolve bootability issues or file copy errors.
Using software such as WinISO, UltraISO or any other variant to create/edit your bootable ISO image is not recommended as there is a risk of corrupting your ISO file.
http://unattended.msfn.org/unattended.xp/
bahattab
30-04-2009, 01:10 PM
How to add custom and add software to Windows Xp Installation disk
Unattended Windows Introduction
Submitted by Alanoll
Welcome to Unattended Windows Guide!
Have you ever wanted a Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/#) CD that would install Windows by automatically putting in your name, product key, timezone and regional settings? And have it merged with the latest Service Pack to save time? Followed by silently installing all your favorite applications along with DirectX 9.0c, .Net Framework 1.1 and then all the required hotfixes, updated drivers, tweaks, and a readily patched UXTheme without any user interaction whatsoever? Then this guide will show you how you can do just that!
Through the course of this guide, you will create a CD that does all the installing for you. The CD will be fully updated with the latest hotfixes, and install all your programs for you.
This guide has been broken up into three parts: Beginner, Intermediate, Advanced. It has been done so, to help you understand what you're doing and not to get over your head too fast. There are pages upon pages of information on this subject, and this guide only covers the tip of the iceberg.
The Beginner portion will cover the updating of your CD, along with automating setup itself.
The Intermediate portion covers adding Drivers and Applications to your CD, as well as User creation and other little tidbits.
The Advanced section is where it gets really fun. We'll customize the look and feel of your setup, as well as add hacked files to remove the limits put upon the system.
I must strongly suggest that you adhere to the sections until you feel you have completely mastered them. You don't want to go sailing without knowing how to sail.
Target Audience: Home users - who are taking up a time-consuming process of re-installing Windows, manually installing essential applications, downloading windows updates, and tweaking their OS to perfection on every re-format.
Difficulty: Requires an intermediate experience of Microsoft Windows and a basic knowledge of how batch commands function. Though batch scripts are briefly covered, it will be a good idea to brush up on your skills before starting.
Intermediate Introduction
Submitted by Alanoll
Welcome to the Intermediate section of the guide. This portion is intended to take your basic Unattended CD you created in the Beginner section, and turn it into a CD that will also install your drivers and your favorite applications. Along with a few Registry Tweaks, your CD may just be what you've needed for quite some time, a CD that will install Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/28/#) and have it completely usable from the start. Good luck with this portion of the guide, and remember if you have any problems, don't hesitate to ask in the forums (http://www.msfn.org/board).
What you'll need:
A Basic Unattended CD from the Beginner Section
Some basic knowledge on Batch scripting
All your drivers and favorite programs handy
» OEM Preinstallation
We will be using the $OEM$ distribution folders (http://unattended.msfn.org/unattended.xp/view/web/18/) to install our favorite software, drivers, and registry tweaks. But to make this work, we need to specify two values in the WINNT.SIF file under
To edit the WINNT.SIF file, simply open it up in Notepad and edit it as follows:
[Unattended]OemPreinstall=YesUnattendSwitch="yes"
OemPreinstall=Yes instructs Windows XPhttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/28/#) Setup that there is an $OEM$ distribution share on the CD. This will tell setup to copy them over to the destination hard drive of where Windows is being installed.
UnattendSwitch="yes" instructs Windows XP Setup to skip the "Welcome to Windows XP" screens, where user account and Internet setting-up takes place. If you didn't skip this then it wouldn't really be "unattended," would it? :-) (Although we'll worry about User Account creation by going to the Add Users & Auto Logon page (http://unattended.msfn.org/unattended.xp/view/web/27/) later.)
Now remember, just as with the beginner section, it is highly advisable to use a Virtual Machine. The downside of a Virtual Machine, at least in this section, is that you will have to hope your drivers will install in a real system, but drivers are usually the easy thing to get working.
Intermediate Method Introduction
Submitted by Alanoll
In the Intermediate section, I'm going to try and keep this simple, and only recommend you use two different methods of installing your Drivers (where applicable) and Applications. The reason for this is that I want you to get a general understanding of how things work in the process before trying to accomplish something too sophisticated too fast.
Be sure to read the Crash Course in Switches (http://unattended.msfn.org/unattended.xp/view/web/21/) in the reference section.
The two different methods are:
Batch Scripting (http://unattended.msfn.org/unattended.xp/view/web/30/)
http://www.atyafonline.com/vb/imgcache/1577.png
RunOnceEX (http://unattended.msfn.org/unattended.xp/view/web/31/)
http://www.atyafonline.com/vb/imgcache/1578.png
Batch Scripting
Submitted by Alanoll
Before we start on making batch files to install our applications and registry tweaks, you may want to find out what they do and to see how they are used:
Batch files (*.cmd or *.bat, although *.cmd is recommended) can be executed in several areas of Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/30/#) XP's Setup process. Using batch files helps to automate several tasks at once without any interaction required.
They can be executed from either cmdlines.txt, svcpack.inf, a RunOnceEx entry in the Registry, or from the [GuiRunOnce] section in winnt.sif. You will learn more about these as you go through this guide.
» Typical contents of a batch file
Batch files supports all the commands that work as if you was using the Command Prompt. To see Windows XP'shttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/30/#) Command Prompt, go to Start > Run > and type cmd followed by enter.
Let's try making a small batch file that does several things. Open Notepad and copy and paste the following:
@echo offtitle Batch File Testingecho Hello Worldecho.echo Starting MS Paintstart mspaintecho.echo Starting Wordpadstart Wordpadecho.pauseexit
Save this as anything you like, as long as it has a .cmd extension. Now double-click on the file. You will find that it renames the Window title to "Batch File Testing", opens MSPaint and Wordpad, asks you to press any key to continue, and then it exits.
http://www.atyafonline.com/vb/imgcache/1579.png
@echo offHides the C:\> Prompt and any commands shown in the batch file.echo.Includes a line spacing.echo messagePrints "message" in a Command Prompt window, purely for commenting purposes.titleSets the title of the window.startStart an application, or an installation.pauseDisplays "Press any key to continue..."exitExits the Command Prompt sleep #Pauses the execution of the batch script for # seconds, link on the download page.cmdow @ /hidHides the batch file from view, useful if you don't want someone to cancel the process. Also on the download page
Once you start adding software to your Unattended XP CD, you will find that most of the syntax on this site (in the Applications area) is shown as something like this:
Start "Title" /wait %systemdrive%\install\some_application\setup.exe /switch /anotherswitch
The Start command above will launch some_application's installation program, setup.exe. The /wait switch tells the Start command to wait for setup.exe to finish installing before proceeding to the next line of code in the script. It's important to use /wait so the rest of the script doesn't get executed all at once, which would most likely cause conflicts in the number of setup applications being run at the same time. The "Title" parameter tells Start what to name the Command Console opened by Start (if any). Always provide the "Title" parameter, even though using the Start command to open Windows-based programs normally does not result in opening an additional Command Console. Omitting the "Title" parameter will often cause the Start command to inaccurately process switches for the program it is launching. The /wait switch will not work correctly for some programs launched by the Start command—for example when the program Start launched subsequently launches another program and then terminates itself. Start only waits for the program it launched to terminate before allowing the script to proceed, yet the subsequently launched programs could still be executing. In such cases use Sleep to pause the script to allow these subsequent programs to complete.
Once you have a good understanding of using batch commands or want to find out more examples - check the Examples (http://unattended.msfn.org/unattended.xp/view/web/12/) page.
» cmdlines.txt, svcpack.inf and [GuiRunOnce]
Scripts can also be run from cmdlines.txt or svcpack.inf, which runs at the T-13 / T-12 minute stage of Windows XP Setup. cmdlines.txt is useful for tasks such as Adding Users (http://unattended.msfn.org/unattended.xp/view/web/27/) when using the net user method, or importing your HOKEY_CURRENT_USER registry tweaks to the Default profile. You will learn more about cmdlines.txt in the Reference section, and you may have used the SVPCACK.INF Method (http://unattended.msfn.org/unattended.xp/view/web/24/) for installing hotfixes; just think of the batch file as another hotfix to add.
An example of a batch running from [GuiRunOnce]: Screenshot (http://www.atyafonline.com/vb/imgcache/1577.png)
As you can see in the screenshot, it's using a combination of "ECHO." and "ECHO message". It's not a requirement to use those, but it lets you know how it's progressing! [GuiRunOnce] is run on first logon.
» Where do I put the batch files?
For [GuiRunOnce], you can place them in any folder in the $OEM$ Distribution folders (http://unattended.msfn.org/unattended.xp/view/web/18/). For example, if you place batch_file.cmd in C:\XPCD\$OEM$\$1\install\ then you would insert this path under [GuiRunOnce] in winnt.sif, like so:
[GuiRunOnce]%systemdrive%\install\batch_file.cmd
The Install folder specified at C:\XPCD\$OEM$\$1\Install\ is copied over to the systemdrive, so it turns out to be C:\install\ - More information on this can be found at the $OEM$ Distribution folders (http://unattended.msfn.org/unattended.xp/view/web/18/) page.
For cmdlines.txt, it should be placed in the \$OEM$ folder, and does not need to be specified anywhere else to state its existence. Windows Setup automatically scans for a cmdlines.txt file. All batch files launched by cmdlines.txt should be put into the same folder.
svcpack.inf should go into the C:\XPCD\I386\ folder (make sure svcpack.in_ is deleted). Any batch files launched by svcpack.inf should go into the C:\XPCD\I386\svcpack\ folder unless otherwise specified by the entries in svcpack.inf, but more info on this is in SVCPACK.INF Method for Hotfixes (http://unattended.msfn.org/unattended.xp/view/web/24/).
» Next Step
Start adding your drivers and applications. This page was just meant to teach you about batch scripting and adding things to it.
RunOnceEx
Submitted by Alanoll
If you would prefer to use an INF file to control RunOnceEx, you can follow gosh's guide to learn how here (http://gosh.msfn.org/using_runonceex.htm).
Some of you may have trouble understanding how to create your own RunOnceEx.cmd file as outlined in this guide, as it has a steeper learning curve than batch files. eagle00789 over at the MSFN Forums has created an application to simplify this, known as the RunOnceEx.cmd Creator (http://www.msfn.org/board/index.php?showtopic=23751&st=0).
» Getting Started
First of all, remove the [GuiRunOnce] entries in winnt.sif, as RunOnceEx can be used to replace [GuiRunOnce] completely. Although you can use both if needed for some reason, but they will both run at the same time, so use caution.
To start RunOnceEx on first logon, we will need to import the registry keys during GUI-mode of Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/31/#) Setup. We can do this by using cmdlines.txt which executes a series of commands during the T-12 minute stage of Windows XP Setup. Create a cmdlines.txt file in Notepad and paste in the following:
[COMMANDS]"RunOnceEx.cmd"
Save this as cmdlines.txt inside the $OEM$ folder within your Windows Setup Source folder. If there currently isn't one created, create one. While we're on the subject, feel free to read about the $OEM$ Distribution Folders (http://unattended.msfn.org/unattended.xp/view/web/18/)
» Creating your RunOnceEx.cmd file
This file will contain the syntax using REG.exe to import entries into the Windows Registry. This different method of importing registry entries allows the %systemdrive% environment variable to be used. The other method of using *.reg files requires a fixed drive letter (environment variables won't work), which isn't perfect if we wanted to install Windows onto D:\ or E:\ on a different PC.
Here is an example of what you can use:
cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion \RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Adobehttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/31/#) Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdobeReader6\AR6.msi /qn" /fREG ADD %KEY%\010 /VE /D "Alcohol 120" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\alcohol\setup.exe /qn" /fREG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" /fREG ADD %KEY%\015 /VE /D "Diskeeper 8" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\DiskeeperPro_8.0.459.exe /s /v/qn" /fREG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /fREG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXIT
Save this as RunOnceEx.cmd in C:\XPCD\$OEM$\
You may have noticed the 5 number gaps between each registry key. This allows you to easily maintain your list by adding another application between two existing keys, (for example, we have 001 and 005, we can add additional keys of 002, 003 or 004). Customize it as you wish. Each task is run in numerical order.
» Understanding the RunOnceEx.cmd file
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion \RunOnceEx
This sets the registry address "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run OnceEx" to a variable, called %KEY%. This saves on having to specify the full path every time we use REG ADD.
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
This sets the title of the Window. The wording surrounded in quotations is customizable.
REG ADD %KEY%\010 /VE /D "Alcohol 120" /f
This sets the name of a task you want to process, and appears on the RunOnceEx window.
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\alcohol\setup.exe /qn" /fREG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" /f
You can assign several tasks to "Alcohol 120" by using /V 1, 2, 3 and so on.
As you can see in the RunOnceEx (http://www.atyafonline.com/vb/imgcache/1578.png) screenshot, the little arrow won't move to the next application until all those tasks have completed.
In short, all you really need to do is duplicate each REG ADD entry, but change the numbering and everything enclosed in quotations. If you want more information, type REG ADD /? at the Command Prompt.
» cmdow.exe
What is cmdow @ /HID? This is a tool designed to hide your command line window from the end user. You can get cmdow.exe here (http://unattended.msfn.org/unattended.xp/view/web/10/). Place cmdow.exe into the \$OEM\$$\System32\ directory, so cmdow is copied over during Setup, and then the tool can be executed from anywhere without a direct path to the \Windows\System32 folder.
NOTE: CMDOW.EXE has been declared as a virus by Symantec Antivirus. Although it is not a virus, systems with SAV installed will automatically quarantine CMDOW.EXE upon use.
» Applications that use Quotations
You will find that if you add additional " " quotation marks in the REG ADD entries, it won't be imported to the Windows Registry. To work around this, use a backslash \" for every quotation you intend to add, for example:
%KEY%\005 /V 1 /D "\"%systemdrive%\install\AdobeReader6\Adobe Reader 6.msi\" /qn" /f
By doing this, you can execute applications that contain spaces in the filename, or application switches that need to be enclosed in quotations.
If there is an application that has a series of complicated switches with lots of quotation marks, consider putting them into a separate .cmd file instead and launching from RunOnceEx, because it would get too messy putting those switches directly into RunOnceEx.
» Cleanup.cmd
This is optional. You can use cmd files to do tasks that would otherwise be messy if you added them to the REG ADD entries in RunOnceEx.cmd file. To see how this file is executed, please see the RunOnceEx.cmd example file near the top of this page.
Cleanup.cmd can contain the delete and reboot commands, such as:
cmdow @ /HIDshutdown.exe -r -f -t 60 -c "Windows XPhttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/31/#) will now restart in 1 minute..."net user aspnet /deleteDEL "%systemroot%\*.bmp"DEL "%systemroot%\Web\Wallpaper\*.jpg"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"RD /S /Q %systemdrive%\drivers\RD /S /Q %systemdrive%\install\EXIT
» Summary
To summarize, RunOnceEx.cmd will be executed during the GUI-mode of Windows XP Setup at the T-12 Minute stage. This, however, does NOT mean that your programs will install. After reboot and first logon, RunOnceEx will start as shown here (http://www.atyafonline.com/vb/imgcache/1578.png), and begin installing your programs.
You can test your RunOnceEx.cmd file by executing it. All it does is import the registry entries into HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\RunOnceEx\. So you should open up Registry Editor to check that everything is correct. Once you have verified that it's all correct, you should delete all the entries there, as you don't want it running on next boot-up on your production system!
If, however, you want to go through the whole process, or want to execute your RunOnceEx entries immediately after importing, execute this line:
rundll32.exe iernonce.dll,RunOnceExProcess
Advantages of using RunOnceEx:
Sleek and professional to the end-user
Easier to maintain
However, if you want to use a more customizable RunOnceEx, please have a look at this page (http://www.msfn.org/board/index.php?showtopic=110871).
You can check out my copy of RunOnceEx.cmd in the Examples (http://unattended.msfn.org/unattended.xp/view/web/12/) section.
Device Drivers Introduction
Submitted by Alanoll
Ah drivers, what every system needs. This guide will cover 3 different types of driver installation, and mention Bâshrat the Sneaky's DriverPacks. Drivers from WINNT.SIF and Drivers from CD follow the same concept (at least in the scope of this guide), in that Drivers from CD requires that you complete the majority of drivers with WINNT.SIF. I'll explain more on its page.
RAID/SATA Drivers will cover how to include your RAID/SATA drivers so that they're available during the TXTMODE portion of setup, and that you don't need the original floppy disk to get it working.
Choose where you wish to go:
Drivers from WINNT.SIF (http://unattended.msfn.org/unattended.xp/view/web/34/) | Drivers from CD (http://unattended.msfn.org/unattended.xp/view/web/35/) | RAID/SATA Drivers (http://unattended.msfn.org/unattended.xp/view/web/36/) | Bâshrat the Sneaky's DriverPacks (http://unattended.msfn.org/unattended.xp/view/web/37/)
Drivers via WINNT.SIF
Submitted by Alanoll
If you ever had to update a lot of drivers after installing Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/34/#), then this guide will show you how you can get Windows Setup to install your updated drivers rather than the ones from the drivers.cab file on the CD. It's not as difficult as you think!
» Drivers in winnt.sif [Unattended]
OemPnPDriversPath="Drivers\000_intel_INF;Drivers\001_gigabit_LAN;Driv ers\002_monitor"
This is where you can tell Setup to search your updated drivers folders to find a better match than what's in the existing drivers.cab on the Windows CD. If it finds a better match it will install those instead.
Note: Separate different directories with a semi-colon ";"
DriverSigningPolicy=Ignore
This will force Setup to install drivers that may not be WHQL certified. This is used in conjunction with OemPnPDriversPath. (Feedback from the MSFN forums have said that this doesn't always work. Try to use WHQL certified drivers if you can!)
You can add as many drivers as you want for several machines with different hardware specs. There is no risk of installing wrong drivers on a specific machine because Windows detects the best driver match for the hardware.
» How to prepare your drivers
All drivers are packaged differently, which is why we can't make a guide for every driver. But most of them can be extracted using extraction software and will contain one, or several INF files inside.
Extract your driver package to any folder, and examine the contents of it. Sometimes you will find several sub-folders containing the INF files in which case you need to make separate direct paths to them in OemPnPDriversPath. This is because Windows Setup will not scan any sub-folders for any INF files.
Name your folders starting with numbers, this ensures that specific drivers get installed in a numerical order. As you may already know, its important for chipset drivers to be installed before any other driver, this is why the chipset folder is given a number of 000, so its the first folder that Setup checks and installs. Here's an example below of how you can lay yours out:
000_chipset
001_network
002_graphics
003_tv_out
004_sound
005_monitor
006_keyboard
007_mouse
008_and_so_on
So first, its the chipset drivers, then your network card, followed by graphics and sound (and tv out if you have one), then monitor drivers, and lastly any peripherals such as the keyboard, mouse, printer etc.
Copy all your driver folders to \$OEM$\$1\drivers\
http://www.atyafonline.com/vb/imgcache/1580.png
http://www.atyafonline.com/vb/imgcache/1581.png
Open up winnt.sif and add these two lines under the [Unattended] section (the paths to the drivers are an example for this guide, so simply replace with your own):
OemPnPDriversPath="Drivers\000_intel_INF;Drivers\001_gigabit_LAN;Driv ers\002_monitor"DriverSigningPolicy=Ignore
As you can see, its pointing to the folder where the .inf files are stored, not directly to the .inf file itself. Save winnt.sif and you're all done!
» Troubleshooting
Not all drivers installations will work using this method. If you come across one that doesn't work, then you may want to consider doing a silent installation on the driver package itself and run it from [GuiRunOnce]. You can check this page (http://unattended.msfn.org/unattended.xp/view/web/38/) for guides on several installation packages.
If some drivers are NOT being installed, then it might be because you've exceeded the 4096-character limit that applies to the OemPnPDriversPath entry in the winnt.sif file!
Other notes: You can install the ATi Catalyst drivers using the method above, but the Catalyst Control Center won't be installed. However you can install it automatically: you'll have to perform an administrative installation (http://www.msfn.org/board/index.php?showtopic=53655) to get to the files you need. Then all you have to do is do a silent installation during [GUIRunOnce], for example. You could of course also use XPlode, WPI, or any other post-install software.
You can also ask for help in the Device Drivers (http://www.msfn.org/board/index.php?showforum=88) forum.
Drivers via CD
Submitted by Alanoll
In this section, we will complete the same process as Drivers via WINNT.SIF except that they will install from CD. This will decrease the amount of time setup requires to complete, and depending on the number of drivers you have will also simplify the process slightly.
This whole method is all made possible by Pyron who created these few small programs for use in this process. The original forum thread can be found here (http://www.msfn.org/board/index.php?showtopic=12566). You will also need to download these following files, and save them in a temporary location:
SETUP.EX_ (http://unattended.msfn.org/files/intermediate/SETUP.EX_)
presetup.cmd (http://unattended.msfn.org/files/intermediate/presetup.cmd)
SetDevicePath.exe (http://unattended.msfn.org/files/intermediate/SetDevicePath.exe)
WatchDriverSigningPolicy.exe (http://unattended.msfn.org/files/intermediate/WatchDriverSigningPolicy.exe)
I supposed this is a good time for a brief outline of what you're about to do. Basically, you're going to create the same folder structure as in Drivers via WINNT.SIF. You're then going to replace SETUP.EX_ in your Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/35/#) Source with the one you just downloaded. Make a few entries in TXTSETUP.SIF and your drivers will be good to go.
» How to prepare your drivers
All drivers are packaged differently, which is why we can't make a guide for every driver. But most of them can be extracted using extraction software and will contain one, or several INF files inside.
Create a base driver folder in your Windows Source location (it does NOT have to be in $OEM$ at all), for example %WINSRC%\Drivers with %WINSRC% being the path to your Windows Source. I suggest extracting your driver files to the proper corresponding folder below, and don't worry about subfolders, let them be created. You'll see why it won't matter..
Name your folders starting with numbers, this ensures that specific drivers get installed in a numerical order. As you may already know, its important for chipset drivers to be installed before any other driver, this is why the chipset folder is given a number of 000, so its the first folder that Setup checks and installs. Here's an example below of how you can lay yours out:
000_chipset
001_network
002_graphics
003_tv_out
004_sound
005_monitor
006_keyboard
007_mouse
008_and_so_on
So first, its the chipset drivers, then your network card, followed by graphics and sound (and tv out if you have one), then monitor drivers, and lastly any peripherals such as the keyboard, mouse, printer etc.
Copy all your driver folders to \Drivers
http://www.atyafonline.com/vb/imgcache/1580.png
http://www.atyafonline.com/vb/imgcache/1581.png
» Prepare Windows Source files
Open the Run dialogue box by going to Start then click on Run, or press <WINDOWSKEY><R>
http://www.atyafonline.com/vb/imgcache/1582.png
In the Run box, type:
expand C:\XPCD\I386\SETUP.EX_ C:\XPCD\I386\SETUPORG.EXE
Change C:\XPCD to the path of your Windows Setup Source. We are expanding the ORIGINAL SETUP.EXE file to SETUPORG.EXE.
Next copy the presetup.cmd and SETUP.EX_ file that you downloaded into the I386 directory in your Windows Setup Source.
Now open TXTSETUP.SIF in Notepad, and seach for
setup.exe = 100,,,,,,,2,0,0,,1,2
Press ENTER a few times to create some empty lines (be careful not to remove the line you just searched for) and add these lines:
setupORG.exe = 1,,,,,,,2,0,0presetup.cmd = 1,,,,,,,2,0,0
Save TXTSETUP.SIF and exit Notepad.
To finish this section up, save SetDevicePath.exe and WatchDriverSigningPolicy.exe in \Drivers
» Making Changes to presetup.cmd
Open presetup.cmd in Notepad
Scroll down to the lines containing SetDevicePath.exe and correct the path. Change \Drivers to where you saved the files on in your source and the parameter ( %CDROM%\Drivers ) to where you saved all your driver files. Also correct the path in the line directly below it as well.
» Summarizing
You have just completed allowing your Windows setup to install the drivers from CD. SetDevicePath.exe will scan the recursively all the directories in the path you specify (see the presetup.cmd file for example), so even subfolders are also scanned. Any INF's found are added to the Device Path that Windows checks when it find new hardware. In this fashion, just drop any future drivers into your driver folder, and Windows will automatically use them if neccesary during setup.
RAID/SATA Drivers
Submitted by Alanoll
In order to avoid the need to press F6 during Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/36/#) installation in order to install onto your SATA/RAID Mass Storage Device (MSD), you may slipstream the drivers needed into the Windows Distribution. Following is a step by step example of slipstreaming the Silicon Image 3112 SATALink Driver. The steps are similar for all MSD's, and can be easily transposed to other MSD drivers.
This particular example was taken from GreenMachine's website here (http://greenmachine.msfnhosting.com/READING/addraid.htm).
» Step One - Edit TXTSETUP.SIF
In the I386 directory or your Windows Source Directory, open the TXTSETUP.SIF file in your favorite text editor. Copy the following text into the TXTSETUP.SIF file, at the end of the file, just before the (sometimes invisible) end of file marker:
[SourceDisksFiles] si3112.sys = 1,,,,,,3_,4,1 [HardwareIdsDatabase] PCI\VEN_1095&DEV_3112&SUBSYS_31121095 = "Si3112" PCI\VEN_1095&DEV_3112&SUBSYS_34238086 = "Si3112" PCI\VEN_1095&DEV_3112&SUBSYS_311215D9 = "Si3112" PCI\VEN_1095&DEV_3112&SUBSYS_B0021458 = "Si3112" PCI\VEN_1095&DEV_3112&SUBSYS_01661028 = "Si3112" PCI\VEN_1095&DEV_3112&SUBSYS_82141033 = "Si3112" PCI\VEN_1095&DEV_3512&SUBSYS_35121095 = "Si3112" PCI\VEN_1095&DEV_3512&SUBSYS_01661028 = "Si3112" [SCSI.load] si3112 = si3112.sys,4 [SCSI] si3112 = "Silicon Image SiI 3112 SATALink Controller"
If you prefer however to NOT risk erasing the "invisible" EOF marker, then just search for the sections above, and add the entries to each one, i.e. SourceDisksFiles goes in SourceDisksFiles; SCSI.load goes in SCSI.load
The information relating to the driver, can be found in the TXTSETUP.OEM included with your driver files. This will be the only time you use this file. Also be sure that the left side of the equals sign (=) in SCSI.load is equivalent to the right side of HardwareIdsDatabase. All the PCI\VEN_* lines were found in TXTSETUP.OEM. Copy the lines that relate to your OS (since many drivers also work with Windows 2000 through 2003, but are all listed in the same file).
» Step Two - Copy Drivers
Add your SATA drivers to the appropriate Windows Distribution Directory. In this example the directory $OEM$\$1\DRIVERS\006\SI3112 is used. If however you are using the Drivers from CD method, just place the files in the proper folder of your choosing and skip the portion of editing WINNT.SIF and continue to Step 4 (http://unattended.msfn.org/unattended.xp/view/web/7/)
Directory of E:\XPCD\$\$1\DRIVERS\006\SI3112 23.09.2003 11:05 10,236 si3112.cat 16.09.2003 10:43 11,094 SI3112.inf 04.09.2003 12:45 55,144 Si3112.mpd 04.09.2003 12:45 55,144 Si3112.sys 30.04.2003 08:35 20,560 SiiSupp.vxd 31.07.2003 09:01 69,120 SilSupp.cpl 09.06.2003 17:56 10,112 SiWinAcc.sys 7 File(s) 231,410 bytes
» Step Three - Update WINNT.SIF
Your WINNT.SIF file must contain the at least the following information:
[Unattended] OemPreinstall=Yes OemPnPDriversPath="Drivers\006\SI3112"
» Step Four - Compress Driver to I386
In order to make the driver available in the text based portion of setup, we must add it to the I386 directory.
Open up the Run Box.
Inside the run box, type:
MAKECAB E:\XPCD\$\$1\DRIVERS\006\SI3112\SI3112.SYS E:\XPCD\i386\SI3112.SY_
Changing E:\XPCD\$OEM$\$1\DRIVERS\006\SI3112 to your path, and E:\XPCD\i386\ to the I386 directory in your Windows Setup Source
Bâshrat the Sneaky's DriverPacks
Submitted by Alanoll
These packs were created by Bâshrat the Sneaky in the forum to allow as many drivers as possible to be included on the CD. The best part about these packs, is that you don't have to find the drivers individually to add them, they're all included in the packs. No more searching for updated drivers each time you update your unattended Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/37/#) CD either, nor taking care of exceptions (for example the installation of the ATI Catalyst Control Center is handled automatically) or driver conflicts. And using F6 to install onto a SATA HDD will no longer be necessary either!
Currently there are 7 DriverPacks available, besides several 3rd party (unofficial) DriverPacks:
DriverPack Chipset
DriverPack CPU
DriverPack Graphics
DriverPack LAN
DriverPack MassStorage
DriverPack Sound
DriverPack WLAN
And to slipstream them, you will also need the DriverPacks BASE, which now has a nice GUI through which you can configure everything with the greatest ease.
The following installation platforms are supported:
disc (CD/DVD)
multibootDisc
BartPE plugin
[U]Links
driverpacks.net (http://www.driverpacks.net/) (homepage)
forum.driverpacks.net (http://forum.driverpacks.net/) (DriverPacks support forum)
bugtracker.driverpacks.net (http://bugtracker.driverpacks.net/)
Application Introduction
Submitted by Alanoll
In this section, we'll be showing you how you can install applications silently without user interaction.
Each page will show you the necessary batch commands you will need to use. You will need to add these commands to your own batch file which will run from [GuiRunOnce]. You can see how I've done mine by looking at start.cmd in the Examples (http://unattended.msfn.org/unattended.xp/view/web/12/) page.
» Application not listed?
Then find out what installer package it uses, and follow one of the links in the navigation menu under the Applications listing. This should be one of the first things to do when the application hasn't been added yet, the reason being is that the majority of applications are packaged using one of them.
If it's still not there, then try one of the following:
/silent
/s or /S
/help
/?
If you're still not sure, you can search and then ask in the Application Switches forum (http://www.msfn.org/board/index.php?showforum=80). If you get no response, you may want to consider emailing the developer of the application to ask if it supports a silent installation or not.
» When all else fails...
You can use an application that monitors your software installation, and then creates a silent-install package of the files and registry changes that occurred during the installation. These types of applications are listed below:
WinInstall LE 2003 (http://downloads.ondemandsoftware.com/download/installs/wininstallle.exe) (Freeware) Use the 'Discover' Wizard.
InstallRite (http://www.epsilonsquared.com/) (Freeware)
AutoIT (http://www.hiddensoft.com/AutoIt/) (Freeware) and Collection of scripts from forum members (http://www.msfn.org/board/index.php?showtopic=20197)
Symantec AI Snapshot (http://service1.symantec.com/SUPPORT/ghost.nsf/8477deaaaafc102288256b1e00704619/26fc910ebab0c95188256a15005f935f?OpenDocument&src=bar_sch_nam) (Included in Symantec Ghost Corporate)
» Application database Switches
TitleAuthor.NET Framework 1.1 & SP1 (http://unattended.msfn.org/unattended.xp/view/switch/23/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/175340/).Net Framework 2.0 (http://unattended.msfn.org/unattended.xp/view/switch/103/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/13560/).Net Framework 3.0 (http://unattended.msfn.org/unattended.xp/view/switch/110/)skamranj (http://unattended.msfn.org/unattended.xp/user/profile/13560/)7zip 4.42 (http://unattended.msfn.org/unattended.xp/view/switch/32/)bart of borg (http://unattended.msfn.org/unattended.xp/user/profile/0/)Acrobat 6 Standard (http://unattended.msfn.org/unattended.xp/view/switch/91/)Beresford (http://unattended.msfn.org/unattended.xp/user/profile/110870/)Ad-Aware 6 Free Version (http://unattended.msfn.org/unattended.xp/view/switch/3/)Axed (http://unattended.msfn.org/unattended.xp/user/profile/113709/)Adobe Reader 6 (http://unattended.msfn.org/unattended.xp/view/switch/4/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Adobe Reader 8 (http://unattended.msfn.org/unattended.xp/view/switch/99/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/118116/)AIM (AOL Instant Messenger) (http://unattended.msfn.org/unattended.xp/view/switch/5/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)AIM Pro (http://unattended.msfn.org/unattended.xp/view/switch/88/)Lord Wolf (http://unattended.msfn.org/unattended.xp/user/profile/105809/)All *.msi switches (http://unattended.msfn.org/unattended.xp/view/switch/98/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/112969/)Avast (http://unattended.msfn.org/unattended.xp/view/switch/41/)DaemosDaen (http://unattended.msfn.org/unattended.xp/user/profile/83482/)AVG Free (http://unattended.msfn.org/unattended.xp/view/switch/49/)Eagle117 (http://unattended.msfn.org/unattended.xp/user/profile/48827/)CCleaner (http://unattended.msfn.org/unattended.xp/view/switch/35/)Martijn (http://unattended.msfn.org/unattended.xp/user/profile/1/)CCleaner 2.17.853 (http://unattended.msfn.org/unattended.xp/view/switch/124/)avechuche (http://unattended.msfn.org/unattended.xp/user/profile/235307/)CDex (http://unattended.msfn.org/unattended.xp/view/switch/6/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Citrus Alarm Clock 1.0.5 (http://unattended.msfn.org/unattended.xp/view/switch/105/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/0/)Clone DVD 3.5.4 (http://unattended.msfn.org/unattended.xp/view/switch/31/)bart of borg (http://unattended.msfn.org/unattended.xp/user/profile/28534/)CuteFTP Silent Swich (http://unattended.msfn.org/unattended.xp/view/switch/57/)kamran (http://unattended.msfn.org/unattended.xp/user/profile/87025/)CyrptoPad (http://unattended.msfn.org/unattended.xp/view/switch/75/)integer (http://unattended.msfn.org/unattended.xp/user/profile/8194/)Daemon tools 4.08 (http://unattended.msfn.org/unattended.xp/view/switch/104/)gordigo (http://unattended.msfn.org/unattended.xp/user/profile/120251/)DirectX 9.0b (http://unattended.msfn.org/unattended.xp/view/switch/7/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)DirectX9.0c (http://unattended.msfn.org/unattended.xp/view/switch/113/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/156366/)Diskeeper (http://unattended.msfn.org/unattended.xp/view/switch/8/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Diskeeper 10 Pro Premier (http://unattended.msfn.org/unattended.xp/view/switch/55/)ender341 (http://unattended.msfn.org/unattended.xp/user/profile/92828/)DVD Santa 4.0 (http://unattended.msfn.org/unattended.xp/view/switch/42/)bart of borg (http://unattended.msfn.org/unattended.xp/user/profile/28534/)DVD Shrink 3.2.0.15 (http://unattended.msfn.org/unattended.xp/view/switch/56/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/17712/)Easy CD-DA Extractor 6 (http://unattended.msfn.org/unattended.xp/view/switch/9/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)eMule (http://unattended.msfn.org/unattended.xp/view/switch/10/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)ESET NOD32 (http://unattended.msfn.org/unattended.xp/view/switch/77/)integer (http://unattended.msfn.org/unattended.xp/user/profile/8194/)Filezilla Client 2.2.25 (http://unattended.msfn.org/unattended.xp/view/switch/81/)integer (http://unattended.msfn.org/unattended.xp/user/profile/8194/)Firefox 3 (http://unattended.msfn.org/unattended.xp/view/switch/120/)CrazyCanuck,Eh? (http://unattended.msfn.org/unattended.xp/user/profile/129047/)Firefox 3 (http://unattended.msfn.org/unattended.xp/view/switch/127/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Flash Player (Adobe Version) (http://unattended.msfn.org/unattended.xp/view/switch/115/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Flash Player 9 (http://unattended.msfn.org/unattended.xp/view/switch/102/)alex66 (http://unattended.msfn.org/unattended.xp/user/profile/104418/)Flashget (http://unattended.msfn.org/unattended.xp/view/switch/11/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Foxit Reader 2.2 (http://unattended.msfn.org/unattended.xp/view/switch/117/)markys (http://unattended.msfn.org/unattended.xp/user/profile/178918/)Free Download Manager v2.0 (http://unattended.msfn.org/unattended.xp/view/switch/85/)soporific (http://unattended.msfn.org/unattended.xp/user/profile/60134/)Gaim 1.x (http://unattended.msfn.org/unattended.xp/view/switch/34/)rendrag (http://unattended.msfn.org/unattended.xp/user/profile/35042/)Gaim Encryption 2.38 (http://unattended.msfn.org/unattended.xp/view/switch/79/)integer (http://unattended.msfn.org/unattended.xp/user/profile/8194/)Gaim Off-the-Record Messaging (OTR) 3.0.0 (http://unattended.msfn.org/unattended.xp/view/switch/78/)integer (http://unattended.msfn.org/unattended.xp/user/profile/8194/)GnuPG 1.4.2.1 compiled for Microsoft Windows (http://unattended.msfn.org/unattended.xp/view/switch/74/)integer (http://unattended.msfn.org/unattended.xp/user/profile/8194/)IrfanView (& Plugins) (http://unattended.msfn.org/unattended.xp/view/switch/60/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/54177/)ISOBuster (http://unattended.msfn.org/unattended.xp/view/switch/12/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Isscript 10.0 (http://unattended.msfn.org/unattended.xp/view/switch/44/)bart of borg (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Izarc (http://unattended.msfn.org/unattended.xp/view/switch/65/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/94772/)Java 6 Update 12 (http://unattended.msfn.org/unattended.xp/view/switch/126/)avechuche (http://unattended.msfn.org/unattended.xp/user/profile/235307/)Java v6 Update 7 (http://unattended.msfn.org/unattended.xp/view/switch/128/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)JAWS for Windows 7.0 and prior (http://unattended.msfn.org/unattended.xp/view/switch/96/)frequency660 (http://unattended.msfn.org/unattended.xp/user/profile/87737/)jv16 PowerTools 2006 (http://unattended.msfn.org/unattended.xp/view/switch/100/)alex66 (http://unattended.msfn.org/unattended.xp/user/profile/104418/)K-Lite Mega Codec Pack 4.7.0 (http://unattended.msfn.org/unattended.xp/view/switch/125/)avechuche (http://unattended.msfn.org/unattended.xp/user/profile/235307/)Kazaa Lite K++ (http://unattended.msfn.org/unattended.xp/view/switch/13/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/25648/)Kerio Personal Firewall 2.1.5 (http://unattended.msfn.org/unattended.xp/view/switch/14/)Axed (http://unattended.msfn.org/unattended.xp/user/profile/113709/)Kerio Personal Firewall 4.2.2 (http://unattended.msfn.org/unattended.xp/view/switch/45/)bart of borg (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Logitech Setpoint 2.6 (http://unattended.msfn.org/unattended.xp/view/switch/67/)abroln (http://unattended.msfn.org/unattended.xp/user/profile/6831/)Magis ISO (5.3 & 5.4) (http://unattended.msfn.org/unattended.xp/view/switch/118/)jef (http://unattended.msfn.org/unattended.xp/user/profile/8634/)Matlab and Simulink R2006a (http://unattended.msfn.org/unattended.xp/view/switch/82/)vampus8 (http://unattended.msfn.org/unattended.xp/user/profile/99628/)Matroska Pack Full v1.1.2 (http://unattended.msfn.org/unattended.xp/view/switch/68/)Ryaren (http://unattended.msfn.org/unattended.xp/user/profile/95689/)Media Player Classic (http://unattended.msfn.org/unattended.xp/view/switch/19/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Meetingmaker (http://unattended.msfn.org/unattended.xp/view/switch/119/)/usr/local/dick (http://unattended.msfn.org/unattended.xp/user/profile/165584/)Microsoft IntelliPoint 5.x (http://unattended.msfn.org/unattended.xp/view/switch/38/)elajua (http://unattended.msfn.org/unattended.xp/user/profile/52266/)Microsoft Java Virtual Machine 3809 (http://unattended.msfn.org/unattended.xp/view/switch/46/)bart of borg (http://unattended.msfn.org/unattended.xp/user/profile/7393/)MicrosoftActiveSync (http://unattended.msfn.org/unattended.xp/view/switch/107/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/0/)mIRC (http://unattended.msfn.org/unattended.xp/view/switch/17/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)MIT Kerberos For Windows (http://unattended.msfn.org/unattended.xp/view/switch/76/)integer (http://unattended.msfn.org/unattended.xp/user/profile/8194/)MixTex Basic (http://unattended.msfn.org/unattended.xp/view/switch/72/)vampus8 (http://unattended.msfn.org/unattended.xp/user/profile/99628/)MoonStar Turkce Dil Kilavuzu (http://unattended.msfn.org/unattended.xp/view/switch/112/)BoraKA (http://unattended.msfn.org/unattended.xp/user/profile/143523/)Mozilla 1.7.x (http://unattended.msfn.org/unattended.xp/view/switch/50/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Mozilla Firefox (http://unattended.msfn.org/unattended.xp/view/switch/37/)Martijn (http://unattended.msfn.org/unattended.xp/user/profile/25648/)Mozilla Firefox (http://unattended.msfn.org/unattended.xp/view/switch/51/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Mozilla Firefox 2.0 (http://unattended.msfn.org/unattended.xp/view/switch/97/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/112969/)Mozilla SeaMonkey (http://unattended.msfn.org/unattended.xp/view/switch/62/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Mozilla Thunderbird (http://unattended.msfn.org/unattended.xp/view/switch/52/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)MSN Messenger (http://unattended.msfn.org/unattended.xp/view/switch/20/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Nero 7.5.1.1 (http://unattended.msfn.org/unattended.xp/view/switch/93/)Beresford (http://unattended.msfn.org/unattended.xp/user/profile/60459/)Nero Burning ROM 6.x (http://unattended.msfn.org/unattended.xp/view/switch/22/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Netscape (http://unattended.msfn.org/unattended.xp/view/switch/53/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Norton Antivirus 2003 (http://unattended.msfn.org/unattended.xp/view/switch/21/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Norton SystemWorks 2005 (http://unattended.msfn.org/unattended.xp/view/switch/40/)gosherm (http://unattended.msfn.org/unattended.xp/user/profile/21244/)O&O Defrag Professional (http://unattended.msfn.org/unattended.xp/view/switch/24/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Office 2003 (non-Administrative install) (http://unattended.msfn.org/unattended.xp/view/switch/39/)gosherm (http://unattended.msfn.org/unattended.xp/user/profile/92828/)Opera 9.00.8502 (http://unattended.msfn.org/unattended.xp/view/switch/83/)soporific (http://unattended.msfn.org/unattended.xp/user/profile/60134/)Peek Shell Extension (http://unattended.msfn.org/unattended.xp/view/switch/64/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)PeerGuardian 2 (http://unattended.msfn.org/unattended.xp/view/switch/89/)PaulIA (http://unattended.msfn.org/unattended.xp/user/profile/106321/)Perfect Disk 8 (Raxco) (http://unattended.msfn.org/unattended.xp/view/switch/109/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/0/)QuickTime 6 (http://unattended.msfn.org/unattended.xp/view/switch/63/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Quicktime 7 (http://unattended.msfn.org/unattended.xp/view/switch/59/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/92828/)Quicktime Alternative (http://unattended.msfn.org/unattended.xp/view/switch/48/)Eagle117 (http://unattended.msfn.org/unattended.xp/user/profile/48827/)Realplayer Alternative (http://unattended.msfn.org/unattended.xp/view/switch/47/)Eagle117 (http://unattended.msfn.org/unattended.xp/user/profile/48827/)Shareaza (http://unattended.msfn.org/unattended.xp/view/switch/33/)Martijn (http://unattended.msfn.org/unattended.xp/user/profile/25648/)Shockwave (Adobe Version) (http://unattended.msfn.org/unattended.xp/view/switch/114/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Silverlight 2.0 (http://unattended.msfn.org/unattended.xp/view/switch/121/)maxvre (http://unattended.msfn.org/unattended.xp/user/profile/234418/)SiSoft Sandra Lite 2005.SR3 (http://unattended.msfn.org/unattended.xp/view/switch/86/)soporific (http://unattended.msfn.org/unattended.xp/user/profile/60134/)Skype 2.5 (http://unattended.msfn.org/unattended.xp/view/switch/84/)soporific (http://unattended.msfn.org/unattended.xp/user/profile/60134/)SmartFTP (http://unattended.msfn.org/unattended.xp/view/switch/54/)ender341 (http://unattended.msfn.org/unattended.xp/user/profile/41277/)Spybot - Search & Destroy + update (http://unattended.msfn.org/unattended.xp/view/switch/101/)alex66 (http://unattended.msfn.org/unattended.xp/user/profile/104418/)Sun Java VM (http://unattended.msfn.org/unattended.xp/view/switch/27/)Axed (http://unattended.msfn.org/unattended.xp/user/profile/59236/)Symantec Antivirus Corporate (http://unattended.msfn.org/unattended.xp/view/switch/26/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)System Mechanic Pro 6 (http://unattended.msfn.org/unattended.xp/view/switch/73/)WebMadman (http://unattended.msfn.org/unattended.xp/user/profile/99848/)TightVNC (http://unattended.msfn.org/unattended.xp/view/switch/66/)rendrag (http://unattended.msfn.org/unattended.xp/user/profile/35042/)TuneUp Utilities 2009 8.0.2000 (http://unattended.msfn.org/unattended.xp/view/switch/123/)avechuche (http://unattended.msfn.org/unattended.xp/user/profile/235307/)Ultraiso 9.3.3.2685 (http://unattended.msfn.org/unattended.xp/view/switch/122/)avechuche (http://unattended.msfn.org/unattended.xp/user/profile/235307/)VLC Media Player (http://unattended.msfn.org/unattended.xp/view/switch/116/)CyberWarrior (http://unattended.msfn.org/unattended.xp/user/profile/62942/)VLC media player (initially VideoLAN Client) (http://unattended.msfn.org/unattended.xp/view/switch/80/)integer (http://unattended.msfn.org/unattended.xp/user/profile/8194/)VMWare Workstation 5.5 (http://unattended.msfn.org/unattended.xp/view/switch/90/)PaulIA (http://unattended.msfn.org/unattended.xp/user/profile/106321/)WebShots (http://unattended.msfn.org/unattended.xp/view/switch/87/)Lord Wolf (http://unattended.msfn.org/unattended.xp/user/profile/105809/)Where Is It? (http://unattended.msfn.org/unattended.xp/view/switch/69/)Ryaren (http://unattended.msfn.org/unattended.xp/user/profile/95689/)Winamp 5.24 (http://unattended.msfn.org/unattended.xp/view/switch/94/)Beresford (http://unattended.msfn.org/unattended.xp/user/profile/110870/)Winamp 5.xx (http://unattended.msfn.org/unattended.xp/view/switch/95/)Evo_Coder (http://unattended.msfn.org/unattended.xp/user/profile/112207/)Windows Live Messenger 8 (http://unattended.msfn.org/unattended.xp/view/switch/108/)CrazyCanuck,Eh? (http://unattended.msfn.org/unattended.xp/user/profile/129047/)Windows Live Messenger 8.5 Beta (http://unattended.msfn.org/unattended.xp/view/switch/111/)BoraKA (http://unattended.msfn.org/unattended.xp/user/profile/143523/)Windows Media Player 10 (http://unattended.msfn.org/unattended.xp/view/switch/15/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/58300/)Windows Media Player 9 (http://unattended.msfn.org/unattended.xp/view/switch/16/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Windows Messenger (http://unattended.msfn.org/unattended.xp/view/switch/28/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)Windows Movie Maker 2 (http://unattended.msfn.org/unattended.xp/view/switch/18/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/0/)Windows XP Powertoys (http://unattended.msfn.org/unattended.xp/view/switch/25/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/92828/)WinRAR (http://unattended.msfn.org/unattended.xp/view/switch/29/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)WinUHA Switch (http://unattended.msfn.org/unattended.xp/view/switch/58/)kamran (http://unattended.msfn.org/unattended.xp/user/profile/87025/)WinZip 10.0 (http://unattended.msfn.org/unattended.xp/view/switch/43/)bart of borg (http://unattended.msfn.org/unattended.xp/user/profile/28534/)X-Win32 7.1 (http://unattended.msfn.org/unattended.xp/view/switch/71/)vampus8 (http://unattended.msfn.org/unattended.xp/user/profile/99628/)XP Codec Pack 2.0.7.1 (http://unattended.msfn.org/unattended.xp/view/switch/106/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/0/)XPize (http://unattended.msfn.org/unattended.xp/view/switch/36/)Martin L (http://unattended.msfn.org/unattended.xp/user/profile/92828/)Yahoo Messenger 7 (http://unattended.msfn.org/unattended.xp/view/switch/61/)slimzky (http://unattended.msfn.org/unattended.xp/user/profile/92828/)ZoneAlarm all Products (http://unattended.msfn.org/unattended.xp/view/switch/70/)T D (http://unattended.msfn.org/unattended.xp/user/profile/92828/)ZoneAlarm Free (http://unattended.msfn.org/unattended.xp/view/switch/30/)Alanoll (http://unattended.msfn.org/unattended.xp/user/profile/7393/)µTorrent (http://unattended.msfn.org/unattended.xp/view/switch/92/)Beresford (http://unattended.msfn.org/unattended.xp/user/profile/110870/)
Office XP Introduction
Submitted by Alanoll
Got a DVD Recorder? You'll need it if you want to bundle Office XP with Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/47/#) XP, due to its large size. If not, you could use a 2nd CD for Office XP, and instruct the batch file on the Windows CD to ask you to insert the 2nd CD and then run the Office XP installation. You can follow this guide (http://www.msfn.org/board/index.php?showtopic=8381) on the MSFN Forums for the how-to. Alternatively, you could SFX archive all the Office XP files (with WinRAR) and hopefully it will fit on your Windows XPhttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/47/#) CD.
This guide will show you how to run a silent unattended installation of Office XP. The Simple method will just run a silent install from an existing Office XP CD, and installs the full default components. If you feel like going advanced you can include all the updates to Office XP, and fully customize your installation options (yes, you even get to have control over what shortcuts to install, and whether or not to install that annoying Office Assistant!)
The Advanced method also doubles up as a slipstreaming guide, which will show you how to slipstream Service Pack 2, and the post-SP2 updates.
Office XP Simple (http://unattended.msfn.org/unattended.xp/view/web/44/) | Office XP Advanced (http://unattended.msfn.org/unattended.xp/view/web/45/)
Office XP Simple Installation
Submitted by Alanoll
Grab your Office XP disc and copy the contents of it to: C:\XPCD\$OEM$\$1\install\Applications\OfficeXP\
http://www.atyafonline.com/vb/imgcache/1583.png
The number of files may vary for different Office XP Editions, don't worry if its not the same as in the screenshot above. Although I know for a fact that PROPLUS.msi is Office XP Professional with Frontpage, and PRO.msi is just Office XP Professional, just to clear things up. :-)
Add these lines to your batch file:
ECHO.ECHO Installing Office XP Professional with FrontpageECHO Please wait...start /wait %systemdrive%\install\Applications\OfficeXP\PROPLU S.msi /QB
This will install the default components for Office XP; which are Access, Excel, Frontpage, Outlook, Powerpoint, and Word. You may want to do the Advanced version (http://unattended.msfn.org/unattended.xp/view/web/45/) if you want full control over your Office XP Installation.
Office XP Advanced Installation
Submitted by Alanoll
In here, we'll show you how you can slipstream Service Pack 2 and the Post-SP2 updates to Office XP, then show you how to customize your Office XP installation. If you already have a slipstreamed up-to-date Office XP CD you may want to skip to Section 3 (http://unattended.msfn.org/unattended.xp/view/web/45/#part3). Please note that you can only do a slipstream if you have PRO.msi or PROPLUS.msi, you cannot slipstream if your Office XP disc contains PRORET.msi.
» Section 1 - The Administrative Installation Point
First, we need to create an Administrative Installation Point so we can be able to slipstream the Service Pack and Updates into Office XP.
Insert your Office XP CD, and run the following command from the Run box which can be accessed from the Start Menu (Change the CD-ROM drive letter to your Office XP CD if it differs from E:\):
http://www.atyafonline.com/vb/imgcache/1584.png
This starts Office XP Setup, where you can define an Administrative Installation Point for your Office XP files.
http://www.atyafonline.com/vb/imgcache/1585.png
From here, you can fill in the Organization Name and your Product Key (this is also the last time you will ever need to insert your Office XP Product key!).
Set the Install Location to: C:\XPCD\$OEM$\$1\install\Applications\OfficeXP\
(Create the folders beforehand if you haven't done so already)
After clicking on Next, accept the EULA and then the installation will start. Since we executed Setup with the /a parameter its only copying files to the Install Location you specified to create an Administrative Installation Point, not installing Office to the system.
http://www.atyafonline.com/vb/imgcache/1586.png
Once finished, click OK as shown above. Your Office XP files should all be in the folder specified during setup:
http://www.atyafonline.com/vb/imgcache/1583.png
» Section 2 - The Slipstreaming Process
We now need to download Office XP Service Pack 2 Administrative (which already contains Service Pack 1). And not forgetting the 6 post-SP2 updates that were available at the time of writing, the list is shown in full:
Office XP SP2 Administrative (http://download.microsoft.com/download/officexpstandard/sp/oxpsp2/w98nt42kmexp/en-us/oxpsp2a.exe)
Word 2002 Administrative Update (http://download.microsoft.com/download/B/2/4/B24B3867-2B5B-44D0-A841-F277FD6C41B6/officexp-kb824934-fullfile-enu.exe) (Q824934)
Excel 2002 Administrative Update (http://download.microsoft.com/download/Excel2002/patch/exc1003/w98nt42kmexp/en-us/exc1003a.exe) (Q329750)
Outlook 2002 Administrative Update (http://download.microsoft.com/download/0/3/d/03dcc183-a46e-4c22-9fbd-1fcb32f0fd91/Olk1006a.exe) (Q812262)
Office XP Security Patch (http://download.microsoft.com/download/6/7/5/67570E80-E423-4F17-B57E-8CBFB517B832/OfficeXP-KB822036-FullFile-ENU.exe) (Q822036)
Office XP WordPerfect 5.x Converter Security Patch (http://download.microsoft.com/download/7/9/3/7938238c-f0f5-44b5-986d-0252650c537c/officexp-kb824938-fullfile-enu.exe) (Q824938)
Access 2002 Snapshot Viewer Security Patch (http://download.microsoft.com/download/2/2/3/223b52aa-0143-4a71-aaf2-ca097a1d2431/officexp-kb826293-fullfile-enu.exe) (Q826293)
As the above listing may be out of date, you may want to check this page (http://www.microsoft.com/office/ork/2003/admin/xp/default.htm) for any updates. The best way to get an up-to-date listing of patches is to install Office XP with SP2, then go to Office Update and take note of all the Knowledge Base Article numbers. Look them up and make sure that you download "Administrative" Updates, not "Client".
Create a folder in the root of the C:\ drive and name it "OXPupdates". Place all the downloaded files into the folder you created:
http://www.atyafonline.com/vb/imgcache/1587.png
If you've got WinRAR installed, you can easily extract each file you downloaded. If not, run the following commands to extract them in Command Prompt:
oxpsp2a.exe /Q /C /T:C:\OXPupdatesofficexp-kb824934-fullfile-enu.exe /Q /C /T:C:\OXPupdatesexc1003a.exe /Q /C /T:C:\OXPupdatesOlk1006a.exe /Q /C /T:C:\OXPupdatesOfficeXP-KB822036-FullFile-ENU.exe /Q /C /T:C:\OXPupdatesofficexp-kb824938-fullfile-enu.exe /Q /C /T:C:\OXPupdates officexp-kb826293-fullfile-enu.exe /Q /C /T:C:\OXPupdates
http://www.atyafonline.com/vb/imgcache/1588.png
Or, you can download the Extract_Updates.cmd (http://unattended.msfn.org/files/intermediate/Extract_Updates.cmd) batch which will perform all the extraction commands automatically for you. Place this file in the same folder where the updates reside in. If there is a newer update available that's not shown in the download list above, you made need to edit the batch file to add the new update and the switches.
Once that's done, you should have about 8 files extracted. You can delete your downloaded files, or move them to another location for backup purposes. Here's how it should look:
http://www.atyafonline.com/vb/imgcache/1589.png
You are now ready to slipstream the updates! If you want, you can use the Office XP Slipstreamer which we've made so you don't have to type out all the necessary commands to slipstream each file. Please note the following - This batch file assumes you have the Office XP setup files situated at C:\XPCD\$OEM$\$1\install\Applications\OfficeXP\ and the extracted updates at C:\OXPupdates\
If they differ, please do not use the Office XP Slipstreamer (Or, if you want, you can correct the directory paths in the batch file using Notepad).
Download: Office XP Slipstreamer (http://unattended.msfn.org/files/intermediate/OfficeXP_Slipstreamer.cmd)
All you have to do is execute the batch file from wherever you like and leave it to do the rest!
For those who wish to manually slipstream the updates, below are the following commands you should run from Command Prompt, in this order only:
msiexec /p C:\OXPupdates\MAINSP2ff.msp /a C:\XPCD\$\$1\install\Applications\OfficeXP\proplus .msi SHORTFILENAMES=TRUE /qbmsiexec /p C:\OXPupdates\Owc10SP2ff.msp /a C:\XPCD\$\$1\install\Applications\OfficeXP\OWC10.M SI SHORTFILENAMES=TRUE /qbmsiexec /p C:\OXPupdates\WINWORDff.msp /a C:\XPCD\$\$1\install\Applications\OfficeXP\proplus .msi SHORTFILENAMES=TRUE /qbmsiexec /p C:\OXPupdates\EXCELff.msp /a C:\XPCD\$\$1\install\Applications\OfficeXP\proplus .msi SHORTFILENAMES=TRUE /qbmsiexec /p C:\OXPupdates\OUTLOOKff.msp /a C:\XPCD\$\$1\install\Applications\OfficeXP\proplus .msi SHORTFILENAMES=TRUE /qbmsiexec /p C:\OXPupdates\VBE6ff.msp /a C:\XPCD\$\$1\install\Applications\OfficeXP\proplus .msi SHORTFILENAMES=TRUE /qbmsiexec /p C:\OXPupdates\MSCONVff.msp /a C:\XPCD\$\$1\install\Applications\OfficeXP\proplus .msi SHORTFILENAMES=TRUE /qbmsiexec /p C:\OXPupdates\SNAPVIEWff.msp /a C:\XPCD\$\$1\install\Applications\OfficeXP\proplus .msi SHORTFILENAMES=TRUE /qb
After that's all done, you have a fully up-to-date Office XP distribution. At this stage you can choose to burn the contents of C:\XPCD\$OEM$\$1\install\Applications\OfficeXP to a CD-R and keep it away for storage if you need it in future.
You will also be able to slipstream another Post-SP2 update if one becomes available using the instructions we've showed you in this guide without making another Administrative Installation Point because it only needs to be done once.
» Section 3 - The Custom Installation Wizard
Note: If you were brought here from the link at the top of the page, please copy the contents of your Office XP disc to: C:\XPCD\$OEM$\$1\install\Applications\OfficeXP\ now. (make sure you enable showing of Hidden files and folders via Folder Options so the CAB files are copied as well)
Download: Office XP Resource Kit Tools (http://download.microsoft.com/download/OfficeXPProf/Install/10.0.4601.0/W982KMeXP/EN-US/orktools.exe)
Execute orktools.exe to install the Office XP Resource Kit Tools. Go to Start > Programs > Microsoft Office Tools > Microsoft Office XP Resource Kit Tools and select Custom Installation Wizard.
You'll be presented with the first screen of 22 to go through. It won't take as long as you think, because most of these options can be skipped:
http://www.atyafonline.com/vb/imgcache/1590.png
In step 2, choose the MSI file in your OfficeXP folder. That would be PROPLUS.msi for OfficeXP Professional with Frontpage (and PRO.msi without Frontpage)
http://www.atyafonline.com/vb/imgcache/1591.png
Step 3: Create a new MST file
Step 4: Name it Unattended.MST in C:\XPCD\$OEM$\$1\install\Applications\OfficeXP\
Step 5: Leave Alone, unless you want to specify a different destination directory to install Office XP into.
Step 6: If you are running a clean installation (which this Unattended Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/45/#) XP CD Guide aims at) then choose Default Setup Behavior. Otherwise choose the previous versions of Office Applications you want removed on the destination PC.
In Step 7 you can choose the features and components you want to install. All of them are at default settings so change them to what you want and don't want:
http://www.atyafonline.com/vb/imgcache/1592.png
Once you've finished here, carry on to the next step.
Step 8: Leave Alone
Step 9: Similar to Group Policy, you can set the preferences of your Office Applications from here.
Steps 10, 11: Leave Alone
In Step 12 you can customize the shortcuts that will be installed to the Start Menu:
http://www.atyafonline.com/vb/imgcache/1593.png
Steps 13-15: Leave Alone
Steps 16-20: You can choose to customize your Outlook profile in these steps.
Step 21: Leave Alone
Step 22: Click on Finish
At the end, you are shown your command line to run:
http://www.atyafonline.com/vb/imgcache/1594.png
This command will perform a silent installation of Office XP using the Unattended.MST file you created in the Custom Installation Wizard to set your customized options. But we don't want to use the exact command shown above as this wouldn't exist when installing from a CD, so change:
TRANSFORMS=C:\XPCD\$\$1\install\Applications\Offic eXP\Unattended.MST /qb-
to...
TRANSFORMS=Unattended.MST /qb-
» Section 4 - The Office XP Batch Command
As you read at the end of Section 3, we needed to change the path in the TRANSFORM syntax in order for it to function. Below are the full batch commands you can use, so add these lines to your batch file:
ECHO.ECHO Installing Office XP Professional with FrontpageECHO Please wait...start /wait %systemdrive%\install\Applications\OfficeXP\setup. exe TRANSFORMS=Unattended.MST /qb-
That's it!
Office 2003 Introduction
Submitted by Alanoll
Got a DVD Writer? You'll need it if you want to bundle Office 2003 with Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/46/#) XP, due to its large size. If not, you could use a 2nd CD for Office 2003, and instruct the batch file on the Windows CD to ask you to insert the 2nd CD and then run the Office 2003 installation. You can follow this guide (http://www.msfn.org/board/index.php?showtopic=8381) or this guide (http://www.msfn.org/board/index.php?showtopic=25110) on the MSFN Forums for the how-to.
Alternatively, you could SFX archive all the Office 2003 files with WinRAR and hopefully it will fit on your Windows XPhttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/46/#) CD. (I managed to get Office 2003 CD1 compressed to 259 MB using WinRAR SFX with Solid Archive selected)
This guide will show you how to run a silent unattended installation of Office 2003. The Simple method will just run a silent install from an existing Office 2003 CD, and installs the full default components. The Advanced method will show you how to fully customize your installation options (you even get to have control over what shortcuts to install, and whether or not to install that annoying Office Assistant!)
Office 2003 Slipstreaming (http://unattended.msfn.org/unattended.xp/view/web/48/) | Office 2003 Simple (http://unattended.msfn.org/unattended.xp/view/web/49/) | Office 2003 Advanced (http://unattended.msfn.org/unattended.xp/view/web/50/)
Office 2003 Slipstreaming
Submitted by Alanoll
This page will outline instructions for slipstreaming Service Packs and Updates into Office 2003.
» Section 1 - Creating an Administrative Installation Point
From the Office Resource Kit site: Only editions of Office 2003 acquired through a Volume License agreement or other non-retail channel allow you to create an administrative installation point. You cannot run Setup.exe in administrative mode ( /a ) with an Office 2003 retail edition. If you cannot make an Administrative Installation Point, you will not be able to slipstream the latest updates into it.
First, we'll need to create an Administrative Installation Point so we can be able to slipstream the updates into Office 2003 (You cannot just do a direct copy from CD to the Hard disk and hope that it will work. It won't.). This only has to be done once, and updates can still be slipstreamed to an existing Administrative Installation Point at a later date.
Insert your Office 2003 CD, and run the following command from the Run box which can be accessed from the Start Menu (Change the CD-ROM drive letter to your Office 2003 CD if it differs from E:\):
http://www.atyafonline.com/vb/imgcache/1584.png
This starts Office 2003 Setup, where you can define an Administrative Installation Point for your Office 2003 files.
http://www.atyafonline.com/vb/imgcache/1595.png
From here, you can fill in the Organization Name and your Product Key (this is also the last time you will ever need to insert your Office 2003 Product key!).
Set the Install Location to: C:\Office2003\
(Create the folders beforehand if you haven't done so already)
After clicking on Next, accept the EULA and then the installation will start. Since we executed Setup with the /a switch, its only copying files to the Install Location you specified to create an Administrative Installation Point, not installing Office to the system.
http://www.atyafonline.com/vb/imgcache/1596.png
Once finished, click OK as shown above. Your Office 2003 files should all be in the folder specified during setup:
http://www.atyafonline.com/vb/imgcache/1597.png
» Section 2 - The Slipstreaming Process
Slipstreaming the Service Pack into Office 2003 CD1 (Click here for CDs 2 to 5)
Download: Office 2003 Service Pack 3 Administrative Update (http://www.microsoft.com/downloads/details.aspx?FamilyId=E25B7049-3E13-433B-B9D2-5E3C1132F206&displaylang=en)
Run the following syntax on the downloaded file (using command prompt or the Start > Run box):
Office2003SP3-KB923618-FullFile-ENU.exe /Q /C /T:C:\SP3
This will extract the Office 2003 SP3 files to C:\SP3\
http://www.atyafonline.com/vb/imgcache/1598.png
Then run both of these commands in the Command Prompt:
msiexec /p C:\SP3\MAINSP3.msp /a C:\Office2003\PRO11.msi SHORTFILENAMES=TRUE /qbmsiexec /p C:\SP3\OWC11SP3.msp /a C:\Office2003\OWC11.MSI SHORTFILENAMES=TRUE /qb
Note: If you have STD11.msi instead of PRO11.msi in the Office2003 folder, edit the msiexec syntax accordingly. (Thanks to StueyB for letting us know!)
After this is done, the Service Pack has been slipstreamed into your Office 2003 Administrative Installation Point. You can now delete the C:\SP3\ folder.
If there are updates available, you may also want to slipstream them too, so read on below.
Slipstreaming Updates
We now need to download the latest Office 2003 updates. The best way to get an up-to-date listing of patches is to install Office 2003 (with SP3), then go to Office Update and take note of all the Knowledge Base Article numbers. Look them up and make sure that you download the "Administrative" Updates, not "Client".
You can also check this page (http://www.microsoft.com/office/ork/2003/admin/default.htm) for any updates, but don't expect it to be accurate.
Create a folder in the root of the C:\ drive and name it "O2003updates". Place all the downloaded updates into the folder you created:
http://www.atyafonline.com/vb/imgcache/1599.png
Example shown in image may not depict the actual updates you've downloaded.
If you've got WinRAR installed, you can easily extract each file you downloaded. If not, run the following command in Command Prompt to extract them all (make sure you've switched to the C:\O2003updates folder):
FOR %f IN (*.exe) DO %f /Q /C /T:C:\O2003updates
http://www.atyafonline.com/vb/imgcache/1600.png
Or, you can download the Extract_Updates.cmd (http://unattended.msfn.org/files/intermediate/Extract_Updates.cmd) batch which will perform all the extraction commands automatically for you. Place this file in the same folder where the updates reside in (C:\O2003updates\). The batch file will most likely not need to be re-edited when a new Office 2003 update is released, because it processes all *.exe files in the folder.
Once that's done, you should have a couple of *.msp files extracted. You can delete your downloaded *.exe files, or move them to another location for backup purposes. Here's how it should eventually look:
http://www.atyafonline.com/vb/imgcache/1601.png
Example shown in image may not depict the actual updates you've extracted.
You are now ready to slipstream the updates!
If you want, you can use the Office 2003 Updates Slipstreamer which we've made so you don't have to type out all the necessary commands to slipstream each file. This batch file assumes you have the Office 2003 setup files located at C:\XPCD\$OEM$\$1\install\Applications\Office2003\. If this differs, please do not use the Office 2003 Slipstreamer (however, it is up to you to edit the batch file in Notepad to make the necessary changes if you want to use this).
Download: Office 2003 Slipstreamer (http://unattended.msfn.org/files/intermediate/Office2003_Slipstreamer.cmd). All you have to do is execute the batch file from C:\O2003updates\ and leave it to do the rest!
For those who want to manually slipstream the updates, below are the following commands you should run from Command Prompt:
cd C:\O2003updatesFOR %f IN (*.msp) DO msiexec /p %f /a C:\Office2003\pro11.msi SHORTFILENAMES=TRUE /qb
Note: Again, if you have STD11.msi instead of PRO11.msi in the Office2003 folder, edit the syntax accordingly. (Thanks to StueyB for letting us know!)
After that's all done, you have a fully up-to-date Office 2003 distribution. At this point you can choose to burn the contents of C:\Office2003 to a CD-R and keep it in storage if you need it in future.
You will also be able to slipstream another update if one becomes available using the instructions we've showed you in this guide without making another Administrative Installation Point, because it only needs to be done once.
» Section 3 - Slipstreaming Service Pack 2 to other Office 2003 CDs
You will also need to make an Administrative Installation Point for each CD you want to slipstream SP2 to (refer to Section 1 for the how-to). Make the following locations for the Admin Point at:
CD2 = C:\Frontpage2003\
CD3 = C:\Visio2003\
CD4 = C:\Project2003\
CD5 = C:\OneNote2003\
The instructions below are kept minimal as they are done the same way for Office 2003 CD1. For an indepth guide, refer to Section 2 and adapt to it:
Frontpage 2003
Download: Office 2003 Service Pack 2 Administrative Update (http://download.microsoft.com/download/9/b/3/9b37f157-123d-41fd-a3f4-f4aedd0cc847/Office2003SP2-KB887616-FullFile-ENU.exe)(You already have this if you slipstreamed CD1)
Run: Office2003SP2-KB887616-FullFile-ENU.exe /Q /C /T:C:\Frontpage2003SP2
Slipstream:
msiexec /p C:\Frontpage2003SP2\MAINSP2ff.msp /a C:\Frontpage2003\FP11.MSI SHORTFILENAMES=TRUE /qbmsiexec /p C:\Frontpage2003SP2\OWC11SP2ff.msp /a C:\Frontpage2003\OWC11.MSI SHORTFILENAMES=TRUE /qb
Visio 2003
Download: Visio 2003 Service Pack 2 Administrative Update (http://download.microsoft.com/download/c/3/b/c3bba24f-dc1d-426d-aba6-5f71dcfd8a8f/Visio2003SP2-KB887622-FullFile-ENU.exe)
Run: Visio2003SP2-KB887622-FullFile-ENU.exe /Q /C /T:C:\Visio2003SP2
Slipstream:
msiexec /p C:\Visio2003SP2\VISIOSP2.MSP /a C:\Visio2003\VISPRO.MSI SHORTFILENAMES=TRUE /qb
Project 2003
Download: Project 2003 Service Pack 2 Administrative Update (http://download.microsoft.com/download/1/e/e/1ee9493d-883c-420f-9013-b7cf2078e9c5/Project2003SP2-KB887620-FullFile-ENU.exe)
Run: Project2003SP2-KB887620-FullFile-ENU.exe /Q /C /T:C:\Project2003SP2
Slipstream:
msiexec /p C:\Project2003SP2\PROJECTSP2.msp /a C:\Project2003\PRJPROE.MSI SHORTFILENAMES=TRUE /qb
One Note 2003
Download: One Note 2003 Service Pack 2 Administrative Update (http://download.microsoft.com/download/0/1/2/012feb2a-003d-48a3-9631-657904f58b08/OneNote2003SP2-KB887619-FullFile-ENU.exe)
Run: OneNote2003SP2-KB887619-FullFile-ENU.exe /Q /C /T:C:\OneNote2003SP2
Slipstream:
msiexec /p C:\OneNote2003SP2\ONENOTESP2.msp /a C:\OneNote2003\ONOTE11.MSI SHORTFILENAMES=TRUE /qb
Office 2003 Proofing Tools
Download Office2003 Proofing Tools Service Pack 2 (http://download.microsoft.com/download/a/a/4/aa4fae2a-c8d8-4718-b8fd-d6e2ea136376/PTK2003SP2-KB887618-FullFile-ENU.exe)
Run:
PTK2003SP2-KB887618-FullFile-ENU.exe /Q /C /T:C:\Office2003PTSP2
Slipstream:
msiexec /p C:\Office2003PTSP2\2003PTKSP2ff.msp /a C:\Office2003PT\PTK.MSI SHORTFILENAMES=TRUE /qb
Office 2003 Simple Installation
Submitted by Alanoll
Grab your Office 2003 disc and copy the contents of it to: C:\XPCD\$OEM$\$1\install\Applications\Office2003\
http://www.atyafonline.com/vb/imgcache/1602.png
The number of files may vary for different Office 2003 Editions, don't worry if its not the same as in the screenshot above.
Add these lines to your batch file:
ECHO.ECHO Installing Office 2003ECHO Please wait...start /wait %systemdrive%\install\Applications\Office2003\PRO1 1.msi /QB
This will install the default components for Office 2003; which are Access, Excel, Frontpage, Outlook, Powerpoint, Publisher, Infopath and Word. You may want to do the Advanced version (http://unattended.msfn.org/unattended.xp/view/web/50/) if you want full control over your Office 2003 Installation.
Office 2003 Advanced Installation
Submitted by Alanoll
In this guide, we'll show you how to customize your Office 2003 installation with the Custom Installation Wizard.
» Section 1 - The Custom Installation Wizard
Copy the contents of your Office 2003 disc to: C:\XPCD\$OEM$\$1\install\Applications\Office2003\
Make sure you enable showing of Hidden files and folders via the Folder Options so the CAB files are copied as well (this does not apply to Administrative Installation Points)
Download: Office 2003 Resource Kit Tools (http://download.microsoft.com/download/0/e/d/0eda9ae6-f5c9-44be-98c7-ccc3016a296a/ork.exe)
Execute ork.exe to install the Office 2003 Resource Kit Tools. Go to Start > Programs > Microsoft Office Tools > Microsoft Office 2003 Resource Kit Tools and select Custom Installation Wizard.
You'll be presented with the first screen of 22 to go through. It won't take too long to go through, because most of these options can be skipped:
http://www.atyafonline.com/vb/imgcache/1603.png (http://unattended.msfn.org/unattended.xp/image/view/105/)
In step 2, choose the MSI file in your Office2003 folder. That would be PROPLUS.msi for Office2003 Professional with Frontpage (and PRO.msi without Frontpage)
http://www.atyafonline.com/vb/imgcache/1604.png (http://unattended.msfn.org/unattended.xp/image/view/101/)
Step 3: Create a new MST file
Step 4: Name it Unattended.MST in C:\XPCD\$OEM$\$1\install\Applications\Office2003\
Step 5: Leave Alone, unless you want to specify a different destination directory to install Office 2003 into.
Go through the rest of the steps to customize your Office 2003 installation, and skip sections that you don't understand.
At the end, you are shown your command line to run:
http://www.atyafonline.com/vb/imgcache/1605.png (http://unattended.msfn.org/unattended.xp/image/view/107/)
This command will perform a silent installation of Office 2003 using the Unattended.MST file you created in the Custom Installation Wizard to set your customized options. But we don't want to use the exact command shown above as this wouldn't exist when installing from a CD, so we will need to change this when we add it to a batch file:
TRANSFORMS=C:\XPCD\$\$1\install\Applications\Offic e2003\Unattended.MST /qb-
changed to...
TRANSFORMS=Unattended.MST /qb-
» Section 2 - The Office 2003 Batch Command
As you read at the end of the last section, we needed to change the path in the TRANSFORM syntax in order for it to work. Below are the full batch commands you can use, so add these lines to your batch file:
ECHO.ECHO Installing Office 2003 ProfessionalECHO Please wait...start /wait %systemdrive%\install\Applications\Office2003\setu p.exe TRANSFORMS=Unattended.MST /qb-
That's it!
Inno Setup
Submitted by Alanoll
» How do I find out if a setup package is made by Inno Setup?
The first window that appears is usually the one shown above on this page, followed by the window shown below (click on the icon in the top-left to get a drop-down menu and click on About Setup)
http://www.atyafonline.com/vb/imgcache/1606.png (http://unattended.msfn.org/unattended.xp/image/view/76/)
The following programs can be used to determine type of installer and the command line options.
USSF (http://www.msfn.org/board/index.php?showtopic=17940)
CMenu (http://www.msfn.org/board/index.php?showtopic=47645&hl=cmenu)
» Switches
Applications packaged with Inno Setup supports the /SILENT and /VERYSILENT switches. /SILENT only displays a progress bar while /VERYSILENT doesn't display anything at all.
setup.exe /VERYSILENT
You might get this dialog window asking if you want to continue installation:
http://www.atyafonline.com/vb/imgcache/1607.png
We can simply get around that using the following switch instead:
setup.exe /VERYSILENT /SP-
Some Inno Setup installers will attempt to open the program when setup completes, ISOBuster is one example of doing this. Again, we can simply overcome this by using an in-built utility in Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/39/#) XP known as Taskkill.
Below is an example of code you could use in a batch file to install an application that uses Inno Setup:
ECHO.ECHO Installing ISOBuster 1.4ECHO Please wait...start /wait %systemdrive%\install\Applications\ISOBuster\IsoBu ster14.exe /VERYSILENT /SP-ECHO.ECHO Killing ISOBuster.exe processtaskkill.exe /F /IM isobuster.exeECHO.
This works fine if you will only be installing on Windows XPhttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/39/#) systems as taskkill isn't available in Windows 98 or 2000. For Windows 98 and 2000 users you can download pskill.exe from the Sysinternals (http://www.sysinternals.com/Utilities/PsTools.html) web site and include it in the same folder as Inno setup file. Then replace the taskkill.exe /F /IM isobuster.exe with "%~dp0pskill" isobuster.exe. Note that within a batch file %~dp0 expands to the drive letter and path of the batch file including the trailing backslash and I've included quotes around the command incase there is a space in the path.
Some Inno installers reboot the system. This can be prevented by using the /NORESTART option.
setup.exe /VERYSILENT /SP- /NORESTART
You can change the installation directory using the /DIR switch. Don't forget the hyphens (").
%systemdrive%\install\Applications\ISOBuster\IsoBu ster14.exe /DIR="c:\installation path"
You can find more switches on this GnuWin32 (http://gnuwin32.sourceforge.net/setup.html) page.
» Using INF files to save settings
Inno installer lets the end user saves his installation settings in an inf file and reuse them later.
Use /SAVEINF="filename" and install your application normally.
You can now use the /LOADINF="filename" switch to load installation settings. When /LOADINF is used, Inno installer will check the whole command-line too.
» How do I modify an application built with Inno?
For some Inno applications you will need to rebuild the installer to make it install silently.
The Inno installer is freeware so a user can easily repackage an Inno application if needed. To do this you need Inno Setup Unpacker (http://sourceforge.net/project/showfiles.php?group_id=102423) to extract the files and Inno Setup (http://www.jrsoftware.org/isdl.php) to modify the install script and recompile the application. The documentation is included with the Inno Setup application.
Here is an example: Rebuilding Inno Setups, e.g. SpywareBlaster (http://www.msfn.org/board/index.php?showtopic=17540&st=0)
» How do I install select components and perform certain tasks?
The Inno installer supports the /COMPONENTS and /TASKS command line options which you can use to install a selected group of components and perform (or not perform) selected tasks. To see what is available in the installation package, use the Inno Setup Unpacker (http://sourceforge.net/project/showfiles.php?group_id=102423) with the -m option to extract the setup system hidden files. There will be a file with a .iss extension that will have the data that you will need.
An example command line for spybot162.exe that will install ONLY the components main, language, and skins.
START /WAIT %SOFTWAREDIR%\%NAME%\spybotsd162.exe /components="main,language,skins"
Another example for spybot162.exe that will not create a desktop icon. The ! tells the installer to not perform that task. The same logic holds true for the component list.
START /WAIT %SOFTWAREDIR%\%NAME%\spybotsd162.exe /tasks="!desktopicon"
InstallShield Installers
Submitted by Alanoll
To silently install a package that uses InstallShield, you will have to first create a setup.iss file on a working operating systemhttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/40/#). Use a test PC if you can.
Start the setup application using the -R (case-sensitive) switch from command prompt.
Setup.exe -R
The setup screens will appear as they normally would, asking you questions as you go along, such as destination directory, etc. It's important that you do not choose the "Restart the computer now" option. If you do, you will terminate your batch when you run an unattended installation.
After installation has completed, go to your C:\Windows\ (or C:\WINNT\) directory and take out the setup.iss file. Put this setup.iss file in the same directory where your application setup.exe file resides in.
Start the Silent installation using:
start /wait %systemdrive%\install\Application\Application_name \Setup.exe -s
Repeat the steps for other setup applications that uses InstallShield.
» Installing Installshield Applications from RunOnceEx CD
Installshield applications will fail to install when executed from RunOnceEx on CD, unless a log file location is specified. An example of this is shown below, adapt this example for your InstallShield applications (shown in bold):
REG ADD %KEY%\045 /VE /D "Kerio Personal Firewall 2.1.5" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\apps\KPF\Setup.exe -s -f2\"%systemdrive%\kerio.log\"" /f
You can then delete the kerio.log file afterwards.
» How do I identify an InstallShield package?
Most of them can be extracted. The Properties box of Setup.exe should show something like "InstallShield (R) Setup Launcher" or something similar. And lastly, if you see a setup.iss file in the directory, then its definitely InstallShield!
Nullsoft SuperPiMP Install System (NSIS)
Submitted by Alanoll
Applications packaged with NSIS supports the /S switch for a silent installation (the 'S' is case-sensitive)
Setup.exe /S
You can also use the /D switch to specify a destination drive/directory to install the files into:
Setup.exe /S /D=E:\Software\CDex
If you do, prefer putting /S before /D="path" otherwise installation may not be silent.
Software such as Winamp and CDex show a confirmation that install was successful at the end (CDex), or an "end-of-install" screen where you set file associations and settings (Winamp). I haven't found a way to bypass this yet, but it shouldn't affect the rest of the batch commands in any way.
» How do I find out if a setup package is made by NSIS?
Many NSIS packaged installers show the familiar small window at the center of your screen, such as Winamp and CDex:
http://www.atyafonline.com/vb/imgcache/1608.png (http://unattended.msfn.org/unattended.xp/image/view/78/)
Microsoft Windows Installer
Submitted by Alanoll
You can find out if a setup package uses Windowshttp://www.atyafonline.com/vb/imgcache/1576.png (http://unattended.msfn.org/unattended.xp/view/web/42/#) Installer by viewing the extension of the file (*.MSI). These files often use the /QB and /QN switch. The powertoys uses the /s /v/qn switch. You will have to try out each of the two to find out which one works.
/qb will show a basic progress bar in a window
/qn will not show anything and installs in the background.
» Preventing Applications from Rebooting
To prevent some applications from rebooting automatically (Kerio Personal Firewall 4 is one of them) you need to use REBOOT=Suppress alongside the /qn or /qb switch surrounded in quotation marks. Below is an example:
setup.msi "/qn REBOOT=Suppress"
Some setup files uses the /s/v/qn switch, so to prevent reboots use:
setup.exe /s /v"/qn REBOOT=Suppress"
WISE Installer
Submitted by Alanoll
WISE packaged installers use the /s switch to silently install. All you need to use is:
Setup.exe /s
More other switches can be found at WISE's Support Area (http://www.wise.com/displayArticle.asp?articleno=564&bhcp=1)
» How do I find out if a setup package is made by WISE?
Most will display a WISE splash screen when executing the setup file, such as the one below:
http://www.atyafonline.com/vb/imgcache/1609.png
Some of them will maximize the window with a dark-blue background, and position a Setup window in the center.
bahattab
30-04-2009, 01:26 PM
Adding Users
Submitted by Alanoll
Now to add the creation of User Accounts to our CD/DVD's. This can be accomplished in two ways, depending on how you're most comfortable with, and the types of User accounts you wish to have.
There are two methods:
NET USER (http://unattended.msfn.org/unattended.xp/view/web/27/#netuser)
OOBEINFO.INI (http://unattended.msfn.org/unattended.xp/view/web/27/#oobeinfo)
Also included on this page is to allow auto-logon of your created users. Bare in mind that the OOBEINFO.INI Method (http://unattended.msfn.org/unattended.xp/view/web/27/#oobeinfo) does NOT require the registry entry for auto-logon as long as there is only ONE user created.
» OOBEINFO.INI Method
NOTE: This method ONLY works on Windows XP/2003
Basically, what this is going to do is "automate" the user creation screen that you're normally presented when you install Windowshttp://www.atyafonline.com/vb/imgcache/1718.png (http://unattended.msfn.org/unattended.xp/view/web/27/#). It's in the same part of setup where it asks you to register Windows and to set up your internet connection.
Let's get started shall we? First open up Notepad and copy the following and save it as OOBEINFO.INI
[UserInfo]Identity000="NewUser-Admin"Identity001="NewUser-User"
If you don't want two users created, simply delete the second Identity line. If you want another user add another Identity entry and increment the number. But be careful. You can have only 6 users created in this method. Also, Identity000 will be created as an Administrator account while each subsequent one will also be created as an Administrator account.
Once you have finished editing the file, save it in $OEM$\$$\system32\oobe and you're done.
» NET USER Method
This is the original method outlined on the previous rendition of the site. This method however works across all NT platforms and allows you to create as many users as you want in as many types as you want. Hence, this one is more powerful.
Open Notepad, and copy & paste in the following:
[COMMANDS]"useraccounts.cmd"
Save this as cmdlines.txt in the $OEM$\ folder. If you wish to know more about cmdlines.txtcheck the Reference section.
Notice that we are trying to launch useraccounts.cmd from there. Again open Notepad and paste in the following:
net user John asdf1234 /addnet localgroup Administrators John /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXIT
This adds the user John with a password of asdf1234, and adds John to the Administrators Group. net accounts /maxpwage:unlimited makes sure that the account password doesn't expire after 14 days (This is a system-wide setting). Replace with a username and password of your choice and then save this as useraccounts.cmd in the $OEM$ folder.
You may want to take note of one thing: If you want to create a user name that has spacing, for example John Doe, you should surround them with quotes. It would be like so:
net user "John Doe" asdf1234 /add
» Auto-Logon
Next, we want to import the Auto Logon entry into the Registry (This is what the "REGEDIT /S autologon.reg" entry in useraccounts.cmd is for). Open Notepad and paste in the following:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="John""DefaultPassword"="asdf1234""AutoAdminLogon"="1"
Edit your Username & Password, then save this as autologon.reg in the $OEM$\ folder.
By now, you should have all three files in the $OEM$ folder, which are: cmdlines.txt, useraccounts.cmd and autologon.reg
Activating Windows
Submitted by Alanoll
Are you tired of choices yet? Well, too bad, here is another one.
There are currently three ways to activate Windowshttp://www.atyafonline.com/vb/imgcache/1718.png (http://unattended.msfn.org/unattended.xp/view/web/29/#) depending on your version.
Retail Versions can make use of the WINNT.SIF method of activation, or use a backup of their activation file.
OEM Versions can make use of the WINNT.SIF method, a backup of their activation file, or use the originally included activation method.
Then there are Volume License CDs which you must purchase a license for which don't require activation at all.
WINNT.SIF Method (http://unattended.msfn.org/unattended.xp/view/web/29/#winnt)
Backup Activation Method (http://unattended.msfn.org/unattended.xp/view/web/29/#backup)
OEMBIOS.BIN a.k.a. original OEM Activation Method (http://unattended.msfn.org/unattended.xp/view/web/29/#oembios)
» WINNT.SIF Method
This method is quite simple, however you MUST have an ACTIVE internet connection at the time of first login. If you do not have such a connection, then this method will fail and you will have to complete Activation manually.
Add the following line of code to the [Unattend] section of your WINNT.SIF file.
AutoActivate=YES
» Backup Activation Method
To begin this method, you must have access to the system you're planning on activating, and have it already activated. For home users this is simple, as Windows needs to be activate after 30 days, and most likely you're planning on using your CD/DVD on this system.
Once your system is activated, navigate to your system32 directory within your Windows directory, and locate the file WPA.DBL. This is your activation file.
Once you have located the WPA.DBL file, copy it to $OEM$\$$\system32 in your Windows Setup Source. That's it, you're done.
Remember that if you decide to use a virtual machine, that this method will fail, as the virtual system will look different to the OS from your host system.
» OEMBIOS Method
This method requires an existing installation of Windows that has been pre-activated by a Royalty OEM. (If your computer was manufactured by a royalty OEM the COA sticker will have the manufacturer's name or logo.)
Locate on your hard drivehttp://www.atyafonline.com/vb/imgcache/1718.png (http://unattended.msfn.org/unattended.xp/view/web/29/#) the following 4 files:
%SystemRoot%\system32\OEMBIOS.BIN
%SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CAT
%SystemRoot%\system32\OEMBIOS.DAT
%SystemRoot%\system32\OEMBIOS.SIG
Locate these files, and compress them with MAKECAB, then simply copy the compressed versions into the I386 directory in your Windows Setup Source folder on your hard drive.
Registry Tweaks
Submitted by Vadikan
» Introduction
The idea behind importing the registry tweaks during unattended installation is that you won't have to tweak the system manually or with a tweaker afterwards. You will already have all your favorite tweaks imported into the registry upon the first logon. Perhaps, the classic tweak is to speed up the appearance of the Start menu elements, because they are indeed slow to open by default. You probably know, that opening the Registry editor (regedit.exe), navigating to the HKEY_CURRENT_USER\Control Panel\Desktop key and modifying the value of the MenuShowDelay parameter from 400 to, say, 20 does the trick.
http://www.atyafonline.com/vb/imgcache/1719.png
However, there's an alternative way. You can accomplish the same thing, if you copy the code below to a text editor (Notepad)
Windowshttp://www.atyafonline.com/vb/imgcache/1718.png (http://unattended.msfn.org/unattended.xp/view/web/17/#) Registry Editor Version 5.00[HKEY_CURRENT_USER\Control Panel\Desktop] "MenuShowDelay"="20"
save the file as "tweak.reg" (with the quotation marks to avoid the TXT extension) and launch the file. The tweak will be imported after you click Yes on the confirmation prompt.
http://www.atyafonline.com/vb/imgcache/1720.png
If you want to avoid the confirmation prompt, you can execute the following command from the command line
REGEDIT /S <path>\tweak.reg
where <path> is the path to the file unless it is in the same directory you launched the command line from. The /S swtich suppresses the confirmation prompt. Pretty much the same method is used for importing multiple registry tweaks during unattended setup. The only difference is that one can import multiple tweaks with a single *.REG file.
Below you'll find some registry keys and values (tweaks) I always change. Feel free to copy the text to a text editor to see them better. Please, do not attempt to import my registry tweaks into your system. These files are for the reference only. The fact that I use them doesn't mean you need them. For instance, I have System Restore and Windows Update turned off completely. Actually, I use separate files for exporting HKEY_LOCAL_MACHINE (HKLM) and HKEY_CURRENT_USER (HKCU) tweaks. Keep reading to find out why.
The fragments of my files:
HKLM.reg
Windows Registry Editor Version 5.00 ;-----------------------;Operating System Tweaks;-----------------------;Disable Automatic Restart in the event of a BSOD[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\CrashControl]"AutoReboot"=dword:00000000;Speed up shutdown[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l]"WaitToKillServiceTimeout"="3000";Disables Error Reporting, but notifies when errors occur[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\Err orReporting]"DoReport"=dword:00000000;Do not use Simple File Sharing[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Lsa]"forceguest"=dword:00000000;Speed up Network Browsing by removing Network Scheduled Tasks[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\RemoteComputer\NameSpace\{D627 7990-4C6A-11CF-8D87-00AA0060F5BF}];Disables Windows Tour bubble popup[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Applets\Tour]"RunCount"=dword:00000000;Disable System Restore[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]"DisableSR"=dword:00000001;Recycle bin uses 3% of available space (not 10%)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\BitBucket]"Percent"=dword:00000003;Disable Autoupdates[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Win dows\WindowsUpdate\AU]"NoAutoUpdate"=dword:00000001;Disable Autoupdates[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\WindowsUpdate\Auto Update]"AUOptions"=dword:00000001"AUState"=dword:00000007;Change the code page for Cyrillic support[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Nls\CodePage]"1252"="c_1251.nls"[ HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]"KeepRASConnections"="1";Make the Windows XP registration with Microsoft unnecessary[HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Cu rrentVersion]"RegDone"="1";---------------;Services Tweaks;---------------;Disable Messenger Service (to stop spam. Does not affect MSN or Windows Messenger)[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Messenger]"Start"=dword:00000004;Disable Remote Registry Service[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\RemoteRegistry]"Start"=dword:00000004;Disable UPS[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\UPS]"Start"=dword:00000004;Disable System Restore Service[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\srservice]"Start"=dword:00000004;Disable Indexing Service[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\CiSvc]"Start"=dword:00000004;Disable Wireless Zero Configuration[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\WZCSVC]"Start"=dword:00000004;Disable Smart Card Helper[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\SCardDrv"]"Start"=dword:00000004;Disable Portable Media Serial Number[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\WmdmPmSN"]"Start"=dword:00000004;Disable Remote Desktop Help Session Manager[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\RDSessMgr"]"Start"=dword:00000004;Disable Imapi CD-Burning Service[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\ImapiService]"Start"=dword:00000004;Disable IPSEC Services[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\PolicyAgent"]"Start"=dword:00000004;Disable Security Center[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\wscsvc]"Start"=dword:00000004 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\wuauserv]"Start"=dword:00000004;----------------------------------------------;Tweaks to improve the functionality of Windows;----------------------------------------------;Remove Shared Documents from My Computer[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\MyComputer\NameSpace\DelegateF olders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}];Allow renaming of Recycle Bin[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]"Attributes"=hex:50,01,00,20"CallForAttributes"=dword:00000000;Administrative tools on Control Panel[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\ControlPanel\NameSpace\{D20EA4 E1-3957-11d2-A40B-0C5020524153}]@="Administrative Tools"[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Explorer\Advanced]"TaskbarGlomming"=dword:00000000;Disable webservice for searching file-extensions (see HKCU for the second part)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\policies\system]"NoInternetOpenWith"=dword:00000001; Don\'t Search Windows Update For Drivers (New HW Detected)[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Win dows\DriverSearching]"DontSearchWindowsUpdate"=dword:00000001"DontPromptForWindowsUpdate"=dword:00000001 ;Show protected operating system files[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\Advanced\Folder\SuperHidden]"DefaultValue"=dword:00000001 ;Speeds up copying/moving of zip files (disable windows built in zip functionality)[-HKEY_CLASSES_ROOT\.zip\CompressedFolder][-HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}][-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CompressedFold er];----------------------------------------------;Other Tweaks;----------------------------------------------;Disables Preview of Movie file formats (allowing you to move/rename/delete without errors)[-HKEY_CLASSES_ROOT\.avi\ShellEx][-HKEY_CLASSES_ROOT\.mpg\ShellEx][-HKEY_CLASSES_ROOT\.mpe\ShellEx][-HKEY_CLASSES_ROOT\.mpeg\ShellEx]; Remove Briefcase And Rich-Text-Document From New Menu[-HKEY_CLASSES_ROOT\.bfc\ShellNew][-HKEY_CLASSES_ROOT\.rtf\ShellNew][-HKEY_CLASSES_ROOT\.bmp\ShellNew][-HKEY_CLASSES_ROOT\.wav\ShellNew][-HKEY_CLASSES_ROOT\.zip\CompressedFolder\ShellNew]
HKCU.reg
Windows Registry Editor Version 5.00 ;----------------------------------------------;Tweaks to improve the functionality of Windows;----------------------------------------------;Disable the Desktop Cleanup Wizard[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Desktop\CleanupWiz]"NoRun"=dword:00000001;NoLowDiskSpaceChecks won\'t check if you are low on diskspace and pop up a balloon telling you.[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer]"NoLowDiskSpaceChecks"=dword:00000001;Change MenuShowDelay (Start Menu load speed)[HKEY_CURRENT_USER\Control Panel\Desktop]"MenuShowDelay"="20";Disable Recent Documents Menu[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer]"NoRecentDocsMenu"=hex:01,00,00,00;Remove "Shortcut to" on shortcuts[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer]"link"=hex:00,00,00,00;Remove "set programs default" from startmenu[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer]"NoSMConfigurePrograms"=dword:00000001;Disable Notify on new apps[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer]"Start_NotifyNewApps"=dword:00000000;Do not group similar items on the Taskbar;----------------------------------------------Start Menu and Folder Settings Twaks;----------------------------------------------[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Advanced]"Hidden"=dword:00000001"ShowCompColor"=dword:00000001"HideFileExt"=dword:00000000"DontPrettyPath"=dword:00000000"ShowInfoTip"=dword:00000001"HideIcons"=dword:00000000"MapNetDrvBtn"=dword:00000000"WebView"=dword:00000000"Filter"=dword:00000000"SuperHidden"=dword:00000001"SeparateProcess"=dword:00000000"ListviewAlphaSelect"=dword:00000001"ListviewShadow"=dword:00000001"ListviewWatermark"=dword:00000001"TaskbarAnimations"=dword:00000001"StartMenuInit"=dword:00000002"StartButtonBalloonTip"=dword:00000002"CascadeNetworkConnections"="YES""TaskbarSizeMove"=dword:00000000"EnableBalloonTips"=dword:00000000"Start_LargeMFUIcons"=dword:00000001"Start_MinMFU"=dword:00000006"Start_ShowControlPanel"=dword:00000002"Start_EnableDragDrop"=dword:00000001"StartMenuFavorites"=dword:00000000"Start_ShowHelp"=dword:00000001"Start_ShowMyComputer"=dword:00000001"Start_ShowMyMusic"=dword:00000002"Start_ShowPrinters"=dword:00000001"Start_ShowRun"=dword:00000001"Start_ScrollPrograms"=dword:00000000"Start_ShowSearch"=dword:00000000"Start_ShowRecentDocs"=dword:00000002"Start_AutoCascade"=dword:00000001"Start_NotifyNewApps"=dword:00000000"Start_AdminToolsRoot"=dword:00000002"StartMenuAdminTools"="YES""NoNetCrawling"=dword:00000000"FolderContentsInfoTip"=dword:00000001"FriendlyTree"=dword:00000001"WebViewBarricade"=dword:00000001"DisableThumbnailCache"=dword:00000000"ShowSuperHidden"=dword:00000001"ClassicViewState"=dword:00000000"PersistBrowsers"=dword:00000000"Start_ShowNetPlaces_ShouldShow"=dword:00000041"Start_ShowNetPlaces"=dword:00000000"Start_ShowNetConn_ShouldShow"=dword:00000042"StartMenuRun"=dword:00000001"StartMenuChange"=dword:00000001"CascadeControlPanel"="YES""CascadePrinters"="NO""StartMenuScrollPrograms"="NO""IntelliMenus"=dword:00000001;----------------------------------------------;Windows Explorer and Internet Explorer Tweaks;----------------------------------------------;Alphabetically sort Favorites and start menu[-HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\MenuOrder\Favorites][-HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\MenuOrder\Start Menu][-HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\MenuOrder\Start Menu2];Disable IE just in time debugger[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]"Disable Script Debugger"="yes";Search with google from the address bar instead of MSN[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\G]@="http://www.google.com/search?q=%s";Disable webservice for searching file-extensions[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer]"NoInternetOpenWith"=dword:00000000
» About registry hives and importing methods
After reading multiple threads about registry tweaks importing at MSFN and OSZone boards, I've come to the conclusion that some members misinterpret the meaning of the registry hives. I think some clarification won't hurt. I will highlight some aspects pertaining to the unattended installation without going into too much detail. I do encourage you to read an MS KB article Description of the Microsoft Windows registry (http://support.microsoft.com/kb/256986/), as it contains a lot of valuable and detailed information. Let's talk about the registry hives now.
» HKEY_LOCAL_MACHINE (HKLM)
As the title suggests, these are the local machine keys. The changes you make in this hive affect all users. Therefore, disabling a service makes it unavailable for all users. It is a good idea to import HKLM tweaks upon the first logon when the shell loads. Careful readers might think: "Hmmm... So it is possible to import the tweaks before the first logon, isn't it?" Possible, but is not really recommended for HKLM tweaks, because sometimes certain tweaks do not "stick" when imported on the earlier stages of the unattended setup. I'll provide more details about the earlier stages in the next section.
A typical (but not the only) method for importing HKLM tweaks is a batch file launched from [GuiRunOnce] (http://unattended.msfn.org/unattended.xp/view/web/19/). Below is a fragment of a sample batch file
ECHO. ECHO Applying Registry Tweaks... REGEDIT /S %systemdrive%\install\hklm.reg
» HKEY_CURRENT_USER (HKCU)
As the title suggests, these are the current user keys. Generally, the changes you make to this hive apply to the currently logged on user only. Certainly, you can import the HCKU tweaks upon the first logon. This is probably what you need to do, if you work under a built-in Administrator account and don't have any other accounts (which is not a very good practice) . Meanwhile, it is a good idea to work under a different account with the administrator rights and leave the built-in Administrator untouched just in case. The question is how to apply the HKCU tweaks for all accounts simultaneously.
Fortunately, there's an excellent resolution for those who configure more than one account and wish to have all accounts similarly tweaked. You can import registry tweaks at a certain stage of the unattended setup when nobody has logged on yet. This task can be accomplished from cmdlines.txt (http://unattended.msfn.org/unattended.xp/view/web/14/) at T-12 (http://unattended.msfn.org/unattended.xp/view/web/13/). Actually, the HKCU tweaks imported at T-12 (http://unattended.msfn.org/unattended.xp/view/web/13/) modify the Default User account settings, because the Default User's hive is loaded into HKEY_CURRENT_USER at that moment. When a user logs on to a machine for the first time, the user settings are taken from the Default User account. Hence, the HKCU tweaks imported at T-12 (http://unattended.msfn.org/unattended.xp/view/web/13/) apply to all accounts ever created. That is why I have two separate REG files (HKCU and HKLM). I import HKCU tweaks from cmdlines.txt (http://unattended.msfn.org/unattended.xp/view/web/14/), and no matter how many user accounts I create, they all have the same initial user settings.
In order to import the HKCU tweaks at T-12 (http://unattended.msfn.org/unattended.xp/view/web/13/) you need to place the HKCU.reg file into the root of the $OEM$ folder (http://unattended.msfn.org/unattended.xp/view/web/18/) and make sure the cmdlines.txt (http://unattended.msfn.org/unattended.xp/view/web/14/) contains the following text:
[Commands]"REGEDIT /S hkcu.reg"
» HKEY_CLASSES_ROOT (HKCR)
I won't duplicate a pretty thorough description of this hive given in the MS KB article Description of the Microsoft Windows registry (http://support.microsoft.com/kb/256986/). Please, familiarize yourself with it. My interpretation is as follows. If you want the changes to affect all users (including the ones created later on), then either import the HKCR keys together with the HKCU keys from cmdlines.txt (http://unattended.msfn.org/unattended.xp/view/web/14/) or import the keys into HKEY_LOCAL_MACHINE\Software\Classes upon the first logon. To be honest, I've never had a need to import anything into this hive.
» HKEY_USERS (HKU)
The meaning of this key is often interpreted incorrectly. The hive pertains to all users who logged on to the system at least once. Perhaps, this fact causes the confusion. Let's look at the hive's components more closely.
HKEY_USERS\.DEFAULT
I've noticed that some MSFN and OSZone members use this hive for importing HKCU settings trying to apply them for all users. Possibly, this works; however, you already know how to import HKCU tweaks realiably and correctly. Moreover, the HKEY_USERS\.DEFAULT keys may pertain to the settings enforced before users log on (e.g. the default keyboard layout for the logon window).
HKEY_USERS\S-[long-set-of-numbers]
You may have several keys like that. It depends on the number of users who logged on to the system at least once. If you try to monitor the registry changes with any registry monitoring software, you probably find out that one of those keys is getting changed. This is your profile. Most of the time this key is not interesting from the practical standpoint, because the long set of numbers is unique and will not be the same in another system you install. Technically, changes in this key are equivavelnt to the changes in HKCU.
Hopefully, this short excurse through the registry was helpful.
» Practical Advices
As you probably know, one can configure lots of the system settings with the registry tweaks. I've forgotten when was the last time I used a tweaker on my system, because I have pretty much everthing configured right after the installation. Perhaps, you would like to do the same and now have a reasonable question: "How do I determine what registry values get changed whenever I modify the system settings via the Graphic User Interface (GUI)?"
There are multiple web sites with the registry tweaks. Here's the short list (http://tinyurl.com/djkgl) ;-) There's a sticky registry tweaks thread in the Unattended forum at MSFN. The first post of this thread has a text file attached with numerous registry tweaks.
Another good method is to configure your system elements the way you like it and then export the corresponding registry keys. It's a much better idea than using other people's tweaks. For example, a good portion of the Start menu and Folder Options settings is located in the
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Advanced
key. Hence, you can export the key from your current system and then import it during the unattended setup. If you are not sure what a certain parameter does, type its name into a search engine (http://www.google.com/search?q=search) and you'll find out quickly.
If you searched, but came up with nothing ... you probably didn't search enough ;-) Try using registry monitoring software like Regmon (http://www.sysinternals.com/Utilities/Regmon.html) (real time monitoring) and Regshot (http://www.google.com/search?q=regshot) (registry snapshot before and after the changes).
--
Discussion thread (http://www.msfn.org/board/index.php?showtopic=61013)
» Registry Tweaks
TitleAuthorSelect?Accelerate Termination Of Hung User Processes Wait Time (http://unattended.msfn.org/unattended.xp/view/registry/45/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Accelerate Termination Of Processes/Services At Shut Down (http://unattended.msfn.org/unattended.xp/view/registry/53/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Add Microsoft Registry Editor (RegEdit) to My Computer (http://unattended.msfn.org/unattended.xp/view/registry/109/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/74430/)Add MSConfig to My Computer (http://unattended.msfn.org/unattended.xp/view/registry/111/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/74430/)Add or Remove Programs From My Computer (http://unattended.msfn.org/unattended.xp/view/registry/110/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/74430/)Add UserPasswords2 to Control Panel (http://unattended.msfn.org/unattended.xp/view/registry/95/)alex66 (http://unattended.msfn.org/unattended.xp/user/profile/104418/)Adding items to My Computer display (http://unattended.msfn.org/unattended.xp/view/registry/86/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Adds Administrative Tools (http://unattended.msfn.org/unattended.xp/view/registry/23/)dstambaugh (http://unattended.msfn.org/unattended.xp/user/profile/37876/)Advanced Privacy Settings: Cookies (http://unattended.msfn.org/unattended.xp/view/registry/60/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)AutoAccept EULA for Media Player's first run (http://unattended.msfn.org/unattended.xp/view/registry/26/)dstambaugh (http://unattended.msfn.org/unattended.xp/user/profile/37876/)Automate Boot Disk Optimization (http://unattended.msfn.org/unattended.xp/view/registry/51/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Automatic Termination Of Processes At Shut Down (http://unattended.msfn.org/unattended.xp/view/registry/52/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Automatically Logon to a Specific User Account (http://unattended.msfn.org/unattended.xp/view/registry/104/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/74430/)Bypass Internet Connection Wizard (http://unattended.msfn.org/unattended.xp/view/registry/58/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Change Default Search Page To Google (http://unattended.msfn.org/unattended.xp/view/registry/74/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Change My Computer Name (http://unattended.msfn.org/unattended.xp/view/registry/35/)genmud (http://unattended.msfn.org/unattended.xp/user/profile/32535/)Change Wallpaper On Login Screen (For Non-Welcome Screen Users) (http://unattended.msfn.org/unattended.xp/view/registry/10/)Asin (http://unattended.msfn.org/unattended.xp/user/profile/68256/)Classic Control Panel (http://unattended.msfn.org/unattended.xp/view/registry/83/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Clear Pagefile on Shutdown (http://unattended.msfn.org/unattended.xp/view/registry/81/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Command Prompt Here (http://unattended.msfn.org/unattended.xp/view/registry/99/)bmusgrove (http://unattended.msfn.org/unattended.xp/user/profile/95245/)Commonly Used Icons On Desktop (http://unattended.msfn.org/unattended.xp/view/registry/56/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Completely disable accessibility options (http://unattended.msfn.org/unattended.xp/view/registry/8/)gosherm (http://unattended.msfn.org/unattended.xp/user/profile/21244/)Copy to Folder and Move to Folder Menu (http://unattended.msfn.org/unattended.xp/view/registry/100/)masterhard (http://unattended.msfn.org/unattended.xp/user/profile/133453/)Crash Windows on Demand (http://unattended.msfn.org/unattended.xp/view/registry/85/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Customize the Classic Logon Box (http://unattended.msfn.org/unattended.xp/view/registry/107/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/191771/)Customize your Open and Save Dialog Boxes (http://unattended.msfn.org/unattended.xp/view/registry/29/)dstambaugh (http://unattended.msfn.org/unattended.xp/user/profile/37876/)Decrease Start Menu Delay (http://unattended.msfn.org/unattended.xp/view/registry/39/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Disable Alerter Service (2000+) (http://unattended.msfn.org/unattended.xp/view/registry/21/)Crusty01 (http://unattended.msfn.org/unattended.xp/user/profile/9830/)Disable annoying message in IE (http://unattended.msfn.org/unattended.xp/view/registry/33/)dstambaugh (http://unattended.msfn.org/unattended.xp/user/profile/37876/)Disable Automatic Restart in the event of a BSOD (http://unattended.msfn.org/unattended.xp/view/registry/5/)Vadikan (http://unattended.msfn.org/unattended.xp/user/profile/14702/)Disable Caching of Failed DNS Lookups (http://unattended.msfn.org/unattended.xp/view/registry/64/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Disable Computer Browser Service (http://unattended.msfn.org/unattended.xp/view/registry/22/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/91528/)Disable Desktop Cleanup Wizard (http://unattended.msfn.org/unattended.xp/view/registry/37/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/50703/)Disable Error Reporting, but notify when errors occur (http://unattended.msfn.org/unattended.xp/view/registry/4/)Vadikan (http://unattended.msfn.org/unattended.xp/user/profile/14702/)Disable FilterKeys, StickyKeys, and ToggleKeys (http://unattended.msfn.org/unattended.xp/view/registry/17/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/40573/)Disable Grouping of Similar Taskbar Buttons in Start Menu (http://unattended.msfn.org/unattended.xp/view/registry/114/)Asymmetry (http://unattended.msfn.org/unattended.xp/user/profile/139894/)Disable IE 'Send Information To Internet' Prompt. (http://unattended.msfn.org/unattended.xp/view/registry/75/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Disable IE Autocomplete (http://unattended.msfn.org/unattended.xp/view/registry/82/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Disable IE Autocomplete Prompt (http://unattended.msfn.org/unattended.xp/view/registry/72/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Disable IE Cookie "Privacy Icon" Prompt (http://unattended.msfn.org/unattended.xp/view/registry/73/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Disable Indexing Service (http://unattended.msfn.org/unattended.xp/view/registry/66/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Disable IPSEC Services (http://unattended.msfn.org/unattended.xp/view/registry/19/)Crusty01 (http://unattended.msfn.org/unattended.xp/user/profile/9830/)Disable Messenger Service (http://unattended.msfn.org/unattended.xp/view/registry/65/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Disable Mouse Pointer Precision (http://unattended.msfn.org/unattended.xp/view/registry/34/)genmud (http://unattended.msfn.org/unattended.xp/user/profile/32535/)Disable Recent Shares in Network Places (http://unattended.msfn.org/unattended.xp/view/registry/90/)atomicrabbit (http://unattended.msfn.org/unattended.xp/user/profile/99320/)Disable Remote Assistance (http://unattended.msfn.org/unattended.xp/view/registry/94/)alex66 (http://unattended.msfn.org/unattended.xp/user/profile/104418/)Disable Remote Registry Service (http://unattended.msfn.org/unattended.xp/view/registry/18/)Crusty01 (http://unattended.msfn.org/unattended.xp/user/profile/9830/)Disable Reusing Of Windows (http://unattended.msfn.org/unattended.xp/view/registry/59/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Disable Security Center messages (http://unattended.msfn.org/unattended.xp/view/registry/88/)GeneralIx (http://unattended.msfn.org/unattended.xp/user/profile/96470/)Disable Synchronize time via Internet (http://unattended.msfn.org/unattended.xp/view/registry/93/)alex66 (http://unattended.msfn.org/unattended.xp/user/profile/6091/)Disable System Restore (http://unattended.msfn.org/unattended.xp/view/registry/97/)alex66 (http://unattended.msfn.org/unattended.xp/user/profile/104418/)Disable Windows File Protection (http://unattended.msfn.org/unattended.xp/view/registry/89/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/98656/)Disable Windows Firewall (http://unattended.msfn.org/unattended.xp/view/registry/101/)fullmetal_ARM (http://unattended.msfn.org/unattended.xp/user/profile/69919/)disable windows firewall notifications (http://unattended.msfn.org/unattended.xp/view/registry/13/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/88934/)Disable Windows Tour bubble popup (http://unattended.msfn.org/unattended.xp/view/registry/7/)Vadikan (http://unattended.msfn.org/unattended.xp/user/profile/14702/)Disabling the C$, D$ and ADMIN$ Shares (http://unattended.msfn.org/unattended.xp/view/registry/24/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/91649/)Do Not Start MS-Messenger with Outlook Express (http://unattended.msfn.org/unattended.xp/view/registry/119/)Asymmetry (http://unattended.msfn.org/unattended.xp/user/profile/139894/)Do not use Simple File Sharing (http://unattended.msfn.org/unattended.xp/view/registry/6/)Vadikan (http://unattended.msfn.org/unattended.xp/user/profile/14702/)DOSBox in drive and directory context menu (http://unattended.msfn.org/unattended.xp/view/registry/12/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/88934/)Edit .NFO Files w/ Notepad (http://unattended.msfn.org/unattended.xp/view/registry/103/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/74430/)Enable DVD Playback In WMP (http://unattended.msfn.org/unattended.xp/view/registry/69/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Enable NUM LOCK at Login (http://unattended.msfn.org/unattended.xp/view/registry/15/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Enable Remote Desktop (http://unattended.msfn.org/unattended.xp/view/registry/36/)genmud (http://unattended.msfn.org/unattended.xp/user/profile/32535/)Enable Status and Address Bar In Explorer (http://unattended.msfn.org/unattended.xp/view/registry/57/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Enable Wordwrap in Notepad (http://unattended.msfn.org/unattended.xp/view/registry/120/)Asymmetry (http://unattended.msfn.org/unattended.xp/user/profile/139894/)Enable/Disable System Properties from My Computer (http://unattended.msfn.org/unattended.xp/view/registry/108/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/74430/)Ensure Automatic Updates Is Set To "Automatic" (http://unattended.msfn.org/unattended.xp/view/registry/71/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Hide the Run as... option from the context menu (http://unattended.msfn.org/unattended.xp/view/registry/117/)Asymmetry (http://unattended.msfn.org/unattended.xp/user/profile/139894/)Increase cache for custom folders (http://unattended.msfn.org/unattended.xp/view/registry/40/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Increase Icon Cache (http://unattended.msfn.org/unattended.xp/view/registry/41/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Launch IE Browser in separate processes (http://unattended.msfn.org/unattended.xp/view/registry/28/)dstambaugh (http://unattended.msfn.org/unattended.xp/user/profile/37876/)Logon with Classic or Welcome Screen (http://unattended.msfn.org/unattended.xp/view/registry/105/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/74430/)Lower Maximum Size Of Recycle Bin From 10% to 2% (http://unattended.msfn.org/unattended.xp/view/registry/67/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)MenuShowDelay Tweak (http://unattended.msfn.org/unattended.xp/view/registry/20/)Crusty01 (http://unattended.msfn.org/unattended.xp/user/profile/9830/)Modify Visual Effects (http://unattended.msfn.org/unattended.xp/view/registry/55/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)My Computer First (http://unattended.msfn.org/unattended.xp/view/registry/84/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)no windows sounds (http://unattended.msfn.org/unattended.xp/view/registry/113/)subscious (http://unattended.msfn.org/unattended.xp/user/profile/139920/)office 2003 quality management off (http://unattended.msfn.org/unattended.xp/view/registry/14/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/88934/)Open Unknown File Extensions w/ Notepad (http://unattended.msfn.org/unattended.xp/view/registry/102/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/74430/)Optimize Processor Time On the System (http://unattended.msfn.org/unattended.xp/view/registry/43/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Pin Items to Start Menu (http://unattended.msfn.org/unattended.xp/view/registry/80/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Prioritization Of IRQs (Specifically CMOS/RTC) (http://unattended.msfn.org/unattended.xp/view/registry/42/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Prune History Every Day (http://unattended.msfn.org/unattended.xp/view/registry/79/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Put My Computer Shortcut on Desktop (http://unattended.msfn.org/unattended.xp/view/registry/116/)Asymmetry (http://unattended.msfn.org/unattended.xp/user/profile/139894/)Reduce Disk Space Used By System Restore (http://unattended.msfn.org/unattended.xp/view/registry/68/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Reduce Reserved Bandwidth For QoS Packet Scheduling (http://unattended.msfn.org/unattended.xp/view/registry/63/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Remove "My Recent Documents" from the Start menu (http://unattended.msfn.org/unattended.xp/view/registry/31/)dstambaugh (http://unattended.msfn.org/unattended.xp/user/profile/37876/)Remove All Browser Extensions (http://unattended.msfn.org/unattended.xp/view/registry/77/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Remove All Browser Helper Objects (http://unattended.msfn.org/unattended.xp/view/registry/76/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Remove All Toolbars (http://unattended.msfn.org/unattended.xp/view/registry/78/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Remove Annoying Balloon Notifications (http://unattended.msfn.org/unattended.xp/view/registry/91/)DarkAsHell (http://unattended.msfn.org/unattended.xp/user/profile/100165/)Remove Common Startup Items - Generic (http://unattended.msfn.org/unattended.xp/view/registry/47/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Remove Common Startup Items - HP/Compaq (http://unattended.msfn.org/unattended.xp/view/registry/48/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Remove Common Startup Items - Sony (http://unattended.msfn.org/unattended.xp/view/registry/49/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Remove Common Startup Items - Toshiba (http://unattended.msfn.org/unattended.xp/view/registry/50/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Remove Help and Support from start Menu (http://unattended.msfn.org/unattended.xp/view/registry/121/)Asymmetry (http://unattended.msfn.org/unattended.xp/user/profile/139894/)Remove Language Bar (http://unattended.msfn.org/unattended.xp/view/registry/54/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Remove Shared Documents (http://unattended.msfn.org/unattended.xp/view/registry/96/)alex66 (http://unattended.msfn.org/unattended.xp/user/profile/104418/)Remove The Alexa extension (http://unattended.msfn.org/unattended.xp/view/registry/62/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Remove the MRU list from Open/Save dialog boxes (http://unattended.msfn.org/unattended.xp/view/registry/32/)dstambaugh (http://unattended.msfn.org/unattended.xp/user/profile/37876/)Remove the Office 2003 Check for Updates option (http://unattended.msfn.org/unattended.xp/view/registry/112/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/128124/)Remove the Quick Links in Open/Save Dialog Boxes (http://unattended.msfn.org/unattended.xp/view/registry/30/)dstambaugh (http://unattended.msfn.org/unattended.xp/user/profile/37876/)Remove WMP Right Click Options (Queue-it-up, etc.) (http://unattended.msfn.org/unattended.xp/view/registry/118/)Asymmetry (http://unattended.msfn.org/unattended.xp/user/profile/139894/)Set Keyboard Num-Lock to be ON (http://unattended.msfn.org/unattended.xp/view/registry/115/)Asymmetry (http://unattended.msfn.org/unattended.xp/user/profile/139894/)Setup Regedit views and settings (http://unattended.msfn.org/unattended.xp/view/registry/87/)Maelstorm (http://unattended.msfn.org/unattended.xp/user/profile/25202/)Setup Task Manager the way you want it. (http://unattended.msfn.org/unattended.xp/view/registry/25/)dstambaugh (http://unattended.msfn.org/unattended.xp/user/profile/37876/)Show Admin on Welcome screen (http://unattended.msfn.org/unattended.xp/view/registry/9/)gosherm (http://unattended.msfn.org/unattended.xp/user/profile/21244/)show file extensions in explorer (http://unattended.msfn.org/unattended.xp/view/registry/11/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/88934/)SHOW HIDDEN DEVICE (http://unattended.msfn.org/unattended.xp/view/registry/38/)iammcse (http://unattended.msfn.org/unattended.xp/user/profile/94101/)show hidden files/folders in explorer (http://unattended.msfn.org/unattended.xp/view/registry/122/)Nikos7 (http://unattended.msfn.org/unattended.xp/user/profile/146575/)Show or Conceal Hidden Devices in Device Manager (http://unattended.msfn.org/unattended.xp/view/registry/106/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/74430/)Small icons on the CLASSIC start menu (http://unattended.msfn.org/unattended.xp/view/registry/92/)byte_me (http://unattended.msfn.org/unattended.xp/user/profile/100943/)Speed Up Access To AVI Files (http://unattended.msfn.org/unattended.xp/view/registry/70/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Speed up Network Browsing by removing Network Scheduled Tasks (http://unattended.msfn.org/unattended.xp/view/registry/27/)dstambaugh (http://unattended.msfn.org/unattended.xp/user/profile/37876/)standard logon box (http://unattended.msfn.org/unattended.xp/view/registry/16/)Unknown (http://unattended.msfn.org/unattended.xp/user/profile/88934/)Temporary Internet Files and History (http://unattended.msfn.org/unattended.xp/view/registry/61/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Tweak Windows Prefetcher Service (http://unattended.msfn.org/unattended.xp/view/registry/44/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Unload DLLs From Memory (http://unattended.msfn.org/unattended.xp/view/registry/46/)Dumpy Dooby (http://unattended.msfn.org/unattended.xp/user/profile/56247/)Use Classic Search in Explorer (http://unattended.msfn.org/unattended.xp/view/registry/98/)Speeddymon (http://unattended.msfn.org/unattended.xp/user/profile/109431/)
Finalizing and Testing the CD
Submitted by Alanoll
Once you're happy with your Unattended XP CD preparation, double check to see if everything is correct, including the winnt.sif answer file, all the batch files, svcpack.inf, and anything else you might have added.
It is very likely that you will have several mistakes that have gone unnoticed, so it's a good idea to test your installation in a Virtual Machine (http://unattended.msfn.org/unattended.xp/view/web/20/). If you prefer to not use a Virtual Machine (http://unattended.msfn.org/unattended.xp/view/web/20/) be sure to use CD-RW/DVD-RW discs to test before burning to a single-burn medium.
» Using Microsoft's CDImage Tool to create the ISO
CDImage is a command-line driven application developed by Microsoft to create an ISO image from a directory of files and folders. We'll be using the CDIMAGE GUI to better illustrate the switches, especially since it's easier to determine which switches you wish to use. The CDIMAGE GUI is just a frontend for the command-line tool. Read more about CDIMAGE GUI (http://unattended.msfn.org/unattended.xp/view/web/15/) in the reference section.
Alternatively, doing it the long way round, you can burn all the contents of C:\XPCD\ to a CD-R, using one of these guides: MSFN Windows XP SP2 Guide (http://www.msfn.org/articles.php?action=show&showarticle=22) | The Elder Geek Windows XP SP2 Guide (http://www.theeldergeek.com/slipstreamed_xpsp2_cd.htm)
» Notes
Make sure you burn the ISO using Disc-at-once in your burner options, rather than Track-at-once. Because this usually helps resolve bootability issues or file copy errors.
Using software such as WinISO, UltraISO or any other variant to create/edit your bootable ISO image is not recommended as there is a risk of corrupting your ISO file.
http://unattended.msfn.org/unattended.xp/ (http://unattended.msfn.org/unattended.xp/)