Sign in to follow this  
Followers 0
Desperandos

Automated Windows XP installation with Drivers, Updates, and Applications

16 posts in this topic

#1 ·  Posted (edited)

Hi to all,

You have a very helpful forum here. I’m a network infrastructure guy and not a programmer but I always try to be. It’s been a few weeks to try finding a way for making a full automated installation for my companies’ client PCs with all drivers for different PC models, applications like Acrobat reader – Microsoft Office – WinZip – Firefox and many more and windows updates all this to run from a bootable USB stick for a new Windows XP installation.

I have accomplice most of but I still need some help.

My task is

• Windows XP slipstreaming SP3 >>>DONE

• Windows XP include Drivers >>>DONE

• Create automated script for applications >>> In Progress

• Include the automated script in Windows XP >>> Not started yet

• Make a bootable USB Windows XP SP3 with Application CD >>> Waiting

Bellow is the work I have make in the “Create automated script for applications” task. Just have a look and tell if I can make it any better.

; DjVu Browser Plug-in 3.5 Installation
run ("DjVu_plug-in.exe")
WinWaitActive ("InstallShield Wizard", "Welcome to the InstallShield Wizard for DjVu Browser Plug-in 3.5")
Send ("!n")
WinWaitActive ("InstallShield Wizard", "License Agreement")
Send ("!y")
WinWaitActive ("InstallShield Wizard", "InstallShield Wizard Complete")
Send ("{ENTER}")

; Acrobat Reader 9.3 Installation
run ("AdbeRdr930_en_US.exe")
WinWaitActive ("Adobe Reader 9.3 - Setup", "Destination Folder")
Send ("!n")
WinWaitActive ("Adobe Reader 9.3 - Setup", "Ready to Install the Program")
Send ("!i")
WinWaitActive ("Adobe Reader 9.3 - Setup", "Setup Completed")
Send ("!f")

; Microsoft .NET Framework 3.5 Setup Installation
run ("dotnetfx35.exe")
WinWaitActive ("Microsoft .NET Framework 3.5 Setup", "Welcome to Setup")
Send ("!a")
WinWaitActive ("Microsoft .NET Framework 3.5 Setup", "Welcome to Setup")
Send ("!i")
WinWaitActive ("Microsoft .NET Framework 3.5 Setup", "Setup Complete")
Send ("!x")

; Firebird Database Server 1.0 Setup Installation
run ("Firebird_Database_Server_1.0.exe")
WinWaitActive ("Setup")
Send ("!y")
WinWaitActive ("Setup - Firebird Database Server 1.0")
Send ("!n")
WinWaitActive ("Setup - Firebird Database Server 1.0")
Send ("!a")
WinWaitActive ("Setup - Firebird Database Server 1.0")
Send ("!n")
WinWaitActive ("Setup - Firebird Database Server 1.0")
Send ("!n")
WinWaitActive ("Setup - Firebird Database Server 1.0")
Send ("!n")
WinWaitActive ("Setup - Firebird Database Server 1.0")
Send ("!Minimum")
WinWaitActive ("Setup - Firebird Database Server 1.0")
Send ("!n")
WinWaitActive ("Setup - Firebird Database Server 1.0")
Send ("!n")
WinWaitActive ("Setup - Firebird Database Server 1.0")
Send ("!i")
WinWaitActive ("Setup - Firebird Database Server 1.0")
Send ("!n")
WinWaitActive ("Setup - Firebird Database Server 1.0")
Send ("!f")

; Mozilla Firefox 3.6.6 EN Setup Installation
run ("Firefox_Setup_3.6.6en.exe")
WinWaitActive ("Mozilla Firefox Setup", "Welcome to the Mozilla Firefox Setup Wizard")
Send ("!Next")
WinWaitActive ("Mozilla Firefox Setup", "Setup Type")
Send ("!s")
Send ("!n")
WinWaitActive ("Mozilla Firefox Setup", "Summary")
Send ("!Install")
WinWaitActive ("Mozilla Firefox Setup", "Completing the Mozilla Firefox Setup Wizard")
Send ("!l")
WinWaitActive ("Mozilla Firefox Setup", "Completing the Mozilla Firefox Setup Wizard")
Send ("!f")

; Java 6 Setup Installation
run ("jre-6u20-windows-i586-s.exe")
WinWaitActive ("Java Setup - Welcome", "Welcome to Java")
Send ("!i")
WinWaitActive ("Java Setup - Complete", "You have successfully installed Java.")
Send ("{ENTER}")

