本文发表在 rolia.net/zh 相约加拿大网上社区枫下论坛
Actually the work was based on one of my colleague's work after his departure...
What we had been achieved was amazing (well, kind of): you boot up with a floppy, answer some questions like computer name, computer model, network card info etc., and then you just walk away. After about 40 minutes, everything is ready including:
- OS installed with *all* the drivers and the latest service pack
- workstation joins the domain automatically
- All the applications installed: ie5, MSO97/2k, acrobat reader, winzip, sap client, etc.
All that was done with a single floppy and a single installation source tree on the server. That one floppy includes support for about 10 different desktop model and about 6 laptop model, with about 8 different network card support (including pcmcia/cardbus). Support for more models and network cards can be added easily, subject to available space on the floppy. Yes, I used compression on floppy. Further more, I dug up ksh that was ported to dos cause command.com is next to useless.
OK, to answer your question:
- video card: if the driver comes in with inf only, you need to copy it to the source tree's drivers dir, then in unattend.txt instruct setup where to find the inf and the driver files. If the driver has a setup.exe, more than likely it was packaged using InstallShield, so you can make a silent installed out of it. Then, somewhere in the setup process you execute setup.exe -s and you are done.
- sound card: it's a bitch to set it up, as with other drivers you have to add through the control panel. In this case we use scriptit (from ms resource kit iirc) to send key strokes to dialog - not very reliable (sometimes screw things up if you are not careful), but it works.
Unattended NT 4 setup is not easy, since it is too old. Win2k is a lot better and easier, I had success on my first try.
更多精彩文章及讨论，请光临枫下论坛. 网址: rolia.net/zh