
webmedic
MemberContent Type
Profiles
Forums
Events
Everything posted by webmedic
-
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
sorry also to note I'm currently working on a nenhanced version that will ease things up a bit I hope. It should simplify things at any rate. -
well i tried the transparent thing and transparecny does not work. In his case I would gess he editied the file and simply made it the same color as the background he is using.
-
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
on my first post I have a download that has all this. Better to start at the begining. -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
never mind my bit about deltree above windows 2000/xp uses rmdir instead. I got it already. -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
ok ok I wanted to add more to it first just keep in mind this works for me and it is much enhanced over the last versions. But there are still a few places that will need paths changed depending on were you put it on your system other than that it should all work well. As for the mdac no I even tried making a cmd file for it and loading it that way. If you have any ides on that beast let me know as I've done about everything I can to get it to work. Please test it like it is as I made a few small changes if it works then great but if not I would sure like any input. The problem is that under the graphic install paths are much different and so forcing it to go silent is not working properly. I would almost say that it may be impossible or at the least I may need to add it to cmdlines.txt and fiddle with it there. At the very least I can say the the catalog and all the files have been put into the installer but it will jsut not register as being there if it does not run through the installer routine. Here goes: CLS @echo off setlocal enableextensions SET PrepDir = F:\wxppro\hotfixes echo. > log.txt :: check if hotfix file exists if not exist 1\*.exe goto _end :: delete any files in extract and final folder 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 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 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:F:\wxppro\hotfixes\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 Move /Y tmp\%%~ni.exe 2 >> log.txt :: extract hotfix to extract folder thisis for newer style hot fixes 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:F:\wxppro\hotfixes\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 Move /Y tmp\%%~ni.exe 3 >> 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\Q823718.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 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 :: create svcpack folder in output folder if not exist 5\svcpack md 5\SVCPACK 2>&1 | bin\mtee/+ log.txt :: move hotfix to svcpack folder 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 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 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 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 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 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 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 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\* goto _end :_end this also needs mtee the link is here: http://www.commandline.co.uk/mtee/ extract that file into the directory were do is. then you will be able to log your stuff so that we can better debug it will log everything. This version will aslo autorename the files if they are not 8.3 already then they will be when this script gets done with them. I have also set it up with a tmp directory so you will need a tmp directory were some of the hotfixes are extracted to. One more thing deltree is not on xp does anybody know of a way to delete direcories? This will dreat directories in the tmp directory but the del command will not delete directories one files. I would like to leave tmp completely clean when it is done., -
hm interesting. How does it handle the second cd? On another note does it work. I notice that you replace the dll's and stuff but dont require the removal of the cd which will cause this to fail since the system will pull hte origianl dll's from the cd which will still be in the drive. Other than that it looks good.
-
Replacement System Files & Windows File Protection
webmedic replied to bigred's topic in Unattended Windows 2000/XP/2003
already tried that and wfp still gets it. Dirty little thing anyway -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
ok thanks for the update. If I find out anything else I'll let you know. -
So just because I dont understand this was one of the last glaring issues I had . How do I get back the option to repair my installation. I dont mean right at the beggining I men when it would normally got to the partition thing and ask were you want it I'm missing the option to fix the current instellation.
-
lol no problem i will give you one. I'm also working on sime nice inf installers for reg tweaks. Hope you all like them. It makes it so that your reg tweaks can be uninstalled.
-
yes I just noticed that in my scripts also. Sorry about that guys.
-
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
Yes I will @bachus Ok I jsut got back let me look at thinga a bit and see the problem is that i have never even once had this sissue.. To note i use this patch with xp pro and you have to have sp1 slipstreamed into it first. Or else bad things could happen. I have not tested this at all on xp home. I'm still unsure as to why you get those error's at this time though. -
yes hee using pcanywere or whatever it's called it takes forever to do an install. I'd say about 1 1/2 - 2 hours. this [GuiRunOnce] %systemdrive%\$OEM$\$1\install\main_batch.cmd %systemdrive%\$OEM$\$1\install\hotfixes.cmd should be this [GuiRunOnce] %systemdrive%\install\main_batch.cmd %systemdrive%\install\hotfixes.cmd
-
lol if you follow my way above it will take care of that for you. And your idea wont work because it has to be digitaly signed by microsoft to be able to replace it.
-
Weird thing in Win XP Pro installation
webmedic replied to Twisted Maniac's topic in Unattended Windows 2000/XP/2003
ah yes I have ben looking for a way to add quick lauch also. If you find one let me know. -
Weird thing in Win XP Pro installation
webmedic replied to Twisted Maniac's topic in Unattended Windows 2000/XP/2003
lol your setup is the most messed up ive ever seen. well I can see where it would come in handy for some things but really you seem to have more problems than any other 10 people on here. I do hope you get it working and that you share you working setup when done. -
How to do raid drivers and hotfixes correctly.
webmedic replied to webmedic's topic in Device Drivers
well there are three directories that have hot fixes in them. The first one has all the hot fixes that use the old style icons on them. Then second folder holds the new style icon ones and the third is only for the mdac patch. However i have not got that working yet. It sounds like you have placed some hot fixes in the wrong directories. Also of note I finished up a new version last night that does renaming of the hotfixes so you no longer have to do it yourself. Another new feature is that it extracts the hotfixes in folders 2 and 3 to thier own directoiries now so that you dont get any command prompts. Once they are extracted only the newest files are copied into place so you are sure to have the newest files. It also adds logging so we can debug easier and last but not least I'm testing it right now and hopefully I will have the mdac patch finaly working. I still have not found a way around hard codeing the paths for the extraction for the hotfixes in 2 and 3. When i get it figured out I'll have it set so you can simply set your path at the top of the file and run it. In the futer Iwill add back some of hte features that were in the origianl. Most noteable after done with the testing phase I will make it so that the 5th directory (the compiled directory) will not be wiped but rather hot fixes will just apply on top of what you already have. At that point you will simply place any new hotfixes into the proper directory and then run do again and it will just add the newest stuff to your coimpiled directory. In this way you will not have ot compile from scratch each time. -
Weird thing in Win XP Pro installation
webmedic replied to Twisted Maniac's topic in Unattended Windows 2000/XP/2003
ok when i was using that batch ot reg tweaks I used it like this. ;Stuff [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Hidden"=dword:00000001 "ShowCompColor"=dword:00000001 "HideFileExt"=dword:00000000 "DontPrettyPath"=dword:00000000 "ShowInfoTip"=dword:00000001 "HideIcons"=dword:00000000 "MapNetDrvBtn"=dword:00000000 "WebView"=dword:00000000 "Filter"=dword:00000000 "SuperHidden"=dword:00000001 "SeparateProcess"=dword:00000000 "ListviewAlphaSelect"=dword:00000000 "ListviewShadow"=dword:00000000 "ListviewWatermark"=dword:00000000 "TaskbarAnimations"=dword:00000000 "StartMenuInit"=dword:00000002 "Start_LargeMFUIcons"=dword:00000000 "Start_MinMFU"=dword:00000000 "Start_ShowControlPanel"=dword:00000001 "Start_EnableDragDrop"=dword:00000001 "StartMenuFavorites"=dword:00000000 "Start_ShowHelp"=dword:00000000 "Start_ShowMyComputer"=dword:00000000 "Start_ShowMyDocs"=dword:00000000 "Start_ShowMyMusic"=dword:00000000 "Start_ShowMyPics"=dword:00000000 "Start_ShowPrinters"=dword:00000000 "Start_ShowRun"=dword:00000001 "Start_ScrollPrograms"=dword:00000000 "Start_ShowSearch"=dword:00000001 "Start_ShowRecentDocs"=dword:00000000 "Start_AutoCascade"=dword:00000000 "Start_NotifyNewApps"=dword:00000000 "Start_AdminToolsRoot"=dword:00000000 "StartMenuAdminTools"=dword:00000000 "TaskbarSizeMove"=dword:00000001 "TaskbarGlomming"=dword:00000000 "NoNetCrawling"=dword:00000001 "FolderContentsInfoTip"=dword:00000001 "FriendlyTree"=dword:00000000 "WebViewBarricade"=dword:00000001 "DisableThumbnailCache"=dword:00000001 "ShowSuperHidden"=dword:00000001 "ClassicViewState"=dword:00000001 "PersistBrowsers"=dword:00000000 "CascadeNetworkConnections"="YES" "StartButtonBalloonTip"=dword:00000002 "Start_ShowNetConn_ShouldShow"=dword:00000042 [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Desktop\General] BackupWallpaper"="c:\\windows\\web\\wallpaper\\Sunset.jpg" Wallpaper"="c:\\windows\\web\wallpaper\\The Beach.jpg" ok Notice i use hkey_local_machine so they appl to all users. Hope this helps. -
My Tips for Downloading Hotfixes!
webmedic replied to bjdotcom's topic in Unattended Windows 2000/XP/2003
hugh funny i just use filemirrors. I plug in the q####### and kb###### and it gives me a nice listing of downloads and I jsut grab one for my lang right from the microsoft mirrors. Nice and fast. -
Auto create User account in unattended install
webmedic replied to tcsdoc's topic in Unattended Windows 2000/XP/2003
thanks it's gone. -
Auto create User account in unattended install
webmedic replied to tcsdoc's topic in Unattended Windows 2000/XP/2003
I didn't mention paswords because he did not seem to hve any set in his scripts. Are you trying to tell me that if I dont use the reg hack that it will autologin as my user anyway and not the admin account to do the irst install stuff? At any rate it does work like it is. I'm wondering if maybe some of his other settings differ from mine in his winnt.sif but I dont see how that could be it as all the important stuff is looking like mine. -
Weird thing in Win XP Pro installation
webmedic replied to Twisted Maniac's topic in Unattended Windows 2000/XP/2003
how are you doing it for a single user. Show the goods so I can see. If it's a reg file it's pretty easy to make it multiuser. -
Weird thing in Win XP Pro installation
webmedic replied to Twisted Maniac's topic in Unattended Windows 2000/XP/2003
well i'm not sure about hte classic thing but if you look at hte desktop pic you wull see it is set to local machine already which is for all users. -
Auto create User account in unattended install
webmedic replied to tcsdoc's topic in Unattended Windows 2000/XP/2003
not sure if this would block oyu up but this [GuiUnattended] AdminPassword="*" should be [GuiUnattended] AdminPassword=* I'm not sure why taht would keep you from loging in though. let me know if this works for you and yea no kiding i've been through about 50 cd-r's or more. I'm doing installs in virtual pc now to save myself from wasting to many more cd's -
Weird thing in Win XP Pro installation
webmedic replied to Twisted Maniac's topic in Unattended Windows 2000/XP/2003
ok that makes sence but I can't help you there. I have seen some instructions for booting from a flopy and using a bat file for unatended install with custom winnt.sif files but I have never used this method. For the rest well I already know it works and I'm happy with my cooky cutter installs for my oem systems. I dont have to support a multy system network with this installer and so can use generic network setings instead of using domain authetication or any munber of other things. I wish you luck as I think most of the floppy stuff I have seen was actually for windows 2k and not xp wich seems ot do things just a little different.