Reply
Old December 22nd, 2005 Top | #1

OSNN Folding Team  
Steevo's Avatar
Spammer representing.
Joined: September 2004
Posts: 2,566
Blog Entries: 2
Reputation: 1630
Power: 136

Default Automated system install

If I were to build a system with out the harddrive and send it to my parents with all the drivers-software for everythign included on CD. Could I say make a autorun file that would copy a list of everything to to install on it, that places it in the registry runonce? Has anyone ever tried this?

I know how to use the reunonce, but will it work off a Cd-ROM or should I make it copy everthing to the HDD first.

The reason I ask is I am going to build them a new system, but they have a brand new 120Gb HDD in a old POS Gateway that I want them to use.

Meow.
Equal oppertunity hater.
Steevo is offline   Reply With Quote
Old December 22nd, 2005 Top | #2
 
madmatt's Avatar
Bow Down to the King
Joined: April 2002
Location: New York
Posts: 13,312
Reputation: 4090
Power: 297

Default Re: Automated system install

Make a bootable Windows disc.

Create a directory on the disc called $OEM$

Inside that directory create two directories:
$1 (directories/files in this folder will automatically be copied to C: during Windows installation)
$$ (directories/files in this folder will automatically be copied to the system32 directory during Windows installation)

Put a "drivers" directory inside the $1 directory. I usually break this down by type (i.e. Video, Audio, Network, etc.). Then you will see "C:\drivers" after the Windows installation.

I also put "install" directory inside the $1 directory. Then I create these two files.

cmdlines.txt
RunOnceEx.cmd

cmdlines.txt (Windows setup looks for this file during setup) calls the RunOnceEx.cmd file which is run during Windows setup. RunOnceEx.cmd adds information to the registry to run such and such once. Such as installing software (i.e. PowerToys, Tweak UI, etc.) and registry tweaks.

I can offer you more information if this is the direction you want to go.

madmatt is offline   Reply With Quote
Old December 23rd, 2005 Top | #3

OSNN Folding Team  
Steevo's Avatar
Spammer representing.
Joined: September 2004
Posts: 2,566
Blog Entries: 2
Reputation: 1630
Power: 136

Default Re: Automated system install

I was meaning more of installing things like Adobe, Nero, Fireox, Spybot, etc...


For example, a autorun that would create a "C:\Install" Or whatever folder then make entries into the runonce section of the registry to run the installers on the next boot, then restart the system if so needed.

Mebey then a batch file to get rid of the extra crap that things install for startup. Like realsched.exe, qttask.exe, adobes newest quickstart crap, all the Ipud crap, etc...

I guess I need to be more clear.

Meow.
Equal oppertunity hater.
Steevo is offline   Reply With Quote
Old December 23rd, 2005 Top | #4
 
Petros's Avatar
Thief IV
Joined: May 2003
Location: Pacific Northwest
Posts: 3,038
Reputation: 1647
Power: 156

Default Re: Automated system install

Been here yet? That's where I learned a lot of what I know. Also, you can use the stuff you learned up there to make nice little EXE batch files in WinRar that save you a lot of telephone tech support

There's even sections on how to remove things from the registry like qttask that you speak of...the command is something like
"-[HKLM\Microsoft\Windows\CurrentVersion\Run\qttask.exe]"
Petros is offline   Reply With Quote
Old December 23rd, 2005 Top | #5

OSNN Folding Team  
Steevo's Avatar
Spammer representing.
Joined: September 2004
Posts: 2,566
Blog Entries: 2
Reputation: 1630
Power: 136

Default Re: Automated system install

True.

But the area where I have questions not available at this time. Thank you though.

Meow.
Equal oppertunity hater.
Steevo is offline   Reply With Quote
Old December 23rd, 2005 Top | #6
 
madmatt's Avatar
Bow Down to the King
Joined: April 2002
Location: New York
Posts: 13,312
Reputation: 4090
Power: 297

Default Re: Automated system install

Certainly.

You can create a batch file and call it using AUTORUN.INF

Code:
[autorun]
open=batchfile.bat
However, you'll have to come up with some code to get the CD drive letter. Or you could be lazy and copy the dirctory to the C drive first, then start the process.

Code:
@echo off
title Finalizing Setup
echo Preparing Installation...
@echo off

@echo off
echo Copying Installation Files...
@echo off
xcopy *.* "C:\install" /E /I /Q /Y

@echo off
echo Installing...
@echo off
<COMMANDS HERE>

@echo off
echo Performing Cleanup...
@echo off
rd /S /Q "C:\install"

madmatt is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to install new hard drive in Dell system David_L6 General Hardware 6 June 24th, 2005 10:29pm
help with automated XP install (ignoring my cmdlines.txt?) ewokuk Windows Desktop Systems 0 September 2nd, 2004 12:58am
install win xp and the system run slow?? cobra2003 Windows Desktop Systems 3 September 9th, 2002 12:19pm
Automated System Recovery not working hawk Windows Desktop Systems 4 July 9th, 2002 2:52pm
minimum system to install xp? cam Windows Desktop Systems 15 January 4th, 2002 2:09pm