PDA

View Full Version : hotfix integration, driver slipstreaming, and Nlite


jtdoom
September 8th, 2006, 07:00 PM
Dear Gentlebeings,

Do YOU have to install windows XP on a regular basis?
Don't you hate it when you need that F6 FLOPPY?
Do you wish you could spend less time installing drivers on each installation?
After installing XPSp2, do you want to save an hour or longer with several restarts while doing windows update?

Well, spend a couple of hours on this, and save a couple hours each time you run setup.

a DVDRW is highly recommended.
---------------------

I knew a few things about unattended setup.
I knew about MsBatch, sysprep, and answerbuilder, but these tools are not the most convenient when one wants a bootable installation disc that sees your non-supported hard drive controller and has to be able to run a repair session.
One could do that with these tools and some geeky knowhow.
Adding the needed drivers is tedious, prone to error, and per type of machine...
Not really what I want to spend my time on...

So, my goal was to build a "setup" CD that can see hard drives in just about all machines, and NO floppy required.
Well, I learned there is a huge "filtered" collection of mass storage and chipset drivers available.
That took care of that F6 floppy need.

BUT, people whom are going to install on a regular basis need still better.
Graphics cards, Lan and wireless, and sound driver installation can be a pain.
And some Post service pack 2 hotfixes might be NEEDED to successfully install some drivers...

Well, I was not the only person looking for a convenient solution..
I found a few projects about Hotfix packs and driverpacks.

