Build your own Vista install DVD

James Bannan
24 July 2006, 9:35 AM


The fact that the Windows Vista install DVD is just one big pre-installed system image makes it surprisingly easy to build your own disc with patches, drivers and even applications pre-installed.


The bottom is about to fall out of the market for imaging tools like Symantec Ghost: Windows Vista is based entirely around Microsoft's own system imaging technology. The Vista install DVD is, in fact, just one big system image.

In the XP world, most advanced users are used to customising the Windows install disc. It's a straightforward, if tedious, process to slipstream service packs and patches, add extra drivers and create answer files that allow XP to install with no user input.

But this flexibility only extends to the installation of Windows itself. To clone a full system with apps installed, Symantec Ghost or a similar utility must be used to create that image.

However, all this is about to change. Windows Vista is based entirely around Microsoft’s Windows Imaging Format (or WIM), a file-based imaging standard rather than a sector-based. this means that the image isn't a bit-for-bit image of your disk layout, and hence you can apply the image to a new system without destroying the contents of the hard drive.

Also, Vista is hardware-agnostic, so you can use a single system image as a source for multiple hardware platforms, even if they have quite different hardware configurations.

Being file-based also enables certain features which will prove seriously useful. When capturing a system to a WIM file you can specify exclusions. For example, you can have a work directory on the system with temporary data. Instead of having to clean it up every time you can simply exclude it from the capture. The same applies to session-based files like the pagefile - it will be recreated when the system boots anyway, so why waste space?

Single-instance files are another advancement. WIM files can store more than one image, so you can have multiple system configurations stored within the one WIM, but to avoid image bloat single instancing checks each file referenced in each image. When more than one image references the same file (for example, almost the entire contents of the C:\Windows directory), the physical file is only stored once within the WIM and every image which references it is directed to that copy. Each file stored in a WIM is assigned a unique SHA-1 hash, so version integrity is assured.

Interestingly you can have as many images contained within one WIM file as you think you can manage, and any one of them can be marked as bootable.

All WIM images feature one of two compression technologies - LZX or XPress. LZX gives greater compression when space restrictions are an issue, and is the option of choice when installing from fast media like a DVD.

For CD/DVD-based installs, WIMs can be split into multiple SWM files for media spanning. XPress is a faster compression algorithm, and gives the best performance when deploying the image across a network.

Compression along with the single-instancing means that WIM-based images will offer major space-saving benefits over traditional imaging formats like Ghost. Of course, it’s not an all-in-one imaging solution. It’s still dependent on delivery systems like SETUP.EXE, SMS (Systems Management Server) or WDS (Windows Deployment Services - the successor to RIS, Remote Installation Services). But that’s no different from any other imaging system.

In the next blog update I’ll go through the Microsoft tools available to interact with and customise WIM images - it’s seriously cool stuff!

RELATED


Post your comment



Comments

RSS feed Email alert

Francesco:

file based image? wow! looks like they re-invended tarballs ;-)
Seriously, it looks nice. I always wondered why system installs aren't done like this since win 95.

Fra

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Ashley:

Imagine how many years ago someone else would have made this same software if NTFS was an open standard. Instead, it's closed, proprietary, and after 13 years, we've only just managed to get write support under Linux.

Bravo, Microsoft. Truly innovative.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Horacio:

Great, MS invented TAR!!
This is how I make my install images.
The big issue is not the WIM images, that seem like big TAR archives, but that they now will have an OS that is hardware agnostic.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Oops!:

I think you have the compression schemes confused.

Xpress, the faster compression is better for DVD and/or fast media.

LZX compresses better, therefore better for a network install.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Krellan:

Congratulations on making a self-booting DVD that has a compressed operating system and applications, completely self-contained for use as a rescue disc, but also installable to the hard drive if the user chooses.

Good going, Microsoft, you invented Knoppix!

Pat yourself on the back for this true "innovation".

Seriously, a live OS running on a bootable CD, that autodetects hardware and isn't tied to a particular motherboard, is a big plus for Windows. All installs should be done this way, as then it makes doing an OS install trivial: just copy files to the hard drive. No need for a special full-screen installation program that can only be ran once and doesn't let you do anything else during the install. (Something Red Hat could learn from: the Anaconda installer is seriously dated.)

I think Microsoft was starting to get worried about the popularity of self-booting USB thumbdrives and rescue CD's, and figured they had better do something to keep people hooked to the Windows wagon. I could see Microsoft thinking about people wanting to carry around their own "personal system" installed on a USB thumbdrive, and defecting to Linux as a result.

Remember, Microsoft, it's all about "protecting the right to innovate". If the maker of Knoppix had his ideas copyrighted and patented, and kept a few powerful lawyers on retainer in the United States, you'd be singing a different tune now....

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Smiddi:

So will the developers of TAR and Knoppix sue Microsoft for stealing their ideas?
- Probably not.
Im sure if the shoe was on the other foot, Microsoft would be throwing around sopena's like lollies at a kids party.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Declan Kennedy:

