Use FIREFOX instead of Internet Explorer and PREVENT spyware!
Firefox is free and considered best free, safe web browser today!

Sunday, March 11, 2007

 

Study Tip - What is slipstreaming?

Slipstreaming is a process of integrating service pack updates into the Windows XP Professional setup files. The slipstreaming process eliminates the need of deploying service pack update on each computer separately.

The UPDATE.EXE utility is used for slipstreaming.

Syntax:

UPDATE -s:

where, the distribution point path is the full path name of the distribution point.


 

Slipstreamed Windows XP CD Using SP2

Slipstreamed Windows XP CD Using SP2

Whenever a new version of a service pack for XP is released I always run it through the slipstreaming procedure to see if everything works as expected. Service Pack 2 (SP2) is the latest release so it was time for another round of testing. For those of you that have a copy of SP2 and want to give it a try the procedure I used is presented below. I experienced absolutely no problems with the procedure based on an original Gold Edition XP Professional CD. The slipstreamed CD booted and installed perfectly to a freshly formatted hard drive.

Building Directories

The first step is to build a directory structure to hold the files that will be used in the CD creation process. It's a simple structure, requiring nothing more than a few folders. It doesn't matter what names you use for your folders or where you locate them on your hard drive, but most users find drive C the easiest. I created the folders shown below, located on Drive C, and used the XP- prefix for each one so they would all be located together for easy access. Create whatever folders you are comfortable with or use the ones below if you want to copy and paste commands later in the tutorial.

XP
XP-SP2
XP-BootImage
Copying and Extracting Files

Before copying the XP CD make sure that the system is set to display all hidden and system files to ensure a complete copy of all files on the CD. The settings to control what files are visible are located in Windows Explorer > Tools > Folder Options > View tab. Make sure [Show hidden files and folders] radio button is selected and [Hide protected operating system files] is unchecked.

The Run dialogue box is accessed from [Start] [Run]
The command to begin the extraction is: C:\XP-SP2\WindowsXP-KB835935-SP2-ENU.exe -x

Updating The Windows Share

The Run dialogue box is accessed from [Start] [Run]
The command to apply the Service Pack is: C:\XP-SP2\i386\Update\Update.exe -S:C:\XP

As shown below, Service Pack 2 is being integrated into the Windows installation folder.

Successful completion of the integration process.

Extract the Imaging File

In order to make a slipstreamed CD bootable it's necessary to add an image file during the burning process. You need to extract the file Microsoft Corporation.img and save it to a folder. For my testing I just created a XP-BootImage folder on the C:\ drive. There are a number of ways to perform the extraction but the easiest is to use ISO Buster.

Extract the file to the C:\XP-BootImage folder previously created or your equivalent.


With the preparation out of the way it's time to actually burn the CD. There are a number of different burning or CD creation programs that can be used to accomplish this task. I've included instructions here for Easy CD and DVD Creator 6 by Roxio and another set of instructions for Nero Burning ROM 6-SE. While the terminology and screens may vary depending on your CD burning program choice and version, the principles remain the same and can be easily adapted no matter what burning software is being used. Click on the burning instructions of choice below.

Burning the Windows XP/SP2 Slipstreamed CD
Roxio Easy CD and DVD Creator 6

Burning the Windows XP/SP2 Slipstreamed CD
NERO Burning ROM 6-SE


 

How To: Slipstream your XP installation


Add RAID drivers and Service Pack 2 to your original Windows CD!

Think of how you treat a brand-new car: You cherish and pamper it at first. You even give up your Sunday afternoons to wash and wax it by hand. Your heart skips a beat whenever you see that gleaming steel beast waiting for you in the parking lot. A newly installed version of Windows XP can inspire similar devotion. Not only do you thrill at its pristine condition but you patiently, and even eagerly downloaded all the latest patches from Windows Update so as to keep your OS shipshape.

But over time, most of us begin to take that new car—and that clean WinXP installation—for granted. As it accumulates miles and wear and tear, your erstwhile pride and joy becomes just another drain on your wallet—and your time. Hand-washing, you discover, just isn’t worth the effort anymore. In its place: a quickie car wash at the local gas station. If only there were a simple wash-and-rinse equivalent for WinXP.