; K-Lite Mega Codec Pack 6.1.0 Setup Installation
run ("K-Lite_Codec_Pack_610_Mega.exe")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "K-Lite Mega Codec Pack 6.1.0")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "Installation Mode")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "Select Destination Location")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "Select Components")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "Select Start Menu Folder")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "Select Additional Tasks")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "DXVA hardware acceleration")
Send ("{TAB 6}{SPACE}{TAB}")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "DXVA hardware acceleration")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "File associations")
Send ("{TAB 2}{SPACE}{TAB}")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "File associations")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "File associations for Media Player Classic")
Send ("{TAB 60}{SPACE}{TAB}")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "File associations for Media Player Classic")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "File associations for Windows Media Player")
Send ("{TAB 1}{SPACE}{TAB}")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "File associations for Windows Media Player")
Send ("{TAB 47}{SPACE}{TAB}")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "File associations for Windows Media Player")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "Thumbnails")
Send ("{TAB 40}{SPACE}{TAB}")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "Thumbnails")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "Speaker configuration")
Send ("!n")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "Ready to Install")
Send ("{TAB 4}{SPACE}{TAB}")
WinWaitActive ("Setup - K-Lite Mega Codec Pack", "Done!")
Send ("!f")

; QuickTime 7 Setup Installation
run ("QuickTimeInstaller.exe")
WinWaitActive ("QuickTime for Windows", "Welcome to the QuickTime 7 Installer")
Send ("!n")
WinWaitActive ("QuickTime for Windows", "License Agreement")
Send ("!y")
WinWaitActive ("QuickTime for Windows", "Destination Folder")
Send ("!i")
WinWaitActive ("QuickTime for Windows", "QuickTime Installer Completed")
Send ("!f")
WinWaitActive ("QuickTime for Windows")
Send ("!No Thanks")

But the most help I need is in the “Include the automated script in Windows XP” task. This one I have no clue how to accomplice it.

I also need to extract a winzip or winrar package to a specific location let’s say c:\program files\

Any help will be appreciated.

Thanks for your time

Edited by Desperandos

Share this post


Link to post
Share on other sites



Take a look at this tool I have used many time in my Information Technology line of work.

http://www.autoitscript.com/forum/index.php?showtopic=116475&view=findpost&p=812672

If you have any issues with it, let me know. It is pretty strait forward to use.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

How to install Windows from USB- WinSetupFromUSB

Read RunOnceEx for applications install

Search for silent install switch

For net framework:

http://www.msfn.org/board/topic/108344-net-framework-35-silent-installer/

Firefox :

setup.exe /s

start /wait setup.exe /S /C=%programfiles%\firefox

Quicktime:

msiexec /i Quicktime.msi /silent

...

Edited by Tec

Share this post


Link to post
Share on other sites

Take a look at this tool I have used many time in my Information Technology line of work.

#812672

If you have any issues with it, let me know. It is pretty strait forward to use.

Hi thanks a lot for the quick reply but i have this warning

[#103139] You do not have permission to view this forum.

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

You need to make a few more post to be able to see the chat forum.

Yes that's right i now have the appropriate permissions i will try it and lets you know if i will need "more help".

thanks to all

Edited by Desperandos

Share this post


Link to post
Share on other sites

You need to make a few more post to be able to see the chat forum.

How many posts are needed?

Share this post


Link to post
Share on other sites

http://www.autoitscript.com/forum/index.php?showtopic=37739

Thanks

Share this post


Link to post
Share on other sites

Hi i used a great couple of programs to assist me a while ago and thought id share with you. One was called windows unnatended cd creator and can be found at the following link WUCD also a program called ussf which works out the silent switches for most installers and programs its very easy to use. Its included with the windows post installer download pack which can be found at wpi. This program is great for including in your windows installation. upon completion of your install you can set it to autorun with a timer and the programs you wish to install however if u stop the time you can amend the installs as needed to suit each computer. You can change the theme to suit yours or companys needs so its branded and im sure it also creates a log too including any errors.

Hope this was helpful

jamie


Drunken Frat-Boy Monkey Garbage

Share this post


Link to post
Share on other sites

sorry previous wpi link didnt work its www.wpiw.net


Drunken Frat-Boy Monkey Garbage

Share this post


Link to post
Share on other sites

sorry previous wpi link didnt work its www.wpiw.net


Drunken Frat-Boy Monkey Garbage

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0