Sly006 Posted August 29, 2004 Posted August 29, 2004 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 offTITLE Windows XP Professional Service Pack 2 - Unattended InstallationECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO tweaks being implemented. Your computer will restart automaticallyECHO once the entire process has completed.ECHO.ECHO Installing Microsoft JavaVM - Build 3810 (Repacked)ECHO Please wait...start /wait %systemdrive%\install\JavaVM\MSJavaVM_3810.exeECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\RegTweaks.regECHO.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\InstallAnd on the WINNT.SIF file, I added this:[GuiRunOnce]%systemdrive%\install\start.cmdI 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.
CoffeeFiend Posted August 29, 2004 Posted August 29, 2004 Everything seems fine to me. Perhaps you did a typo or it's a Virtual PC glitch.
Sly006 Posted August 29, 2004 Author Posted August 29, 2004 Is OemPreinstall = Yes in Winnt.sif ?It's set on no right now, is that the reason why?
MHz Posted August 29, 2004 Posted August 29, 2004 Need to change it so files are copied to HD, then cmd will be found.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now