Guess what? Such a thing does exist. It’s called slipstreaming—the mystical art of creating an up-to-the-minute Windows XP setup CD with all the latest patches preinstalled, so you won’t have to spend half your life on Microsoft’s Windows Update web site. As always, Maximum PC is here to show you how to do it. Heck, we’ll even help you add RAID or Serial ATA controller drivers to your CD so you won’t need a floppy drive (or the F6 key) to install Windows. (Note: Service Pack 2 wasn’t available when we went to press, but it should be by the time you read this. If SP2 isn’t available, the instructions in this story will still work with SP1.)

So, how about it? Are you ready to bid your hand-washing days adieu? Then read on…Ingredients:

· Windows XP setup CD

· Internet connection

· CD burner

· ISO Buster (www.isobuster.com)

· Nero 5.5.9.0 or newer (get the non-6.0 versions from www.oldversion.com)

Step 1: Collect the necessary files

Before getting started, we’ll need to download the full, stand-alone installation of Service Pack 2 (as opposed to performing a web-based upgrade). Go to download.microsoft.com and look under the Windows XP section or simply run Windows Update from Internet Explorer.

While you’re at it, grab the latest drivers for your RAID or Serial ATA controller. If you add them to your install CD, you won’t need to use an old-fashioned floppy drive to install Windows. For an add-in RAID or SATA card, look for the drivers on the web site of your controller chip’s manufacture. Some of the most popular controllers are made by Promise, Intel, Adaptec, and HighPoint. If your controller is integrated onto your motherboard, hit up your mobo manufacturer’s web site.

raid_card.jpg
You can roll your RAID drivers into your XP install disc by slipstreaming!


Step 2: Update your setup files

Our next objective is to extract Service Pack 2 to a folder so we can update our existing Windows setup files. Open the command prompt by clicking Start, Run, and typing cmd.exe. Use the cd (change directory) command to navigate to the folder where you just saved the SP2 executable in the previous step. (The syntax for cd is cd , so if you saved the SP2 executable to, say, C:\Downloads, you would type cd C:\Downloads to go there.) Extract the SP2 files by typing xpSP2 –x, where xpSP2 is the name of the SP2 executable you downloaded. When prompted for a destination to extract the files to, enter C:\xpSP2.

Once the files have been extracted, insert your Windows XP setup CD into an optical drive and copy its entire contents to a different folder on your hard drive. For the sake of simplicity, use C:\xpsetupcd as the folder. Now, return to the command prompt and type the following command: C:\xpSP2\i386\update\update /s:C:\xpsetupcd. This will update your existing Windows setup files with the new code contained in Service Pack 2. A message box will pop up to notify you when the process is complete.

updatewizard.jpg
Service Pack 2’s built-in updater makes it easy to patch y our original Windows setup files with Microsoft’s latest code.


Step 3: Add your RAID/SATA Drivers

We’re now ready to add RAID/SATA controller drivers to our CD (if you don’t want to do this, skip ahead to the final step). Open the folder to which you copied your Windows XP CD (C:\xpsetupcd) and create a subfolder called $OEM$. Then, create a subfolder of $OEM$ called $1 and a subfolder of $1 called drivers. The resulting path should be C:\xpsetupcd\$OEM$\$1\drivers. This is where Windows Setup will look for drivers that aren’t contained in its standard driver library. For organizational purposes, make a subfolder within drivers named for the type of driver it will contain—for instance, create a RAID folder for RAID drivers or an SATA folder for Serial ATA drivers. You can use any name, as long as it has fewer than eight characters.

With the aforementioned folder structure in place, copy the Windows XP RAID/SATA drivers directly into the folder you created above (we used C:\xpsetupcd\$OEM$\$1\drivers\RAID). If your drivers came in a self-extracting executable rather than a zip file, you may be able to extract its contents manually by opening it in a program like WinRAR. (Alternately, you can run the self-extracting executable, then dig around in your system’s TEMP directory—usually C:/documents and settings/YourUsername/LocalSettings/Temp until you find the right directory). Finally, locate the SYS file for your RAID/SATA controller from among the files you just extracted; it should be named after your specific controller (e.g. fasttx2k.sys for a Promise FastTrak TX2 RAID controller). The drivers for different operating systems may be split into distinct folders, so make sure you find the SYS file that’s intended for Windows XP. Once you find the SYS file, copy it to the i386 folder of your Windows CD (C:\xpsetupcd\i386).

