Jump to content

Recommended Posts

Posted

I have tried searching on this topic before posting to find anything similar, apologies if I have missed it.

The problem that I am having with my unattended installation has to do with the .cmd batch file that installs the regtweaks, applications, etc..

and its named: start.cmd. This is what it looks like:

CLS

@echo off

TITLE Windows XP Professional Service Pack 2 - Unattended Installation

ECHO.

ECHO Over the next few minutes you will see automated installations

ECHO of various sofware applications, windows updates, and registry

ECHO tweaks being implemented. Your computer will restart automatically

ECHO once the entire process has completed.

ECHO.

ECHO Installing Microsoft JavaVM - Build 3810 (Repacked)

ECHO Please wait...

start /wait %systemdrive%\install\JavaVM\MSJavaVM_3810.exe

ECHO.

ECHO Applying Registry Tweaks...

REGEDIT /S %systemdrive%\install\RegTweaks.reg

ECHO.

ECHO Restarting the PC in 1 minute...

shutdown.exe -r -f -t 60 -c "Your computer will now restart in one minute. This will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart."

I followed the guide thoroughly, and placed the batch file here:

C:\XPCD\$OEM$\$1\Install

And on the WINNT.SIF file, I added this:

[GuiRunOnce]

%systemdrive%\install\start.cmd

I went ahead and tested the installation on Virtaul PC, and after logging on for the first time, I get an error saying that it could not find the batch file: C:\Install\start.cmd. ((Which is the one I created.)Therefore, I cannot do the regtweaks, apps, etc.. I am wondering why this happened, should I place the batch file somewhere else, or what? I hope I'm not missing any more info. Thanks.


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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...