Automated Vista installs made easy

James Bannan
18 August 2006, 6:25 AM


Vista makes it easy to avoid having to sit there clicking the next button ad nauseum during the install process. Now there's a dedicated program that helps you script the install process. Here's how to do it.


Vista's System Image Manager (SIM) is a GUI program that allows you to create "answer files" for unattended installations.

Answer files are like the old "unattend.txt" file in 2000/XP that allowed you to preset all the options for the Windows install process so you wouldn't have to sit in front of the PC clicking next, next, next ad nauseum.

Vista's answer files are better planned out than the unattend.txt file was. They're saved in well structured XML so they're much easier for other programs to parse and work with.

That said, they're harder for a human to read, so Microsoft has created SIM to provide a decent graphical interface for configuring your own answer file.

SIM is the third key tool in Microsoft's Windows Automated Installation Toolkit (WAIK) which I've covered previously in the following articles:

SIM is broken up into five main areas:

Distribution Share - these are folders that you can specify for Windows to pull drivers and applications from. You can’t modify a distribution share itself within SIM, you still have to do that at the file-system level, but you can now use SIM to easily update the answer file to point to the right places.

For example, if you have some third party drivers stored in the share, they will be visible in SIM. Right-click “Out-of-Box Drivers”, and you can insert the driver path into a particular area of the answer file, where it will be referenced during install.

Windows Image - each answer files you create is tied to a particular install image, so this is where you can open the image and browse its contents.

The image file is a WIM, but it’s not mounted in the same way as ImageX, in that it can’t be modified -- this is for browsing only, for the purposes of creating the answer file.

SIM reads the contents of the WIM, asks which image is to be used (in the case of multiple images), and creates a catalogue of its contents. You then use this catalogue within SIM to add features, products or other components to the answer file, instructing Vista to reference them at the appropriate point.

For example, if you expand the feature pack section, you can find a component you want to be installed during the unattended Vista installation, then either right-click and select “Add to Answer File” or simply drag it to Packages in the answer file.

Answer File - like the other section of SIM, the answer file just gives you a graphical representation of how the answer file has been modified, what components have been added in and where.

Right-clicking on the file name allows you to directly add components into the various sections of the file.

As mentioned at the top of the article, the answer file is an XML file which resides in the SOURCES folder of the Vista DVD structure once it is saved.

You can of course edit it directly with Notepad, but SIM is a better tool because you don't have to make sense of endless tagged XML -- something like trying to read the source code of a web page.
The benefit of answer files in Vista being standardised in XML is that they can be used across different distribution methods, like remote deployment or SYSPREP.

Properties - the Properties window gives you a run-down of the metadata information of whichever component or package you’ve selected.

Some installable packages have the option of customisable settings - for example you can select a package which gets installed by default, add it to the answer file and select “Remove” to have the answer file delete the package during the install.

Messages - finally, the Messages window constantly monitors the answer file as you modify it, and alerts any potential problems relating to the XML, to file validation or the configuration. It’s a useful visual tool, when and if things don’t quite work.

All-in-all, the SIM is a great tool that's well laid out and quite intuitive to use once you understand the basic functionality.

There’s no doubt that the new imaging and installation methods in Vista are far superior than those currently available in Windows XP, but they are intrinsically more complex to get working.

Tools like System Image Manager are a blessing for sysadmins, as they help streamline the whole experience, minimise lost productivity and get you up and running on no time.


Post your comment



Comments

RSS feed Email alert

halcon:

How very interesting propaganda!
The dirty rotten bastards of Microsoft team are no wasting time to hype up that useless crap, so people rush out to do the buying frenzy.
I am tired of Micro$oft and their Vi$ta software, I am completely sick to read more misleading praises to the ultimate defacto god Microsoft!
Its time to see a better alternative, at the moment there is no real competition and you guess it the winner is Microsoft, they are laughing all the way to the bank after a lot of people have bought expensive products that leaves them dry and empty handed, Now is this fair?!

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

James Bannan:

Sorry, in what way is this propaganda? Or do you think that anything which comes out of Microsoft (sorry, Micro$oft) MUST be propaganda by its very nature?

