ITinerant Posted January 27, 2004 Share Posted January 27, 2004 (edited) Shifty, I don't know the technical term for that window that opens when the batch file runs (ECHO?) but can you tell me how I can have AutoPatcher run on my Unattended WinXP w/AutoPatcher Installation CD without that batch file window open? Can I just edit out all the ECHO lines in the CUST_INSTL.cmd file? I don't know much about this stuff, but I'd sure like to learn. :shifty: Below is what I am using because my Unattended installs APXP from the CD without copying the files to the HDD. @ECHO OFF SET VERSION=1.0 rem - creating cleanup batch file for next boot. rem - written by cpugeniusmv ECHO @ECHO OFF > "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Startup\cleanup.bat" ECHO TITLE -=CLEANING UP AUTOPATCHERXP FILES=->> "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Startup\cleanup.bat" ECHO ECHO SETUP IS NOW REMOVING TEMPORARY FILES USED TO INSTALL AUTOPATCHERXP...>> "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Startup\cleanup.bat" ECHO DEL /Q "%systemdrive%\CUST_INSTL.cmd">> "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Startup\cleanup.bat" ECHO DEL /Q "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Startup\cleanup.bat">> "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Startup\cleanup.bat" REM - INSTALL AUTOPATCHER XP UN-ATTENDED... REM - WRITTEN BY SHIFTY TITLE -=UN-ATTENDED AUTOPATCHER INSTALLER VERSION %VERSION%=- ECHO. ECHO -=UN-ATTENDED AUTOPATCHER INSTALLER VERSION %VERSION%=- ECHO. ECHO THIS BATCH FILE IS DESIGNED TO SILENTLY INSTALL AUTOPATCHER ECHO ON YOUR SYSTEM. THIS PROCESS CAN TAKE ANYWHERE FROM 10 TO 120 ECHO MINUTES. ECHO. ECHO INSTALLING AUTOPATCHER... start /wait %CDROM%\$OEM$\autopatch\autopatcher.exe /noeula /unattend ECHO. ECHO AUTOPATCHER WAS INSTALLED! ECHO. ECHO. EXIT Thanks for any help you can give. Edited January 27, 2004 by ITinerant Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1658449 Share on other sites More sharing options...
cpugeniusmv Posted January 27, 2004 Share Posted January 27, 2004 just take out the /wait after start. Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1658527 Share on other sites More sharing options...
ITinerant Posted January 27, 2004 Share Posted January 27, 2004 just take out the /wait after start. Thanks cpugeniusmv, I knew I should have addressed that question to the both of you. I'm going to try it now. Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1658658 Share on other sites More sharing options...
ITinerant Posted January 28, 2004 Share Posted January 28, 2004 hmmmm. Well that did what I wanted as far as the command window (if that's what it's called) but now, instead of installing autopatcher on a light blue background, Windows starts with the Taskbar and Start Menu open and the Windows Tour bubble nagging me while AutoPatcher is running. Maybe that /wait was there for a reason? If you know any way to run AutoPatcher on that light blue background without the "Command Window", could you please let me know how? Thanks for all your help. Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1659162 Share on other sites More sharing options...
cpugeniusmv Posted January 28, 2004 Share Posted January 28, 2004 i think i have a method in mind...but i'm not completely sure... in CUST_INSTL.cmd, remove the line that says start %CDROM%\$OEM$\autopatch\autopatcher.exe /noeula /unattend then, in winnt.sif add this line (under "%systemdrive%\CUST_INSTL.cmd" in the [GuiRunOnce] section: "%CDROM%\$OEM$\autopatch\autopatcher.exe" /noeula /unattend so now you will have two lines under [GuiRunOnce] parts i'm not sure about: whether or not it will run a second item under guirunonce whether the command line switches need to be in or out of the quotes. i'm pretty sure the method described will work. Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1659182 Share on other sites More sharing options...
ITinerant Posted January 28, 2004 Share Posted January 28, 2004 Got an error when booting to CD... "Line 56 of winnt.sif is invalid..." I'm willing to keep trying if you have other ideas. Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1659251 Share on other sites More sharing options...
cpugeniusmv Posted January 28, 2004 Share Posted January 28, 2004 try "%CDROM%\$OEM$\autopatch\autopatcher.exe /noeula /unattend" if that doesn't work, delete the "%systemdrive%\CUST_INSTL.cmd" line, and delete the CUST_INSTL.cmd file from the $OEM$\$1 directory. that will leave you with only one line under guirunonce...that being the one to start autopatcher which is the only one you would need because you are running it from cd so you don't need the cleanup procedure put in place by the cmd file. Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1659514 Share on other sites More sharing options...
ITinerant Posted January 28, 2004 Share Posted January 28, 2004 I used: "%CDROM%\$OEM$\autopatch\autopatcher.exe /noeula /unattend" under guirunonce in the winnt.sif and deleted the "%systemdrive%\CUST_INSTL.cmd" line, and deleted the CUST_INSTL.cmd file from the $OEM$\$1 directory. YES! :woot: cpugeniusmv, you is definately DA MAN! :woot: See edited Quote above for what I did. Now My Unattended Windows XP w/AutoPatcher Installation CD is Kewl! :cool: Thanks verrrrry much! Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1659836 Share on other sites More sharing options...
cpugeniusmv Posted January 28, 2004 Share Posted January 28, 2004 super :) Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1659840 Share on other sites More sharing options...
DrScouse Posted January 28, 2004 Share Posted January 28, 2004 Im pretty much getting the hang of creating unattended inatall cds, using the SLIPXP util that you guys have created, but am wondering if the install process could be done from a folder on a secondary hard drive? Just to speed up the install, and remove the size restriction on CDs? I know it isnt as straight forward as copying the unattended cd to a drive, then running the winnt.exe (with switches - as yet unknown), or is it? Im trying to get as much info as I can, before I start tinkering!!! Any help would be appreciated :D Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1660772 Share on other sites More sharing options...
cpugeniusmv Posted January 28, 2004 Share Posted January 28, 2004 Im pretty much getting the hang of creating unattended inatall cds, using the SLIPXP util that you guys have created, but am wondering if the install process could be done from a folder on a secondary hard drive? Just to speed up the install, and remove the size restriction on CDs?I know it isnt as straight forward as copying the unattended cd to a drive, then running the winnt.exe (with switches - as yet unknown), or is it? Im trying to get as much info as I can, before I start tinkering!!! Any help would be appreciated :D well there's two things to worry about that i've not have experience with: accessing NTFS from a Boot Disk (not an issue if you have fat32 partitions) Starting the XP installation process from the boot disk. Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1662992 Share on other sites More sharing options...
coucou Posted January 29, 2004 Share Posted January 29, 2004 Hello, I ran the the new FULL AP for January with tthe current release SLIPXP 1.0. Everytink went smoothly ! (Y) :beer: Before burning the Slipstreamed CD, I was curious to know how much space I saved. :o I din't save space, I FILLED THE MAX SPACE. explanation: My Original WinXP CD I386 folder = 485 MB The content of my XPCD folder is 728MB (\I386=463MB - \$OEM\$1\Autopatch=262MB) see attached image Infact, the Autopatch(=262MB) folder is the exact copy of the "Custom Slipstream\AutoPatcher XP" (AutoPatcherXP_Jan.exe after extraction) My question is: 1) Does the XPCD folder is really slipstreamed?:unsure: 2) If so, How can I know that? :s 3) May I delete \$OEM\$1\Autopatch (262MB) Tnx for yr help coucou Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1666219 Share on other sites More sharing options...
coucou Posted January 29, 2004 Share Posted January 29, 2004 Sorry, Here the attached image coucou Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1666232 Share on other sites More sharing options...
eds Posted January 29, 2004 Share Posted January 29, 2004 My disk runs around 600mb but then again I dont install everything and remove wallpapers and the other fluff. Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1666675 Share on other sites More sharing options...
DaveNCheez Posted January 30, 2004 Share Posted January 30, 2004 Sorry,Here the attached image coucou I too have this problem. My XP slipstream CD is 729MB.... and I cut out alot... Im thinking that its not supposed to copy the entire contents of autopatcher.. but it seems to anyway... Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1667676 Share on other sites More sharing options...
coucou Posted January 30, 2004 Share Posted January 30, 2004 Hi again, I think I found my problem. After analyzing closely the batch files. XP_SLIPSTEAM_BUILDER.bat ECHO [GuiRunOnce]>> XPCD\i386\winnt.sif ECHO "%%systemdrive%%\CUST_INSTL.cmd">> XPCD\i386\winnt.sif As everythink went OK and winnt.sif was was created, have a look what's gine inside CUST_INSTL.cmd CUST_INSTL.cmd All the commands are refer to \Documents and Settings\All Users\Start Menu\Programs\Startup\ path As I'm using a french Windows version, the path is \Documents and Settings\All Users\Menu D?marrer\Programmes\D?marrageb> I have no much time to test this right now, I'll test it on next sundy and let you know. Nice WE coucou Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1669950 Share on other sites More sharing options...
DaveNCheez Posted January 30, 2004 Share Posted January 30, 2004 ok, I manually removed MSNmessenger.exe Messenger.exe and MESSENGERPLUS so I could fit everything on the CD.. since I wasn't installing these anyway... this shouldnt be an issue. But now when I try to boot from CD I get an error stating that line 21 of i386/winnt.sif is invalid and setup cannot continue. Line 21 is: AutoLogonCount=2 REM - do not change this!! So I don't understand what the problem is. Any ideas? Dave Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1670594 Share on other sites More sharing options...
eds Posted January 30, 2004 Share Posted January 30, 2004 You need to edit out the remark in the sif file. It was written by mistake. If you want to make a completely new disc, you can also edit the batch file to move the REM up or down a line and then run the batch file again. Sorry it should read: AutoLogonCount=2 Link to comment https://www.neowin.net/forum/topic/123890-autopatcher-xp-slipstream-custom-guide/page/7/#findComment-1670693 Share on other sites More sharing options...
Recommended Posts