drivers.jpg
Adding RAID or Serial ATA drivers to your Windows CD will save you the trouble of using a floppy disc to manually install them every time you reformat.


Step 4 – Introduce Windows to your drivers

Now that we’ve added our RAID/SATA driver files to the mix, we need to tell Windows Setup about the existence of these drivers and how to use them. But unless you happen to have this information memorized—and if you do, this might be a good time to turn off your computer and spend some time in the real world—you’ll need to look it up in your driver’s INF file. This file is usually found in the same place as the SYS file you located in the previous step and will probably have the same name, albeit with an INF extension. Open the INF file in Notepad and copy the PCI identifier string, which is a series of characters beginning with PCI\VEN—for instance, PCI\VEN_105A&DEV_3376. There may be other text on the same line as the identifier string; if this is the case, start at the first occurrence of PCI\VEN and copy the text up to but not including the last period (or the end of the line, whichever comes first).

Next, open TXTSETUP.SIF (situated in C:\xpsetupcd\i386) and paste your PCI identifier string under the [HardwareIdsDatabase] section of that file. At the end of the string, add an equal-sign followed by the driver name in quotes. In the case of our Promise RAID controller, the resulting line is: PCI\VEN_105A&DEV_3376 = “fasttx2k”. Note: If your driver’s INF file contains multiple PCI identifier strings, copy all of them into TXTSETUP.SIF.

Now scroll down to the [SourceDisksFiles] section of TXTSETUP.SIF and add the following text:

driver_filename.sys = 1,,,,,,_x,4,1

where driver_filename.sys is the name of your RAID /SATA driver’s SYS file. Note that you should include the .sys here. Then, under the [SCSI.Load] section, enter:

driver_filename = driver_filename.sys,4

Once again, driver_filename is the name of your driver’s SYS file. Note the lack of a .sys suffix on the left side of the equal-sign.

Finally, in the [SCSI] section of the file, add the following:

driver_filename = “RAID/SATA Device Name”

You can enter whatever you want for “RAID/SATA Device Name,” but we recommend using a meaningful description (such as the name of your RAID/SATA controller). Finally, save and close TXTSETUP.SIF.

pci_id.jpg
Somewhere in the depths of your RAID/SATA controller’s INF file lurks the fabled PCI identifier string.


Step 5 – Create a customized setup routine

You’re almost there. In this step, we’ll make a file called WINNT.SIF in the i386 folder of our Windows setup files (C:\xpsetupcd\i386). This file can be used to create an unattended installation routine—a subject beyond the scope of this how-to—but we’ll simply use it to point Windows to the drivers we’ve slipstreamed. Create WINNT.SIF and enter the following:

[Data]
AutoPartition=0
MsDosInitiated=”0”
UnattendedInstall=”Yes”

[Unattended]
UnattendMode=ProvideDefault
OemPreinstall=Yes
OemSkipEula=Yes
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1

WaitForReboot=”No”
TargetPath=\WINDOWS
DriverSigningPolicy=Ignore
OemPnPDriversPath=

[GuiUnattended]
OEMSkipWelcome = 1

[UserData]
ProductKey=
FullName=”“
OrgName=”“

You’ll need to customize the OemPnPDriversPath line by entering the path to the INF file for your RAID/SATA driver (for instance if your drivers are in C:\xpsetupcd\i386\$OEM$\$1\drivers\RAID use: OemPnPDriversPath=drivers\RAID\FastTrack\WinXP).

There are a few other fields you may want to customize before you close WINNT.SIF. Type your product key, name, and company name in the ProductKey, FullName, and OrgName fields respectively to avoid having to enter them during setup. And if you’d like to install Windows to a folder other than C:\WINDOWS, edit the TargetPath field as needed.