"If the maker of Knoppix had his ideas copyrighted and patented, and kept a few powerful lawyers on retainer in the United States, you’d be singing a different tune now…."

Or, as is usually the case with Microsoft, the creator of Knoppix, Klaus Knopper, would be singing "I'm in the money!" as they throw cash at him so that he doesn't sue...

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

M. Sindayen:

Live CDs and tarballs are very popular with Linux based systems. This thing to me looks like a classic case of Ignore, Ridicule then Copy from Micro$oft. What do we copy next Micro$oft???

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Alex Le:

Well, this is excellent news for pirates people and poor 3rd world countries. Instead of wasting time installing windows, people can download or buy the CD/DVD with vista for $1 and have it ready in like 10 minutes. I'm doubtful that the WIM file (probably M$ proprietary stuff again) will be of much useful to stop crackers from craking it. They can very much unpack it, crack, then pack and generate another "genuine" SHA-1 #. That's innovation right there.

Yay!

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

ikyouCrow:

jeez, you guys! we've had WinPE for years! the only differences being that it wasn't compressed and didn't have a GUI. remember that blue thing you'd start installing XP from? or the first reboot when it ran the setup frontend?

also remember that the winpe on the vista dvd is a completely different image from the one used to install the os.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

ivander:

Oh! got to love this people... Seriously, i don't see the point in bashing Microsoft for every single thing they do. If you don't use Windows, shut up. If you do, then appreciate those innovations (yes, innovations in the terms of microsoft). Good changes are welcomed, better late than never.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

varsendagger:

i would really like to know how the software giant that is know for being bloated is ever going to get over that at this rate..... there are toomany speed freaks who know that their machines aren't being used for their full potential....


ohhwell


good for them.... i think it will be cool none the less.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

torpedeitor:

OMG! #11, MS innovation? when? what? I've not seen anything "new" (read: something not based in or similar to another software) from the redmond crowd since QBASIC... even thought NT 3.5 kernel is large inspired in OS/2 and VMS...

I don't think that this is such a bad thing I find MS disturbing because their propaganda machine have started to flood us with their propaganda with new (as a reinvented wheel) tools.
Now I wonder which "new" tools we will have soon... bash-like command line? text based configuration files?

duh!

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

meh:

You're all so clever. Whatever they do, you'll be there to bash them.

If your precious *NIX OS's were as great and inventive as you all claim then they'll have their day, right??
You guys dont know shit.. And, more importantly, nobody gives a flying **** what you think you know and what you mean.

Now, crawl back to whatever you came out of and wait for the next thing to attack.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

shiranai:

HA HA HA HA!!! #14, you're da man! I was just about to come in here da same. I truly don't see why people insist on bashing MS so much; like M$ killed their parents or something.

Seriously, I personally don't care about Macs or Linux so guess what...I DON'T GO READING POSTS AND BASHING THEM. If they are truly that great why would you even bother to read anything about MS? They've always sucked right? They've always had the inferior OS right? They will ALWAYS be behind right? So why the hell you all keep coming back for more.

It's a psychological issue, lol. You feel the need to bash MS because your OS is inferior. Really you guys are wasting time...go read a Linux/Mac blog and glorify it there. Leave us with our inferior Windows.

Cuz like #14 said...we don't give a rat's @$$ what you think.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Declan Kennedy:

"Cuz like #14 said…we don’t give a rat’s @$$ what you think."

In the kingdom of the blind, the one-eyed man is king. Serf.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

James:

"The bottom is about to fall out of the market for imaging tools like Symantec Ghost"

"But this flexibility only extends to the installation of Windows itself"

How is this a fall out to Symantec? Okay so administrators have more power on creating a front OS specified to clients. But when admins need a application that bundles the OS, Apps and Required Drivers that can be deployed in minutes over a network Ghost is superior.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Dan Warne:

Well, XImage does full system images in WIM format, not only Windows images. Those images are hardware independent.

Of course there will still be a market for Ghost in 2000 and XP imaging, but it's unlikely its sales will do anything but drop once WIM is out there.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Tram:

I don't believe Ximage will support multicast like ghost. At least from what I have read. So those admins imaging more then one machine will most likly stay with Ghost.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

DX:

hmm.. We use nlite to do simular installations at work for customer PC's.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

David:

Hmmm... Since Symantec Ghost was used in the article, I'm wondering if James has used Ghost in the last five years. Has he ever looked at a Ghost image with Ghost Explorer and noticed the files that are shown? Ghost does file based imaging unless you specify a sector based image. Compression of the image file? Again, Ghost does that. Specify it using -Z0 to -Z9 on the command line or selecting None, Fast or High from the GUI. Exclusions? Got those as well.

It gives me very little faith in the author of an article when he seems to lack basic information about what he writes.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

James Bannan:

David - what are you talking about? I mentioned Ghost in the article but I didn't actually USE it in this instance. The article is about the imaging capabilities of the WIM image format and that's it.

And yes for your information I've been using Ghost for about the last seven years.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

jrb:

i think there's a couple of issues people need to get over here

