
webmedic
MemberContent Type
Profiles
Forums
Events
Everything posted by webmedic
-
email it to me I'll make it available. bah at webmedic dot net by the way how did you do this? Could you do it to the dll that does windows file protection and last is it for service pack 1?
-
GUI based software installation
webmedic replied to kryon's topic in Unattended Windows 2000/XP/2003
it's not and Since i have not seen it I cant say one way oir the other but after the teime spent converting my install over to inf files which does the same thing I dont hink I'll go for it. Like iasaid though I have not seen it yet so I cant really say for sure. -
GUI based software installation
webmedic replied to kryon's topic in Unattended Windows 2000/XP/2003
so if .net is not yet installed on the target system how would this work? IT wont? -
GUI based software installation
webmedic replied to kryon's topic in Unattended Windows 2000/XP/2003
this is nice but what does it look like. It only crashes whith an error on my system. -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
yea me too I'll see you safter lunch some time as tomarrow morning will be busy for me. -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
hm not sure why it is there. Yup i checked it out and I had the wrong dir for it. Thanks for finding that. Wonder why I never noticed it. Well now I'm in for it. that one thing will probalby break it all when i stuff it into the right directory. -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
yes your config filea are not the ones I use and they should be fine. here is my 1 dir 1\KB820291.EXE 1\KB821253.EXE 1\KB821557.EXE 1\KB823559.EXE 1\KB823980.EXE 1\Q322011.EXE 1\Q323255.EXE 1\Q327979.EXE 1\Q328310.EXE 1\Q329048.EXE 1\Q329115.EXE 1\Q329170.EXE 1\Q329390.EXE 1\Q329834.EXE 1\Q810565.EXE 1\Q810833.EXE 1\Q811493.EXE 1\Q814033.EXE 1\Q814995.EXE 1\Q815021.EXE 1\Q815485.EXE 1\Q817606.EXE 2 dir 2\js56nen.EXE 2\KB822964.EXE 2\q330994.EXE 2\Q810577.EXE 2\q818529.EXE 2\q822925.EXE and my 3 dir 3\Q823718_.EXE so just a quick look says you have a few hotfixes in you 1'st dir that I dont have. Namely KB824105.EXE as for dir 2 I have one you dont. This one Q810577.EXE. Not shure exactly what those are but try using the ones I use -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
just curious did you use some horry reg hacks or anything? also to note that there are a few other places were that stuff can be tunred off. For instance in my install I have it setup to install mozilla and use it by default. I also dont use the virus infested piece of garbage known as oe. So I know they can be turned off beacsue I do that to them. Come to think of it are you using my winnt.sif that I included with the hotfix installer? If so I did shut off oe in there. I have not found a way to keep ie from installing yet though I simply set mozilla as default. As for why ie would not be working I dont think i included any of my reghacks in that kit so you should not get anything like that from me. I can include them if you like though. -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
yea dont we all it takes almost twice as long to install as on bare machine. -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
the new do.cmd will autocreate it. I was trying to force the mdac hotfix to install through a cmd file. It sitll does not work. I'm running out of options wiht that stinky thing. here is the latest do.cmd CLS @echo off :: setlocal enableextensions echo. > log.txt :: check if hotfix file exists if not exist 1\*.exe echo No hotfixes present. 2>&1 | bin\mtee/+ log.txt if not exist 1\*.exe echo Please add your hotfixes. 2>&1 | bin\mtee/+ log.txt if not exist 1\*.exe goto _end :: create folders Needed for setup echo. 2>&1 | bin\mtee/+ log.txt echo Creating directories and set up. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt SET PrepDir= if "%1" == "/prep" set PrepDir=%2 IF DEFINED PrepDir goto :Make_Dir echo using for to find dir FOR /F "delims=" %%i IN ('cd') DO SET PrepDir=%%i :Make_Dir echo PrepDir = %PrepDir% 2>&1 | bin\mtee/+ log.txt if not exist 4 md 4 2>&1 | bin\mtee/+ log.txt if not exist 5 md 5 2>&1 | bin\mtee/+ log.txt if not exist 5\svcpack md 5\SVCPACK 2>&1 | bin\mtee/+ log.txt if not exist tmp md tmp 2>&1 | bin\mtee/+ log.txt :: delete any files in extract and final folder echo. 2>&1 | bin\mtee/+ log.txt echo Deleteing stale files. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt if exist 4\* del /s /q 4\* 2>&1 | bin\mtee/+ log.txt if exist 5\* del /s /q 5\* 2>&1 | bin\mtee/+ log.txt :: extract hotfix to extract folder echo. 2>&1 | bin\mtee/+ log.txt echo Adding hotfixes from hotfix1 folder 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do COPY /Y "1\%%~ni.EXE" "tmp\????????.EXE" >> log.txt for /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do del /f /q 1\%%~ni.EXE >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do Move /Y tmp\%%~ni.exe 1 >> log.txt for /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do 1\%%~ni.exe /q /x:4 >> log.txt :: extract hotfix to extract folder thisis for newer style hot fixes echo. 2>&1 | bin\mtee/+ log.txt echo Adding hotfixes from hotfix2 folder 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for /f "usebackq delims==" %%i in (`dir /b 2\*.exe`) do COPY /Y "2\%%~ni.EXE" "tmp\????????.EXE" >> log.txt for /f "usebackq delims==" %%i in (`dir /b 2\*.exe`) do del /f /q 2\%%~ni.EXE >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do MD tmp\%%~ni >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do tmp\%%~ni.exe /Q /T:%PrepDir%\tmp\%%~ni /C >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do xcopy /d /h /y tmp\%%~ni\*.* 4 >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do bin\rm.exe /fvn tmp\%%~ni >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do Move /Y tmp\%%~ni.exe 2 >> log.txt attrib -R -A -S -H tmp\* /S :: extract hotfix to extract folder thisis for newer style hot fixes echo. 2>&1 | bin\mtee/+ log.txt echo Adding hotfixes from hotfix3 folder 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do COPY /Y "3\%%~ni.EXE" "tmp\????????.EXE" >> log.txt for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do del /f /q 3\%%~ni.EXE >> log.txt for /f "usebackq delims==" %%i in (`dir /b 3\*.cmd`) do del /f /q 3\%%~ni.cmd >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do MD tmp\%%~ni >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do tmp\%%~ni.exe /Q /T:%PrepDir%\tmp\%%~ni /C >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do xcopy /d /h /y tmp\%%~ni\*.* 4 >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do del /f /q tmp\%%~ni\*.* >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do bin\rm.exe /fvn tmp\%%~ni >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do Move /Y tmp\%%~ni.exe 3 >> log.txt echo. 2>&1 | bin\mtee/+ log.txt echo Adding cmd files to hotfix3 folder 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo CLS 2>&1 | bin\mtee /+ log.txt 3\%%~ni.cmd for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo @echo off 2>&1 | bin\mtee /+ log.txt /+ 3\%%~ni.cmd for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo start /wait %systemdrive%\install\system\hotfixes3\%%~ni.exe /T:%systemdrive%\install\tmp /C:"%systemdrive%\install\tmp\dahotfix.exe /q /n" /Q 2>&1 | bin\mtee /+ log.txt /+ 3\%%~ni.cmd for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo EXIT 2>&1 | bin\mtee /+ log.txt /+ 3\%%~ni.cmd :: check extraction took place echo. 2>&1 | bin\mtee/+ log.txt echo Checking for extracted files 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt if not exist 4\* goto _end :: move hotfix to svcpack folder echo. 2>&1 | bin\mtee/+ log.txt echo Moving hotfixes to svcpack folder. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt copy /y 1\*.exe 5\svcpack >> log.txt copy /y 2\*.exe 5\svcpack >> log.txt copy /y 3\*.cmd 5\svcpack >> log.txt copy /y 3\*.exe 5\svcpack >> log.txt :: delete unwanted files from extract folder echo. 2>&1 | bin\mtee/+ log.txt echo delete unwanted files from extract folder. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for /f %%i in (files\hotkill.ini) do del /f /q /s 4\%%i 2>&1 | bin\mtee/+ log.txt for /f %%i in (files\hotkill.ini) do del /f /q /s 4\sp2\%%i 2>&1 | bin\mtee/+ log.txt :: move cat files to svcpack folder echo. 2>&1 | bin\mtee/+ log.txt echo move cat files to svcpack folder. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for %%i in (4\*.cat 4\update\*.cat 4\sp2\update\*.cat) do move /y %%i 5\svcpack 2>&1 | bin\mtee/+ log.txt ::NEW BIT:: echo. 2>&1 | bin\mtee/+ log.txt echo Updating sp1.cab. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt xcopy /d /h /u /y 4\*.* files\sp1 >> log.txt xcopy /d /h /u /y 4\sp2\*.* files\sp1 >> log.txt bin\cabarc.exe N 5\sp1.cab files\sp1\*.* >> log.txt ::END:: :COMPRESS :: compress files and copy to output folder echo. 2>&1 | bin\mtee/+ log.txt echo compress files and copy to output folder. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt if exist files\winntbbu.dll xcopy /y files\winntbbu.dll 4 >> log.txt bin\compress.exe -d -r -zx21 4\* 5 >> log.txt bin\compress.exe -d -r -zx21 4\sp2\* 5 >> log.txt :: create svcpack.inf file echo. 2>&1 | bin\mtee/+ log.txt echo create svcpack.inf file. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt echo [Version] 2>&1 | bin\mtee /+ log.txt 5\svcpack.inf echo Signature="$Windows NT$" 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo MajorVersion=5 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo MinorVersion=1 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo BuildNumber=2600 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo. 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo [SetupData] 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo CatalogSubDir="\i386\svcpack" 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo. 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo [SetupHotfixesToRun] 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf for /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do echo %%~ni.exe /n /q /u /z 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf for /f "usebackq delims==" %%i in (`dir /b 2\*.exe`) do echo %%~ni.exe /Q:A /R:N 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf ::for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo %%~ni.exe /T:C:\\install\tmp /C:"c:\\install\tmp\dahotfix.exe /q /n" /Q >> 5\svcpack.inf for /f "usebackq delims==" %%i in (`dir /b 3\*.cmd`) do echo %%~ni.cmd 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo. 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo [ProductCatalogsToInstall] 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf for /f "usebackq delims==" %%i in (`dir /b 5\svcpack\*.cat`) do echo %%~ni.cat 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf :: compress svcpack.inf echo. 2>&1 | bin\mtee/+ log.txt echo compress svcpack.inf file. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt bin\compress.exe -d -r -zx21 5\svcpack.inf >> log.txt :: comment out the next line if you want to examing svcpack.inf afterwards. :: del /q 5\svcpack.inf :: copy winnt.sif to output folder echo. 2>&1 | bin\mtee/+ log.txt echo copy extra files. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt if exist files\winnt.sif xcopy /y files\winnt.sif 5 >> log.txt :: copy dosnet.inf to output folder if exist files\dosnet.inf xcopy /y files\dosnet.inf 5 >> log.txt :: copy TXTSETUP.SIF to output folder if exist files\TXTSETUP.SIF xcopy /y files\TXTSETUP.SIF 5 >> log.txt if exist files\sys\*.sys xcopy /y files\sys\*.sys 5 >> log.txt :: clean up :: if exist 1\* del /s /q 1\* :: if exist 2\* del /s /q 2\* :: if exist 3\* del /s /q 3\* :: attrib -R -A -S -H tmp\* /S :: rd /s /q tmp goto _end :_end among other things if you have an winntbbu.dll that you use if you put it into your files dir then it will copy it and pack it up for you so ti will be a part of your installer. Just a little more automatic now. For me I have it set up so that all the files I edit often are in files and then I use do.cmd to copy them into place. I decided that winntbbu.dll was a good candidate so I did't have to unpack it and pack it back up by hand all the time. -
yes I know how to do it but I'm having problems automating it. If I find a way to automate it then I will post it.
-
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
ok got it also to note use the latest version of hte script it does loggin better. as for the kb you are having trouble wiht put it into the second folder and not the first one. I just emailed you my latest do.cmd -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
@ceez well no it modifyies the installer and slipstreems the hotfixes into the installer. So you will never see this stuff. @tbone2 jsut email it to me at the address bah at webmedic dot net -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
I'm not sure about this exactly here is a list of the hotfixes that I use. KB820291.exe /n /q /u /z KB821253.exe /n /q /u /z KB821557.exe /n /q /u /z KB823559.exe /n /q /u /z KB823980.exe /n /q /u /z Q322011.exe /n /q /u /z Q323255.exe /n /q /u /z Q327979.exe /n /q /u /z Q328310.exe /n /q /u /z Q329048.exe /n /q /u /z Q329115.exe /n /q /u /z Q329170.exe /n /q /u /z Q329390.exe /n /q /u /z Q329834.exe /n /q /u /z Q810565.exe /n /q /u /z Q810833.exe /n /q /u /z Q811493.exe /n /q /u /z Q814033.exe /n /q /u /z Q814995.exe /n /q /u /z Q815021.exe /n /q /u /z Q815485.exe /n /q /u /z Q817606.exe /n /q /u /z js56nen.exe /Q:A /R:N KB822964.exe /Q:A /R:N q330994.exe /Q:A /R:N Q810577.exe /Q:A /R:N q818529.exe /Q:A /R:N q822925.exe /Q:A /R:N Q823718_.cmd right of fhand the hot fix belongs in the second directory because it was the ie fix and requires different switches than the others but it works fine here. On another note make sure you dont aply the hot fix for windows media player 9.0 as it will not be installed at this point in the install. also send me a copy of your log.txt which is created by the new do.cmd. It dumps much info out which is very usable for me to figure things out with. bah at webmedic dot net -
shell program? I'm not sure i understand. I use an inf installer that well it does the same thing as your installer more or less.
-
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
if you get an error about not finding a directory correcty it's the stupid mdac hotfix. I have yet to find a way to impliment it this way. I may have to do some things a little differently. I will most likely have to laod it through cmdlines.txt or at some other palce but at lest the files are still slipstreamed into the installer. -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
That could be. I know it's hard to keep track of them all. Have you tried the new script yet. It would be nice to have some feedback on it. -
the same you way you make a bootable cd. You use the exact same switches but when it asks you what kind of project you want make shure to go down and select bootable dvd instead of bootable cd.
-
lol although I'm a programmer I program under linux and do php code. I'm kind of averse to vb and have never really looked at it much. Usually just long enough to barf and then get back to work. So I'm afraid I would not be much help with vb and also have no way to compile the stuff. So is there a way to shut off the cd checkbox if a second cd is not defined in the ini file. That could make it a little more automatic.
-
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
ok new and improved come and get it. This one will well it wont slice and dice for you but it will automaticly figure out the directory it is being run from. No more need to edit the file also to note it will now clean up after itself better and there is more logic now to add missing directories and things if they are missing. Enjpoy guys and let me know how it goes. This is still for testing but should work ok and is much improved. CLS @echo off :: setlocal enableextensions echo. > log.txt :: check if hotfix file exists if not exist 1\*.exe echo No hotfixes present. 2>&1 | bin\mtee/+ log.txt if not exist 1\*.exe echo Please add your hotfixes. 2>&1 | bin\mtee/+ log.txt if not exist 1\*.exe goto _end :: create folders Needed for setup echo. 2>&1 | bin\mtee/+ log.txt echo Creating directories and set up. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt SET PrepDir= if "%1" == "/prep" set PrepDir=%2 IF DEFINED PrepDir goto :Make_Dir echo using for to find dir FOR /F "delims=" %%i IN ('cd') DO SET PrepDir=%%i :Make_Dir echo PrepDir = %PrepDir% 2>&1 | bin\mtee/+ log.txt if not exist 4 md 4 2>&1 | bin\mtee/+ log.txt if not exist 5 md 5 2>&1 | bin\mtee/+ log.txt if not exist 5\svcpack md 5\SVCPACK 2>&1 | bin\mtee/+ log.txt if not exist tmp md tmp 2>&1 | bin\mtee/+ log.txt :: delete any files in extract and final folder echo. 2>&1 | bin\mtee/+ log.txt echo Deleteing stale files. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt if exist 4\* del /s /q 4\* 2>&1 | bin\mtee/+ log.txt if exist 5\* del /s /q 5\* 2>&1 | bin\mtee/+ log.txt :: extract hotfix to extract folder echo. 2>&1 | bin\mtee/+ log.txt echo Adding hotfixes from hotfix1 folder 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do COPY /Y "1\%%~ni.EXE" "tmp\????????.EXE" >> log.txt for /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do del /f /q 1\%%~ni.EXE >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do Move /Y tmp\%%~ni.exe 1 >> log.txt for /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do 1\%%~ni.exe /q /x:4 >> log.txt :: extract hotfix to extract folder thisis for newer style hot fixes echo. 2>&1 | bin\mtee/+ log.txt echo Adding hotfixes from hotfix2 folder 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for /f "usebackq delims==" %%i in (`dir /b 2\*.exe`) do COPY /Y "2\%%~ni.EXE" "tmp\????????.EXE" >> log.txt for /f "usebackq delims==" %%i in (`dir /b 2\*.exe`) do del /f /q 2\%%~ni.EXE >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do MD tmp\%%~ni >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do tmp\%%~ni.exe /Q /T:%PrepDir%\tmp\%%~ni /C >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do xcopy /d /h /y tmp\%%~ni\*.* 4 >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do bin\rm.exe /fvn tmp\%%~ni >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do Move /Y tmp\%%~ni.exe 2 >> log.txt attrib -R -A -S -H tmp\* /S :: extract hotfix to extract folder thisis for newer style hot fixes echo. 2>&1 | bin\mtee/+ log.txt echo Adding hotfixes from hotfix3 folder 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do COPY /Y "3\%%~ni.EXE" "tmp\????????.EXE" >> log.txt for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do del /f /q 3\%%~ni.EXE >> log.txt for /f "usebackq delims==" %%i in (`dir /b 3\*.cmd`) do del /f /q 3\%%~ni.cmd >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do MD tmp\%%~ni >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do tmp\%%~ni.exe /Q /T:%PrepDir%\tmp\%%~ni /C >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do xcopy /d /h /y tmp\%%~ni\*.* 4 >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do del /f /q tmp\%%~ni\*.* >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do bin\rm.exe /fvn tmp\%%~ni >> log.txt for /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do Move /Y tmp\%%~ni.exe 3 >> log.txt echo. 2>&1 | bin\mtee/+ log.txt echo Adding cmd files to hotfix3 folder 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo CLS 2>&1 | bin\mtee /+ log.txt 3\%%~ni.cmd for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo @echo off 2>&1 | bin\mtee /+ log.txt /+ 3\%%~ni.cmd for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo start /wait %systemdrive%\install\system\hotfixes3\%%~ni.exe /T:%systemdrive%\install\tmp /C:"%systemdrive%\install\tmp\dahotfix.exe /q /n" /Q 2>&1 | bin\mtee /+ log.txt /+ 3\%%~ni.cmd for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo EXIT 2>&1 | bin\mtee /+ log.txt /+ 3\%%~ni.cmd :: check extraction took place echo. 2>&1 | bin\mtee/+ log.txt echo Checking for extracted files 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt if not exist 4\* goto _end :: move hotfix to svcpack folder echo. 2>&1 | bin\mtee/+ log.txt echo Moving hotfixes to svcpack folder. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt copy /y 1\*.exe 5\svcpack >> log.txt copy /y 2\*.exe 5\svcpack >> log.txt copy /y 3\*.cmd 5\svcpack >> log.txt copy /y 3\*.exe 5\svcpack >> log.txt :: delete unwanted files from extract folder echo. 2>&1 | bin\mtee/+ log.txt echo delete unwanted files from extract folder. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for /f %%i in (files\hotkill.ini) do del /f /q /s 4\%%i 2>&1 | bin\mtee/+ log.txt for /f %%i in (files\hotkill.ini) do del /f /q /s 4\sp2\%%i 2>&1 | bin\mtee/+ log.txt :: move cat files to svcpack folder echo. 2>&1 | bin\mtee/+ log.txt echo move cat files to svcpack folder. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt for %%i in (4\*.cat 4\update\*.cat 4\sp2\update\*.cat) do move /y %%i 5\svcpack 2>&1 | bin\mtee/+ log.txt ::NEW BIT:: echo. 2>&1 | bin\mtee/+ log.txt echo Updating sp1.cab. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt xcopy /d /h /u /y 4\*.* files\sp1 >> log.txt xcopy /d /h /u /y 4\sp2\*.* files\sp1 >> log.txt bin\cabarc.exe N 5\sp1.cab files\sp1\*.* >> log.txt ::END:: :COMPRESS :: compress files and copy to output folder echo. 2>&1 | bin\mtee/+ log.txt echo compress files and copy to output folder. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt bin\compress.exe -d -r -zx21 4\* 5 >> log.txt bin\compress.exe -d -r -zx21 4\sp2\* 5 >> log.txt :: create svcpack.inf file echo. 2>&1 | bin\mtee/+ log.txt echo create svcpack.inf file. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt echo [Version] 2>&1 | bin\mtee /+ log.txt 5\svcpack.inf echo Signature="$Windows NT$" 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo MajorVersion=5 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo MinorVersion=1 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo BuildNumber=2600 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo. 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo [SetupData] 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo CatalogSubDir="\i386\svcpack" 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo. 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo [SetupHotfixesToRun] 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf for /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do echo %%~ni.exe /n /q /u /z 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf for /f "usebackq delims==" %%i in (`dir /b 2\*.exe`) do echo %%~ni.exe /Q:A /R:N 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf ::for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo %%~ni.exe /T:C:\\install\tmp /C:"c:\\install\tmp\dahotfix.exe /q /n" /Q >> 5\svcpack.inf for /f "usebackq delims==" %%i in (`dir /b 3\*.cmd`) do echo %%~ni.cmd 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo. 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf echo [ProductCatalogsToInstall] 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf for /f "usebackq delims==" %%i in (`dir /b 5\svcpack\*.cat`) do echo %%~ni.cat 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf :: compress svcpack.inf echo. 2>&1 | bin\mtee/+ log.txt echo compress svcpack.inf file. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt bin\compress.exe -d -r -zx21 5\svcpack.inf >> log.txt :: comment out the next line if you want to examing svcpack.inf afterwards. :: del /q 5\svcpack.inf :: copy winnt.sif to output folder echo. 2>&1 | bin\mtee/+ log.txt echo copy extra files. 2>&1 | bin\mtee/+ log.txt echo __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txt echo. 2>&1 | bin\mtee/+ log.txt if exist files\winnt.sif xcopy /y files\winnt.sif 5 >> log.txt :: copy dosnet.inf to output folder if exist files\dosnet.inf xcopy /y files\dosnet.inf 5 >> log.txt :: copy TXTSETUP.SIF to output folder if exist files\TXTSETUP.SIF xcopy /y files\TXTSETUP.SIF 5 >> log.txt if exist files\sys\*.sys xcopy /y files\sys\*.sys 5 >> log.txt :: clean up :: if exist 1\* del /s /q 1\* :: if exist 2\* del /s /q 2\* :: if exist 3\* del /s /q 3\* :: attrib -R -A -S -H tmp\* /S :: rd /s /q tmp goto _end :_end man this is turning into a much larger project than at first I thought it would be. -
yes after looking over what I had seen I understood a little better. On a side note why is it limited to only 40 applications? Also is there a way to use it twice maybe ot get more than 40 apps? I mean I know how I could use it twice now by simply putting it into another directory but I curious also to see what you have to say about it.
-
so is this to just setup your files or do you add it to your install.
-
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
ah ok yes I changed things around a little. I'm trying to get it set up nice to be able to be used easily by others. On side note I have added command line stuff so now you wont have to mess with the directory stuff any more. Let me test a little more and then I'll post it. -
rmdir or rd will do that for you. Considering that they got rid of dletree in windows xp. For myself I downloaded the unix command rm and use that instead since it just works and rmdir was giving me all kinds of problems.
-
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
yes you have to edit do.cmd the problem is that the hotfixes in the hotfixes2 and hotfixes3 folder have to have absolute path and will not work like so ./tmp then have to have f:/wxppro/hotfixes/tmp. You need to edit the file by hand and place the correct paths in it. There should only be two of those one for the hotfixes in hotfixes2 folder and one in hotfixes3 folder. I'm working on a way to pass variables so that this can be a little easier but for now you will have to edit the file by hand. If you can not do that there is not much I can do to help you.