winnt_sif.jpg
WINNT.SIF is a powerful file that allows you to customize and automate many parts of the Windows installation process.


Step 6 – Prepare your bootable CD and burn it

Our next task is to extract the boot image from our original Windows XP disc so we can use it to make our slipstreamed CD bootable as well. With your original XP setup CD inserted, launch ISO Buster and select “Bootable CD” from the left pane. In the right pane, right-click Microsoft Corporation.img and choose “Extract Microsoft Corporation.img.” Extract this file to the folder where you copied your XP setup files (C:\xpsetupcd).

Fire up Nero Burning ROM (or EZ CD Creator, or any other CD burning app) and go to the New Compilation window (click “Close Wizard” if Nero’s wizard comes up). Select “CD-ROM (Boot)” from the left pane and open the Boot tab. For “Source of boot image data” choose “Image file” and use the Microsoft Corporation.img file you just extracted. Check to enable expert settings, and set “Kind of emulation” to “No emulation” and “Number of loaded sectors” to 4. (These instructions will vary if you use another application, of course.)

Next, head over to the ISO tab and set “File/Directory name length” to “ISO Level 2.” Ensure that “Format” is set to “Mode 1” and “Character Set” to “ISO 9660,” and make certain all four checkboxes on this tab are checked (“Joliet,” “Allow pathdepth of more than 8 directories,” “Allow more than 255 characters in path,” and “Do not add the ‘;1’ ISO file version extension”). Finally, click the Label tab and set the “Volume Label” field to the value used by your original Windows XP CD—this is the name that appears next to your CD-ROM drive in My Computer when your XP CD is inserted.

At this point, we’re almost ready to rock. Click the “New” button to open the Nero File Browser, and then locate the folder where you copied your Windows XP CD. Open the folder and add its entire contents to your CD image. When you’re all set, mash the “Burn” button and bask in the glory of your shiny new slipstreamed Windows XP CD, replete with RAID/SATA drivers and Service Pack 2!

nero.jpg
Make your slipstreamed Windows CD bootable by extracting the boot image from your original Windows CD and feeding it to Nero.


Saturday, February 24, 2007

 

What is Software?

First i need to define, what is softwares all about...

Software is the general term for information that's recorded onto some kind of medium. For example, when you go to the video store and rent or buy a tape or DVD, what you're really getting is the software that's stored on that tape or disk. Your VCR or DVD player are hardware devices that are capable of reading the software from a tape or disk and projecting it onto your TV screen, in the form of a movie.

Your computer is a hardware device that reads software too. Most of the software on your computer comes in the form of programs. A program consists of "instructions" that tell the computer what to do, how to behave. Just as there are thousands of albums you can buy on CD for your stereo, and thousands of movies you can buy to play on your VCR or DVD player, there are thousands of programs that you can buy to run on your computer.

When you buy a computer, you don't automatically get every program produced by every software company in the world. You usually get some programs. For example, when you buy a computer it will probably have an operating system (like Windows XP) already installed on it.

If you do purchase a specific program, it would be to perform some specific task. For example, you might use a graphics program to touch up photos, or you might use a word processing program to write text. You're using your Web browser program right now to read this text (assuming you're not reading a printed copy on paper). Just as there are umpteen different brands of toothpaste, there are umpteen different brands of word processing programs, graphics programs, and Web browsers.

For example, all graphics programs are designed to help you work with pictures. But there are many brands of graphics programs out there, including Adobe Photoshop, Jasc Paint Shop Pro. Adobe Illustrator, Arcsoft PhotoStudio, Corel Draw, ULead PhotoImpact, PrintShop Photo, and Macromedia Freehand, just to name a few. As to Web browsers, popular brands include Microsoft Internet Explorer, MSN Explorer, Netscape Navigator, America Online, and a few others.

When you purchase a program, you get the program stored on a CD as in the example shown at left. You may not have seen any boxes containing software when you bought your computer. That's because the software that came with your computer has been pre-installed onto your computer's hard disk for you. You don't need to use the CD to run a program that's already installed on your computer. You only need to keep the CDs as backups, in case something goes wrong with your hard disk and you need to re-install the programs.


This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]