Just because people don't like Microsoft or what they stand for, doesn't mean that each and every product which rolls off their production line is automatically inferior. That's simply biased and blinkered thinking.

You want alternatives? There are always alternatives, if you're prepared to make the effort and look. But clearly sitting on the sidelines and sniping from behind an anonymous handle is much easier to do.

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

Tin:

Hmmm, interesting theory... Somehow I suspect it's not going to be much different to unattended.txt apart from the fact that it's now more complex than plain text.

I'll bet most of the limitations are still there.

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

Peter T:

Amazing! Imagine our future - having an OS that basically installs itself without constantly asking questions and needing to re-boot.

What's that you said? Linux has been doing it for 10 or more years!

To actually have the gall to advertise such a feature shows how M$ is based more on propaganda than substance. But of course, reading the article gives the impression that this 'new development' is not for the 'average' Vista installation; rather, it is a special feature for sys admins.

So, by implication, the average person will still be at home, sitting in front of their computer for hours and waiting for it to ask questions and to re-boot.

Can someone please remind me, why is it that we actually use M$ products?

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

Craig:

Because the average every day user would find LInux so easy to set up and install. Not!! This is not something that is ment for every user, it is meant for system builders and it is something enthusiast will tinker with. The one thing I have learned over my ten years as an enthusiast, is that the average user will never need a tool like this, because the average user never needs to reinstall windows. My wife’s laptop for instance is 2 years old and still running perfectly well, my PC on the other hand needs a fresh install every few months, because I tinker and inevitable do somet which breaks windows. That is why I will use this application and my “average user” wife will never need it! Linux is not ready for the average user in any way shape or form.... yet! So stop harping on about how Microsoft(M$) have come up with, yet another tool that is no good for the average user!

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

James Bannan:

Actually Peter, unattended installations and answer files have been an option for every version of Windows since Windows 95.

And no, it's not just a feature for sysadmins, although we are obviously going to find it the most useful. Home users can make full use of answer files, and they are very easy to create. APC have done a number of features and workshops on how to use them - get in touch with the magazine and I'm sure they'll be happy to send something through.

And the new-ness of the feature is that it's now XML-based rather than text-based, which enables a single to be used across various deployment methods, as I stated in the article.

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

Robert:

Can the Linux zealots possibly refrain from the endless biased comment. I am sick of it, I'm sure good APC journo's like Mr Bannan are sick of it as well, as are many others.

There's nothing wrong with constructive criticism, but the childish banter about which vendor invented a feature first is becoming tiresome. Steve Jobs' recent keynote was a bore with his perennial references to Redmond "photocopiers" but ironically he introduces Leopard features that are near replicas to features in released prior in Windows XP. It is a circular argument and its old. Enough already!!!

Microsoft's software is the most widely used around the world. They are not the be all and end all, but neither are the equivalents from Linux vendors. I for one, am pleased at the developments in Vista. Windows still remains the most versatile operating system available and when promising improvements are made, Microsoft should be commended.

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

Peter T:

I am not a Linux zealot. I actually have moved away from using Linux and now solely use MS. I have never believed that Linux is a saviour. Likewise, nor do I accept the same of MS. I moved-away from using Linux because users found it too complicated to use.

But the issue still remains that many of these alleged new features of Vista remain highly questionable. Very few 'average' people are going to be able to make sense of how to use it. There are not a lot of 'average' users with the skill to create an unattended text file, let alone an XML file - they may as well be writing in Swahili.

The end result is that they will continue spend hours in front of a computer answering questions and waiting for re-boots.

That is the issue and let us focus on that as the issue. Windows does require quite a long time to install and for the 'average' person it will continue to take a large part of their time because it would seem that there is still not a decent installation program.

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

James Bannan:

Peter - I'm sorry but did you actually read the article? The whole point of SIM is that you don't HAVE to write in XML. Of course writing in pure XML is difficult and no-one assumes that home users are going to be able to do it or would even want to bother.

Additionally, creating unattended TXT files from scratch has never been a requirement either - Microsoft have always provided tools to automate the process.

And finally, have you ever done an installation of Vista? It's THE most streamlined installer Microsoft has ever produced. Apart from the initial questions of where you want to install the OS and your product key, there is no interaction needed until the personalisation right at the end. Even popular Linux distributions like Fedora and OpenSUSE require far more interaction than Vista does. It's also the quickest Windows installer yet, despite being larger than every previous version.