They get processed in such a form that including all of them can be done while still using a 700 or 800 Mb CDR.
When Unpacked, you find there is approx 1.25 Gigabyte of drivers not included in windows in there.
The Hotfixes are also taking room.
When one integrates all the hotfixes and all the driverpacks, and removes nothing, you will need a DVD.
(That's not a bad thing in itself... On a DVDRW one can really go for roll-outs.)
If you use Nlite to slim it down BEFORE you integrate hotfixes and slipstream the drivers, you can get it to fit on a CDR.

I spent some time at these guys hangouts and learned, and tested and learned.
When new releases were in the works, I ran a great many tests on a few "exotic" machines.
These programs improve over time, and I will watch their evolution.
But I ramble..

For those of us that regularly run setup on a variety of new machines, here is something that works.
Actually, after a few runs, you find they are SIMPLE steps.

to fit on CDR: Nlite (slimming it down/other functions) and RVM (hotfixes/addons)
After that, Slipstream the Driverpacks with DPs_Base.

Using a DVD: RVM to include hotfixes and addons, maybe you want to use Nlite for some of its other functions.
The last slipstream is adding the Driverpacks with DPs_Base.

common to CDR /DVD, when done streaming, create ISO (usable for burn, for RIS or for virtual PC) or just burn.
--------

let's get into detail
=====================
RVM for HOTFIX and ADDONS

http://www.ryanvm.net/msfn/updatepack.html
This is the page for Ryan Vander Meulen's integrator.
You want Hotfixes, so get his RVM POST SP2 hotfixes pack.
You should also get his RVM integrator and while you are at RVM's site, I can suggest you also look at the addons.
If you want them, download them into the same folder.
I selected some I wanted IN, and also DOTNETFX with its hotfixes (which is a 28Mb download)
my experience with addons is that you best do them in the same session.

Note, at first glance, you can also use Nlite to integrate RVM's hotfix pack and RVM's addons, but at the moment, I will NOT use Nuhi's Nlite to integrate these....
--------

the source
in this example I'll use a HOME edititon.
copy your OEM home sp2 CD to a folder
eg, oemsp2_HOME
--------

The RVM integrator.
Get to the folder you downloaded RVM integrator and the RVM packs into.
Run the integrator, and browse it to the selected source for this session.

IMPORTANT
For some windows source CD's OTHER than English, if you want HD-audio drivers load correctly, this is a required setting.
so, check into this, even when nowadays the default is ON..
hit the advanced flag
tick to ENABLE advanced
tick to convert UNICODE TO ANSI
go back to MAIN

In the integrator, you can have it make a copy to a new folder for the slipstreaming.
(You don't need to, but it's handy when you are going to make variants.)
eg, oemsp2_home_hotfixed
This oemsp2_home_hotfixed folder would have the rootfiles and 386 folder only.
I suggest you copy the SUPPORT folder to oemsp2_home_hotfixed folder.
And in HOME editions copy the VALUEADD\MSFT\NTBACKUP folder to SUPPORT folder.
This way, you would have these valuable tools when you need them.

You can let it work without making a copy too, though.
Browse for selecting the update pack and addons, and then let it integrate...
You can build an ISO in the same session, but since you will slipstream a cartload of drivers later on, you don't do that.

------
-----
NLITE NOTES -->
Slimming down to fit on a CDR.
If you are going to use NLite (http://www.nliteos.com/) to make a build fit on a 700Mb or 800 Mb CDR, then PLEASE do not do this after you slipstreamed the Driverpacks .
I will also advise to not use Nlite for integrating the RVM hotfix packs.
I ran into a bug in NLite when it integrates RVM's hotfixes.
(well... ?? ?? a txt file like svcpack.in_ contained like 1.2GB ?? ??)

RVM works for RVM.
You most definately do not want to use N-Lite for slipstreaming the driverpacks.

Anyway, for slimming the source.
The upgrade-migration tools in the 386 folder are usually not needed..
You could delete these folders. I did.
The dotnetFX folder is not needed. (The hotfixed dotnet is newer)
You could do away with the components folder altogether if you don't use tabletPC component.
Move NTbackup folder into support folder (if it is a Home edition).
Delete valueadd folder.
I do NOT delete support folder (the tools are too valuable).
Then you run Nlite on that already slimmed down source.
I would suggest you remove the unneeded languages and unneeded keyboards.
Music samples, and the guided tour are also things you don't need
With just this, you've slimmed it down enough to fit on 700Mb.
I prefer to use Nlite FIRST, then RVM, and then DPs_base
Other reliable folks tell me they do RVM first, then Nlite, and then DPs_base.
All experienced users do the driverpacks slipstream with DPs_Base and do that as LAST slipstream.
end notes <--
------

Now let's get those drivers into windows setup CD.
http://www.driverpacks.net/
The files are under driverpacks.
you need DPsBase to roll them into the hotfixed folder.
If you want to avoid F6, you definately need mass storage.
Chipsets sit on moboes..
CPU for an AMD fix
Sound has been split into two files by now
Graphics has been split to Three
and LAN and WLAN are also found on main download page.
(there are third party driverpacks found on the site, which are most probably much less tested.)
download the files you want to same folder you downloaded DPsBase_xxxx.exe to.

Now, since you will probably do this more than once, make a folder for DPsbase.
copy DPs_base_xxxx to that folder and run it.
It selfextracts.
You'll find an empty driverpacks folder in there.
Copy the driverpack files you want to it. (third party packs have to go to thirdparty folder)

run Dps_Base.exe, hit the arrow to get forward
select DISC (which is the default), and click Browse.
Browse and point it to the oemsp2_home (or oemsp2_home_hotfixed) folder
if you want all drivers, you must use method 2
(It's the default.)
click forward
>> Note;
Method 1 is NOT your choice if you do ALL, as the path statement would become way too long.
The $OEM$ path statement can be only so long (1024 characters in windows 2000, and 4096 in XP), and the drivers in paths exceeding this statement Limit would be skipped. The paths are kept really short, but you won't ever get ALL in your build by using method 1....
<<

Select the driverpacks, and for avoiding F6, you HAVE to use TEXTMODE.
(since you use method 2, just hit the select ALL button)

If you plan on adding/shuffling many different cards in that box later on, you might want to select KTD (keep the drivers).
The default is to NOT use it.
Pretty soon you walked the arrows through all the pages, and you hit the slipstream button.
A couple minutes later it's done. (a method one slipstream takes longer...)
Check the size of your hotfixed and driverslipped folder.
(if you slimmed down the source, you can use a 700 or 800Mb CDRW)

Note;
CDRW or DVDRW highly recommended if you want to test different versions before burning finals for your toolsbox.
You should test these builds on a non-production machine.
After a few tests with optimised/automated builds, I think you will run the integrator and driverpacks base builder on all the sources you want slipstreamed versions of.
eg, If you have to do Retail CD versions, why not?
OH, you may want to do this to gold releases or older service pack versions..
Then you will want to first slipstream the current service pack, and then do the hotfixes after latest servicepack.
(Nlite, RVM integrator and autostreamer can all help you with that.)
The older the version you have is, the more time you save when you have to use that build.
====== =======

Make ready to burn.

NOTE; If you use a DVD, one could copy or add some other stuff to the folder before you do that. Tools and programs you downloaded and will put on the new machine can be put in that DVD... Some people actually have the DVD run unattended installation of additional programs. << end note


Now you CAN make an ISO with the integrator or Nlite, and the ISO will have a bootsector.
run the integrator or Nlite, and hit ISO.
Tell it where the source is at, where to save the ISO, and the label you want to give it.
Then hit MAKE.
Then burn the ISO.
--OR--

If you want to use a burning suite with selection pane (like in Nero), you need a bootfile image.
Isobuster can get it off the source CD.
Save it as IMA if you plan on using NERO.
I used NERO...
In nero burning rom
bootable DVD
select the floppy image file
set options to NO EMULATION
set SECTORS to 4
drag the files into the selection pane.
burn

test it
I think you'll love it.

After using it a couple times, you probably saved yourself a few hours already.
For issues with these programs, visit the forums these guys have.
----
notes about UNattended.
For new machines, you can have it set to automatically format.
(in DATA, autopartition=1 and in unattended Repartition=YES)
(you will probably NOT want to put the key in the winnt.sif for OEM installs.)

Maybe you don't want to use FULL unattended.
A Winnt.sif you had created and use should be in the 386 folder before you run DPs_base
it makes a backup of it and it adds its entries to it.
If you didn't have a winnt.sif yet, a winnt.sif is created by DPs_Base...
This will still allow you to get to RECOVERY CONSOLE when you need it..

You CAN use a non-full unattended WINNT.SIF file.
You can make it NOT automatically go to the partition without windows
in DATA, autopartition=0
in [unattended] remove the line with "Repartition" or set it to Repartition=0
(in [unattended] you can also set it to leave filesystem alone... FileSystem=LeaveAlone).
Note; autopartition=1 is the default if that entry is not seen in the txtfile.
(That is how Windows can surprise you by ending up on another partition after an attempt at repair setup.)

I think that when you already rolled out a few and use your own winnt.sif files, you know more than I do.
----
----

NLite can help you make a WINNT.SIF for full unattended..
Oh, I have used Nlite to roll just the FEW drivers on the floppy into a disc a few times, but this driverpacks package has like 1500 different devices... and Nlite fails when it has to do all the packs.
It also breaks the driverpacks if it is run after BPsBase slipped in those driverpacks.
But I ramble.

so, having done several tests, I will go for what works.
in short;
after Nlite for slimming, RVM, and after RVM, DPs_Base.
Either make an ISO and burn it, or use NERO with a bootfile image.

TESTING.
Do not risk data, use a machine that can be formatted anytime for your tests.
The real tests are done on real machines, but one can use virtual machines too.
Virtual PC is a free Microsoft download.
-----------
-----------
If you just want to avoid the F6 floppy, mass storage and chipsets is all it takes.
If you have only these packs, you can use method 1, and textmode.

At the driverpacks site.
each download page has a changelog and supported drivers listing.
For instance, sound B
http://www.driverpacks.net/DriverPacks/DriverPack_Sound_B.htm

a last note; Vista recognised my raid chips in that exotic machine...

Mikorist
December 30th, 2006, 09:31 PM
Hi, Jaak.
;)

This is Last Session.ini for nLite.Can run on just 41.5Mb of RAM that supports MS Office, laptops, and still has Firewire support and LAN Drivers, DHCP Client Service intact etc.This is designed for games more than anything else, but you should find it works with most software that people use every day. Sound Controller drivers are also included.This work with Windows Xp ,Windows 2000 and Windows Server 2003...

Last Session.ini

[Tasks]
Remove Components
Patches
Tweaks
Options

[Components]
;# Applications #
Accessibility Options
Briefcase
Charmap
ClipBook Viewer
Defragmenter
Games
Internet Games
NT Backup
Pinball
Screensavers
Wordpad
;# Drivers #
Asynchronous Transfer Mode (ATM)
Cameras and Camcorders
Display Adapters
Display Adapters (old)
IBM Thinkpad
InfraRed
ISDN
Logitech WingMan
Modems
MultiFunctional
Portable Audio
Printers
Scanners
SCSI/RAID
Sony Jog Dial
Tape drives
Toshiba DVD decoder card
;# Hardware Support #
ATM Support
Bluetooth Support
Brother Devices
Gravis Digital GamePort
Logical Disk Manager
Multi-port serial adapters
Secure Digital host controller
Smart Cards
Sony Memory Stick
Teletext codec
Video Capture
Windows CE USB Host
Windows Image Acquisition (WIA)
;# Multimedia #
Acm Core Codecs
ActiveX for streaming video
AOL ART Image Format Support
DirectX diagnostic tool
Images and Backgrounds
Intel Indeo codecs
Luna Theme
Media Center
MIDI audio support
Mouse Cursors
Movie Maker
Music Samples
Old CDPlayer and Sound Recorder
Speech Support
Tablet PC
Windows Media Player
Windows Media Player 6.4
Windows Sounds
;# Network #
Active Directory service
Client for Netware Networks
Communication tools
Connection Manager
FrontPage Extensions
Internet Connection Wizard
Internet Information Services (IIS)
IP Conferencing
MAC Bridge
Map Network Drives/Network Places Wizard
MSMail and MAPI
MSN Explorer
Netmeeting
NetShell Cmd-Tool
Network Monitor Driver and Tools
Network Setup Wizard
NWLink IPX/SPX/NetBIOS Protocol
Peer-to-Peer
Synchronization Manager
TAPI Application Support
TCP/IP Version 6
Vector Graphics Rendering (VML)
Web Folders
Windows Messenger
;# Operating System Options #
.NET Framework
16-bit support
Administrative Templates
Administrator VB scripts
Application compatibility patch
Color Schemes
Command-Line tools
Desktop Cleanup Wizard
Disk and Profile Quota
Disk Cleanup
Document Templates
DR Watson
Extra Fonts
FAT to NTFS converter
File and Settings Wizard
File System Filter Manager
Help
Input Method Editor
Logon Notifications
Manual Install and Upgrade
MS Agent
Private Character Editor
Remote Installation Services (RIS)
Save Dump Utility
Search Assistant
Security Center
Service Pack Messages
Shell Media Handler
Task Scheduler
Tour
Web View
;# Services #
Alerter
Application Layer Gateway
Autoupdate
Background Intelligent Transfer (BITS)
Beep Driver
COM+
Distributed Link Tracking Client
Distributed Transaction Coordinator (DTC)
DNS Client
Error Reporting
Event Log
Fax Services
Imapi
Indexing Service
Internet Authentication (IAS)
IPSEC Policy Agent
Management Instrumentation (WMI)
Message Queuing (MSMQ)
Messenger
Network DDE
Network Location Awareness (NLA)
Network Provisioning
Performance Logs and Alerts
QoS RSVP
Quality of Service (QoS)
Remote Registry
Removable Storage
Secondary Logon
Service Advertising Protocol
Shell Services
SNMP
System Event Notification (SENS)
System Monitor
System Restore
TCP/IP NetBIOS Helper
Telnet Server
Terminal Services
Text Services Framework
Volume Shadow Copy
WebClient
Windows Firewall/Internet Connection Sharing (ICS)
Windows Time
Wireless Zero Configuration
;# Directories #
DOCS
SUPPORT
VALUEADD
;# Compatibility #

[KeepFiles]
msconfig.exe

[RemoveFiles]
clock.avi

[Options]
CABRecompress
ClassicSetup
BlackSetupBack
GuestName = ""
AdminName = ""
ProfilesDir = "%SystemDrive%\Documents and Settings"
TargetPath = "WINDOWS"
temp_dir = %USERPROFILE%\Local Settings\Temp
isovol = WinLite
isoatt = -allow-multidot -no-iso-translate -relaxed-filenames -allow-leading-dots -N -l -d -D -joliet-long -duplicates-once -no-emul-boot -b boot.bin -hide boot.bin -hide boot.catalog

[Patches]
TcpIp = 16777215
UsbPoll = 125
DoUxTheme
DoSFC

[Services]
StiSvc,3
AppMgmt,3
AudioSrv,2
CryptSvc,2
HidServ,4
HTTP,3
HTTPFilter,3
IpNat,3
NDProxy,3
Netman,3
PlugPlay,2
ProtectedStorage,2
SamSs,2
SCardSvr,3
TapiSrv,3
UPS,3
xmlprov,3
LanmanWorkstation,2
RasAuto,3
RasMan,3
RemoteAccess,4
IpFilterDriver,3
IpInIp,3
DHCP,2
Browser,2
NetLogon,3
RpcLocator,3
NtLmSsp,3
LanmanServer,2

[Tweaks]
Desktop-Internet Explorer icon-Hide
Desktop-My Computer icon-Show
Desktop-My Documents icon-Hide
Desktop-My Network Places icon-Hide
Desktop-Recycle Bin icon-Show
Explorer-Add 'CMD Shell' to all Drives and Folders
Explorer-Advanced Search: preconfigure options
Explorer-Change Explorer Folder View to: details
Explorer-Classic Control Panel
Explorer-Disable Beep on errors
Explorer-Disable Prefix: Shortcut to
Explorer-Remove Send To on context menu
Explorer-Show all files and folders
Explorer-Show Drive Letters in front of Drive Names
Explorer-Show extensions of known file-types
Explorer-Show Full Path in Address and in Title-Bar
Explorer-Show Statusbar in all windows
Internet Explorer-Disable information bar when popup is blocked
Internet Explorer-Disable Market Place bookmark
Internet Explorer-Disable Media Player 6.4 created bookmarks
Internet Explorer-Disable sound when popup is blocked
Internet Explorer-Enable Google URL-Search
Internet Explorer-Keep IE URL-History for-50 Days (max recommended)
Internet Explorer-Set Homepage-www.google.com
Internet Explorer-Set Internet Explorer to accept 10 connects at a time
My Computer-Add Control Panel to Context Menu
My Computer-Add Device Manager to Context Menu
My Computer-Add Services to Context Menu
My Computer-Add Software to Context Menu
My Computer-Remove Shared Documents
My Computer-Show details in Device Manager
My Computer-Show non-present devices in Device Manager
Network-Disable automatic search for network folders and printers
Network-Disable restoring mapped network drives on logon
Network-Disable Simple File Sharing
Privacy-Clear most recently opened documents list on logoff
Privacy-Disable and Remove Documents List from Start Menu
Privacy-Remove Alexa Spyware
Security-Always show Updates under Software
Security-Disable Screensaver
Security-Disable Web Open With prompt
Speed-Disable Optimize harddisk when idle
Speed-Disable Tracking of Broken Shortcut Links
Speed-Do not cache thumbnails
Speed-Use Windows classic folders / No Tasks Sidepanel
Start Menu-Disable Highlight newly installed programs
Start Menu-Disable popup on first boot
Start Menu-Reduce popup delay
Start Menu-Remove My Music
Start Menu-Remove Search the Internet from Search
Start Menu-Remove Set Program Access and Defaults
Start Menu-Remove 'Windows Catalog' from Start Menu
Taskbar-Disable Balloon Tips
Taskbar-Disable Group similar Taskbar buttons
Taskbar-Disable Hide inactive icons
Visual Effects-Animate windows when minimizing and maximizing-Disable
Visual Effects-Fade effect on menus and tooltips-Disable
Visual Effects-Show shadows under mouse pointer-Enable
Visual Effects-Show translucent selection rectangle-Enable
Visual Effects-Show window contents while dragging-Enable
Visual Effects-Slide open combo boxes-Disable
Visual Effects-Slide taskbar buttons-Disable
Visual Effects-Smooth edges of screen fonts-Enable
Visual Effects-Use common tasks in folders-Disable

[Unattended]
UnattendMode = DefaultHide
ComputerType = Automatic
MaximumDataStorePercentOfDisk = 12
ProgFilesPath = "C:\Program Files"

[GuiRunOnce]

[Drivers]

[Hotfixes]