a) tars and live cds are all very well and good for the linux fold that use them - no one is saying that microsoft are better than another OS, or file format. The fact remains, that whilst windows administrators had windows PE, there were some well defined issues with the software, and for the most part these appear to have been addressed in pe2.0, and WIM. I don't know enough about creating live cd's, but my guess is that everything new in WIM and PE2 means something new that hasn't been seen yet, even in linuxville.

b) there are clear benefits from using a sector based image, compared to a file based image - these were discussed in the article. I use ghost for image capture and deployment, but do not use it for OS deployment - if only because the tool is far from user friendly, and the process of deploying an image to a new hardware revisions is far from streamlined. eg, if you want a new driver you can't inject it in a supported way in to the partition because ghost explorer doesn't (or didn't when i last checked) give write access to ntfs partitions, and using FAT and later converting to NTFS adds in additional uneccessarey steps, and security issues. Finally, lets not forget, ghost and the relevant backend software, and pxe environments are not free.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

jrb:

doh. obviously, point b should've read

"there are clear benefits to using a file based image, compared to a sector"

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Andy:

I think the criticisms are fair. Nobody could accuse MS of innovation and make it stick. they avoid this need, by using the vast wealth derived from the near-monopoly of Windows to buy innovative companies and rebadge the technology as their own. Very simple. And those who object to *nix users criticising MS for delivering less and later than many Linux (for example) OS's are being disingenuous. We all know full well, as has been pointed out, that if someone were foolish enough to copy one of MS's "inventions", they'd be swamped with litigation quicker than you can blink. Yes, it is indeed good when MS FINALLY decides to do things better, but let's not fawn at the feet of Redmond in admiration where it is not due.

My criticism of the latest Vista installs is that upgrading from one to another requires an inordinate amount of diskspace. I had to do a clean install of the pre-RC1 because my 16GB partition did not have enough free space to upgrade Beta 2. Then when I wanted to upgrade from pre-RC1 to RC1, the 26GB partition I had put that on, did not have enough space again (ONLY 12.2GB free, and amazingly when I used the MS tools (remove windows features and disk clean up the free space actually went down to 12.0GB - go figure!).

And after all that, there is still too much which does not "just work" with the RC1, so I hope things will improve further before RTM.

29 February 2008, 8:28 PM (4 years ago)report abuse Send to a friend reply

Stephen:

Microsoft have certainly 'used' the community to improve their flawed software, its like piracy in reverse... 'help us fix our bleeding edge operating system' and then pay us upto $496 for the privilage of using when you have fixed it! Revenge for all the cracked copies of WindowsXP out there I guess! Bet four years is not enough time to fix all of the faults in this blotware puppy! Oh well we will see.

29 February 2008, 8:29 PM (4 years ago)report abuse Send to a friend reply

Yoda:

Ah... there we have it again. The Linux haters and the Microsoft haters.

I agree, MS's "innovation" is not new.

And also, Knoppix wasn't the world's first live CD.

And also, Linux doesn't have much that Unix didn't have - all "innovations" in Linux came from the need to give compatibility with proprietary products that already existed (I'm thinking NFS/NIS, pluggable authentication modules, heirarchichal file system, network stack, and partitioning with Xen which is just about arriving). Either use the "we make new technology" trump card or use the philosophy trump card.

MS sucks! True. But saying they suck isn't going to make you more innovative.

No credit where it isn't due.

29 February 2008, 8:29 PM (4 years ago)report abuse Send to a friend reply

Erick:

I remember when it took me a while to get through an installation of XP on my old box, and now, I see this new image format, and installing Vista now, it's a lot faster (and might I say, simpler!)

I really think this image format is good (in terms of installing Windows) I really appreciate that it makes my day a little easier.

29 February 2008, 8:33 PM (4 years ago)report abuse Send to a friend reply

steven (New user):

can't play dvd on my computer it says dummy decorder.what can i do

04 August 2008, 3:43 AM (3 years ago)report abuse Send to a friend reply

annette (New user):

get Linux it just works especially PCLinuxOS WHICH CAN BE DOWNLOADED FROM THE NET....BELIEVE ME IT IS FAR SUPERIOR TO THE WINDOWS in all respects and has everything you'll ever need.

31 August 2008, 9:13 PM (3 years ago)report abuse Send to a friend reply

annette (New user):

Windows Vista is not worth the crap talked about it. I have had the unfortunate use of a Vista system and I can assure you it is hopeless. I cannot do what I was able to do on XP and even that is rubbish to use when compared to Linux which I now use exclusively. I can watch any DVD Film and get any music I want with no wga's and certainly no crashes. I am using PCLinuxOS (2008 edition) it runs and runs and runs, have had it going just over a week with no crashes, and no adverse effects on the system whatever. So, if you want to astop talking about Vista, get a life and choose your own version of Linux ... it is just as good if not better than anything Microsoft could ever produce.

31 August 2008, 9:06 PM (3 years ago)report abuse Send to a friend reply

anonymous user Anonymous user