Microsoft have done a damn good job with the installation process and tools.

So THAT'S the issue. Users will NOT have to "spend hours in front of a computer answering questions and waiting for re-boots". My advice to you is to get hold of a copy of Vista and try it out. Hell, I'll even send you one myself.

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

Peter T:

Hello James,

Yes, I have read your article. If MS have developed an installation method that is superior to others, then that is absolutely wonderful and one I look-forward to using.

Howwever, there is conflict within your article. You discuss how easy it will be to use you also state it will be intrinsically more complex and a blessing for sys admins.

"There’s no doubt that the new imaging and installation methods in Vista are far superior than those currently available in Windows XP, but they are intrinsically more complex to get working.

Tools like System Image Manager are a blessing for sysadmins . . . "

If I am misunderstanding something, then I apologise, but the words I am reading, those I am directly quoting from your article, are telling me something quite different to what you are now blogging.

Regards
Peter

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

James Bannan:

Ah OK - I see where the confusion is coming from. I probably should have been clearer.

I was trying to get across that by definition, XML-based answer files are more complex than TXT-based. Understandably, as Microsoft are attempting to unify the current various methods of creating answer files into a single system. And seeing how WIM files and images use XML a lot, it makes sense that XML should be the language of choice.

However, creating XML answer files is only really difficult if you try to do them manually, and as you mentioned, no-one is going to jump at that opportunity.

So, SIM makes the whole answer file thing much easier to work with and very accessible. In this way, it certainly is a blessing for sysadmins who will use it often, but it's also an accessible tool for home users, making a more complex technology easy to work with.

But as I mentioned, even without the answer files, installing Vista is a far better experience than XP - faster, smoother and with only a fraction of the interaction.

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

halcon:

Hello james:
You are biased favouring Microsoft, just because you write the articles for the APC magazine.
I vent my frustration that Microsoft is an arrogant company, YES as you read well, the filthy bastards make a lot of variants from a single product putting colourful names like "professional" "Standard" and probably we will see "Ultimate".
They manufacture inferior quality software for those who cannot afford it and present the not so very best to those that can pay a lot, how about that!!!
Yet Vista is another fiasco, some of the foolish praise the cosmetic changes that will ship with the product, and some variants of it.
You say I am hiding behind an alias, there is nothing wrong with that, I have always bought legitimate products, yet there is other people who write to leave their comments that condone piracy!
I don't think piracy is good, however many people risk their skins just because they cannot afford to buy a decent software, and this situation is not good too!
Microsoft and their fellow software companies are guilty of making a lot of money and not providing a good consumer satisfaction.
they dictate irrelevant terms as if the users should adhere to it like or not, such conditions are an insult and abuse for those who have paid for it.
Microsoft and their fellow software companies are Pirates with license, because they raid the pockets of the people; when a software is bought it should last longer as is with the electric appliances, however, this is not the case.
with excuses of "innovation" we are always bombarded with all the media blitz to rush and buy the so called "latest and greatest".
It is time that our lawmakers awake and do something about it, is not fair that they take advantage of the user and get away with that; all this is done in the name of "progress"
enough is enough, am sure other people will feel the same.

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

James Bannan:

Dude - are you saying that APC is biased towards Microsoft? I'm afraid I have to utterly refute that allegation.

If any IT publication attempted to provide industry coverage based on market weight, it would always lean towards MS, for the blindingly obvious reason that they have such a massive market share.

But APC provides more coverage of OS X and Linux than probably any other PC magazine in the market, because, as the longest-running PC mag in Australia (20+ years), we have a community of highly competent users that are interested in operating systems across the board, not just Windows.

And, if you actually read our coverage of Microsoft broadly rather than making assumptions, you'll see that we never give Microsoft a free kick... if an implementation of a feature isn't good, we say so; if a Microsoft business practice stinks, we say so; if another operating system has already done it better, we say so (but we might still recognise that it's good that Microsoft is catching up to feature parity for Windows users).
Arguably, there's always more to cover with Windows, but that doesn't mean we're some Redmond spin-off. (And before you raise it, yes, we are an affiliate site of NineMSN, but all that means in practice is that they sell the advertising spaces on our site... they have zero influence on our editorial coverage).

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

James Bannan:

And while I agree with your general comments about piracy, are you drawing a direct link between Microsoft and piracy? How about world poverty, global warming and the fact that that nasty kid picked on you in the playground when you were seven?

Come on....

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

Declan Kennedy:

"You are biased favouring Microsoft, just because you write the articles for the APC magazine."

And this is where I draw the line.

I disagree with James about a lot of things, but neither he, nor our magazine's editorial coverage, is in any way influenced by Microsoft.

Yes, Microsoft owns half of the company NineMSN, which sells advertising to support our costs. And that means... I insert a couple of snippets of javascript into the markup I write. Gee, how's that for influence eh?

Have you noticed how the site is served from a (open source) Red Hat machine running (open source) Apache? And is made using (open source) Wordpress, written in (open source) PHP, on an (open source) MySQL database? Lordy! We must be a pack of shills!

Maybe you might have noticed the fact that when James isn't critiquing Microsoft's questionable choices in their software, he's usually just explaining how it works. NOT brainwashing you into using it.

From now on, this garbage will not fly. If you want to accuse somebody of being a shill, have the guts to use your real name. James is happy to stand behind everything he has written and defend it on merit, and I'll gladly stand with him.

Can you say the same about your own opinions?

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

Luke Evans:

I actually enjoy sitting there watching the software install and answering questions.

Might explain why I have never had a girlfriend

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

James Bannan:

Well dude, if you can find someone who shares your passion, you're all set! Maybe someone in market research?? :-)

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

Karl Hartmann:

here here Declan....
It is so easy to sit and criticise anothers efforts or products. Lets face it, we all do it from time to time, but only the few will find the need to 'crusade' the point ad nausium.

I myself am looking forward to the new Vista platform, and in fact i am running the Beta2 version at home - even though i am writing this from my openSuSe installation. I am in the IT industry and applaud any attempt to stream line the process of deploying systems within the enterprise. I don't care if it is confusing for the average user - it just makes me feel a little more secure in my current job if people with a little bit of IT savvy are required still in order to roll out these platforms.

I find that the APC columists are fair and reasonable in their comments on any flavour of technology, be it Microsoft, Linux or Mac. It just inspires me to install another OS on my laptop just to give it a go - hence my SuSe installation!

Just ranting on a topic that is almost irrelevant to the topic discussed in the article merely reflects the closed, negative attitude of the 'rantee'.

Keep up the great work APC gurus... I for one wouldnt be without my monthly subscription!

Karl

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

David Ferguson:

I have been using PC's Since before DOS. Ive never see an OS install so fluidly as vista. No Linux based install that I have seen can come close to the simplicity of the Windows Vista install experience.

For one, there is NO dos/text based setup - Its all done in a true mouse driven GUI, the questions asked are minimal and essential to the install of the OS - nothing is asked for that isnt required.

The installer doesnt rely on dos based cd drivers, or suffer from any of the limitations of the older DOS based installers we have got used to over the years with previous versions.

Vista is arguably the most sofistocated OS on the planet - and for 99% of home users the ~30 minute install will be painless. For those wanting to automate mass installs for corporate environments or to simply streamline installs for home use the new automated install systems are really great news.

As for Microsoft marketing propoganda rather than substance as Peter T suggested this is just rubbish. Vista has more substance than ANY previous OS release. New sub systems/API's that on the surface dont appear all that special to the end user will flourish over the years as they will allow developers to create applications that have never before been possible.

As for halcons comment about Microsoft selling inferior quality software at incredible prices - a dead blind man could tell you that Microsoft Windows is of the highest quality of any consumer operating system. They support their releases for many more years than I would expect. Who here thinks they should really be providing support for Win 98? NOT ME!

Truth is, Windows XP is the best OS they have released - sure it has had its issues, but they have been fixed - for free (as they should). Im sure Vista will be the same.

For all the naysayers out their, download the vista beta 2 and time its install and count the number of questions asked and then post back with some INFORMED comments.

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

anonymous user Anonymous user