Jump to content

[BM]Crusher

Member
  • Posts

    569
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Everything posted by [BM]Crusher

  1. where can i get this input.com and wbat from? i searched google and found jack wait a minute... i found wbat on bart's page
  2. can someone post some examples of msgina.dll files? oh, and some more billboard screens for install
  3. all you need to make the theme work is the .msstyle file if it didn't come with extra files don't use any!
  4. is there a program to capture user text input correctly? I have been playing around with copying text files together to make a winnt.sif but i need a better method of capturing the text (it works great when i do it myself, but it would be confusing for other people i imagine) this is just example I typed up to show you the text capture command and copy command @echo offecho Type your Full Name: echo Press Enter, F6, Enter when finished . . .for /f "usebackq delims=" %%i IN (`more`) DO echo %%i >Name.tmpcopy "winnt1.txt + Name.txt + Name.tmp + Org.txt + Org.tmp + Comp.txt + Comp.tmp + winnt2.txt" wint.sifthe only problem is that the copy command leaves an escape character in the newly created winnt.sif file... apart from the escape character at the end of the file I have successfully tested this method of winnt.sif creation based on user input
  5. can you even use regedit at that early stage? try "REG /IMPORT registry.reg" apart from that, as long as cmdlines.txt is in the $OEM$ folder, and the $OEM$ folder is in the right place, XP setup automatically runs cmdlines.txt and then as long as the .cmd files are in the $OEM$ dir as well, they will execute my guess: you haven't puy your $OEM$ folder in the right place or have used an incorrect syntax to tell winnt.sif where it is
  6. I don't get why you would want such a CD anyway? why do you need different installation and go to all this trouble for each type of computer? why not make one disk that work first time everytime on every type of computer, with no annoying DOS loading bull-dung! Check out the WPI Pre-Install Wizard if you want to have a choice of what programs are installed by RunOnce on first boot, I use it and trust me it sounds a lot easier than this autoexec.bat menu style setup.... and as far as the drivers go, you can have every driver on your CD and have them all specified in the one winnt.sif WinXP will only install the correct drivers for each system using plug'n'play methods! also, why use an external program getkeyd when choice.com comes with win98 anyway (you are using a win98 boot disk yeah?) the way you are using getkeyd it looks like a clone of choice.com anyway!
  7. if you create an UNATTENDED windows cd, you cannot run recovery console at all, never ever the best thing to do would be to use MSFN's Multi-Boot DVD guide to create a Multi-Boot CD that features an unattended installation and a standard installation Use their guide on how to do it, just burn it to a CD instead of a DVD (as long as it will fit I have made a Multi-Boot CD using an unattended and normal installation where the unattended installation takes up about 650MB of the CD) oh, you have to use cdimage to create the .ISO file if you make the multi-boot or it definitely won't fit on the cd
  8. the timeline page features [setupParams] loading at T-9 minute stage of GUI mode setup? how much more updated does it need to be? and yes, it will work with winxp the UserExecute command for [setupParams] yourtech, it is under ref.chm, in the unattend.txt section where it is supposed to be!!! (winnt.sif is the same as unattend.txt except unattend.txt is used if you boot from floppy and winnt.sif is used if you boot from cd)
  9. copy it to mynewtheme.theme then open it in notepad (it's just plain text see my example file!)
  10. your source.bat will have errors deleting files too, because you are pointing to %systemroot% = WINDOWs too
  11. yes, you must be a little dense at least skeeter why bother putting %profilesdir%="the default anyway" ? anyway, your $OEM$ should be parallel to the I386 folder.... inside the $OEM$ folder, please make sure you have the correct structure $OEM$\$$\system32 is where you batch files are being placed? then why are you running it from %windir% ??? %windir% = WINDOWS try Command0="%windir%\system32\source.cmd" also, if you haven't tried already, you should really incorporate some basic drivers it's a must in my opinion put them into $OEM$\$1\Drivers make a folder for each driver (this folder should contain the .INF files) then add to winnt.sif OemPnPDriversPath="Drivers\Intel;Drivers\Via;Drivers\Nvidia;Drivers\ATI" etc etc...
  12. copy Luna.theme to My.theme and edit it... they are pretty straight forward make a subfolder for you .msstyle file and any shell folders or whatever it comes with... make sure you edit the .theme file to point to the subdir/.msstyle edit a copy of Luna.theme to see how easy it will be! you can even jazz it up with icons etc here is a sample .theme file I created to be able to use the corona.msstyle ; Copyright © Microsoft Corp. 1995-2001 [Theme]DisplayName=Corona ; My Computer[CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]DefaultValue=%SystemRoot%\Resources\Icons\MyComp.ico ; My Documents[CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\DefaultIcon]DefaultValue=%SystemRoot%\Resources\Icons\MyDoc.ico ; My Network Places[CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\DefaultIcon]DefaultValue=%SystemRoot%\Resources\Icons\Network.ico ; Recycle Bin[CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]full=%SystemRoot%\Resources\Icons\Full.icoempty=%SystemRoot%\Resources\Icons\Empty.ico ; Control Panel[CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\DefaultIcon]Defaultvalue=%SystemRoot%\Resources\Icons\CPanel.ico ; Printer[CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\DefaultIcon]Defaultvalue=%SystemRoot%\Resources\Icons\Printer.ico ; Find[CLSID\{2559a1f0-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]Defaultvalue=%SystemRoot%\Resources\Icons\Find.ico ; Help[CLSID\{2559a1f1-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]Defaultvalue=%SystemRoot%\Resources\Icons\Help.ico ; Run[CLSID\{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]Defaultvalue=%SystemRoot%\Resources\Icons\Run.ico ; Folder[HKCR\Folder\DefaultIcon]Defaultvalue=%SystemRoot%\Resources\Icons\Folder.ico ; The Internet[CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\DefaultIcon]Defaultvalue=%SystemRoot%\Resources\Icons\Internet.ico [Control Panel\Cursors]Arrow=Help=AppStarting=Wait=NWPen=No=SizeNS=SizeWE=Crosshair=IBeam=SizeNWSE=SizeNESW=SizeAll=UpArrow=DefaultValue=Windows defaultDefaultValue.MUI=@themeui.dll,-2043 [Control Panel\Desktop]Wallpaper=%ResourceDir%\Themes\kenshin1.bmpWallpaper.MUI=@themeui.dll,-2036TileWallpaper=0WallpaperStyle=2Pattern=ScreenSaveActive=0 [VisualStyles]Path=%ResourceDir%\Themes\corona\corona.msstylesColorStyle=NormalColorSize=NormalSize [boot]SCRNSAVE.EXE= [MasterThemeSelector]MTSM=DABJDKTThemeColorBPP=8
  13. I actually have no clue about RIS, but with your other questions i can help a bit i guess: you don't have to change dosnet.inf to install the service packs?!? only if you are slipstreaming the rollup update i believe... all you do, make a subfolder under I386 Directory, call it SvcPack or Updates or YoMomma etc... then, make sure all your hotfixes are in that folder.... also, if you are unsure of any of the commands in my example (like mdac.cmd) i suggest you read the MSFN unattended xp guide the difference between cmdlines.txt and svcpack.inf is basically nothing.... apparently cmdlines.txt is supposed to be a tad faster but i cannot find it to be faster myself.... in fact, the quickest way to install the service packs is to use RunOnce commands to install them (run a batch file from cmdlines.txt that uses REG to install RunOnce commands to install each update seperately, it will have the benefit of enahnced filesystem and interface support provided by the host OS drivers etc) Still, I am using svcpack.inf with absolutely no dramas... here is an example svcpack.inf that installs every critical update for XP so far: svcpack.inf [Version]Signature="$Windows NT$"MajorVersion=5MinorVersion=1BuildNumber=2600 [setupData]CatalogSubDir="\I386\SvcPack" [ProductCatalogsToInstall] [setupHotfixesToRun]q330994.exe /Q:A /R:Njs56nen.exe /Q:A /R:Nmdac.cmdq823182.exe /Q /O /N /Zq824105.exe /Q /O /N /Zq824141.exe /Q /O /N /Zq825119.exe /Q /O /N /Zq826939.exe /Q /O /N /Zq828028.exe /Q /O /N /Zq828035.exe /Q /O /N /Zq828741.exe /Q /O /N /Zq831167.exe /Q:A /R:Nq832894.exe /Q:A /R:Nq835732.exe /Q /O /N /Zq837001.exe /Q /O /N /Zq837009.exe /Q:A /R:NWMP9MM2.exeq828026.exe /Q /O /N /Zqchain.exeDX9NTopk.exemind you, this is for WinXP, you will have to slightly change yours to fit Win2K syntax and version numbers etc... the actual install commands won't change though
  14. this is basically the same as my previous "does sysprep add users" topic... you have the wrong sysprep commands i believe... you should try sysprep -reseal -reboot -nosidgen -activated note: you only need -activated if the machine is already activated or doesn't need activation, otherwise don't use it also, i believe if you have a user account already added, it will not ask you for one (if you create a useraccount using cmdlines.txt and useraccount.cmd it will not ask for user names, you can only have the defaults)
  15. choice only works good for a SET list of arguments.... with my method, you could have the batch file ask the user to type in their product key (rather from choosing from a list) for example... or their UserName... then you could create the WINNT.SIF based off this info (have a template where you can copy the files together, like 'copy winnt.1+cdkey+user+org+comp+winnt.2' where cdkey, user, org and comp are filenames created using the users inputs and winnt.1 and winnt.2 are the winnt.sif file split into 2 (you normally want userdata near the top of the winnt.sif just to make it look better)) i must admit though, choice is GREAT
  16. this is what I am talking about... if an update is integrated/slipstreamed you DONT HAVE TO INSTALL IT to make it install properly.... it's there, it's integrated, it's slipstreamed, that's it it's done!!! the only thing you have to do is make sure it load any catalog files through svcpack.inf you don't have to run the whole update again! otherwise, you would have to install service pack 1 after or during windows installation, even though it is SLIPSTREAMED!!! ???
  17. why not make a batch file that does everything you need?
  18. hahahaha,.... ok... i'm a bit drunk i was thinking of sysprep.inf hehehe i don't think oobe will ask you that info... sysprep will though heh sysprep -reseal -nosidgen -reboot -activated (or something like that) check ref.chm for proper sysprep usage (is it in there)
  19. okies thanks everyone the syntax of the commands have changed since windows 2000 anyone else notice that too? that batch file would have worked a treat on win98 unfortunately, the batch file still doesn't work trying any of these methods ???
  20. oops of course! good one alanoll i'm a bit drunk i shouldn't have tried to use my memory to give help to someone while im drunk... but hey! check out the batch file help i gave to one guy just before not bad after half carton of heavies
  21. that article doesn't really relate to installing the hotfixes.. that article describes the correct way to slipstream them into your installation source files.. which is why SP1 and SP2 can be integrated using this method... if they are slipstreamed you don't have to install them at all this is basically the same as TheElderGeek's method of slipstreaming the SP1 and security rollup packages into your source
  22. you can use the 'multi boot dvd' guide to create an XP CD that has both unattended and standard installation types, just have two copies of the I386, one with a winnt.sif and one without... but, using DefaultHide should do what you want.... just don't set SkipEULA=1 or any of the other SKIP options.... let us know if using DefaultHide works for running a repair otherwise, you have to do the multi-boot cd with 2 installations
  23. DPCPRO if you have the information in your WINNT.SIF for Username Business Name Computer Name etc, you have to add the same lines to your oobeinfo.inf file but leave them blank
  24. choice has been around forever... i was using it 10 years ago to make game-loading batch files hehehe... amazing what people will do for games... i first used choice in a 400 line batch file to load doom2 that had a menu screen, then i had a 1200 line batch file to load quake and a 1400 line batch file to load duke nukem 3d (yes, i had too much free time) unfortunately the choice command doesn't come with winxp, so it will have to be sourced from a Win9x or earlier installation.... it will work under 2k or xp, it just isn't included there are another few methods that can be used to get user input through the command prompt: If you have ANSI loaded, you can use something like this: ECHO Enter your preferred Computer Name, and press Enter when ready . . .ECHO [13;0;64;13pCOPY CON USRINPUT.TMPECHO [13;13pCLSECHO The Computer Name you typed in was:TYPE USRINPUT.TMPThe line "ECHO [13;0;64;13p' turns on ANSI key stroke checking, then the line "ECHO [13;13p" turns it off.... If you don't have ANSI loaded, you have to press F6 and then Enter, here is a demonstration batch file: This example checks for ANSI being loaded and assigns user input to a variable SET USRINPUT=SET ANSI=1MEM /C | FIND "ANSI" > NULIF ERRORLEVEL 1 SET ANSI=0IF "%ANSI%"=="1" ECHO [13;0;64;13pIF "%ANSI%"=="0" ECHO Enter one word only, and press F6 followed by Enter . . .IF "%ANSI%"=="1" ECHO Enter one word only, and press Enter . . .COPY CON %TEMP%.\~USRINP.TMPIF "%ANSI%"=="0" CLSIF "%ANSI%"=="1" ECHO [13;13p[3A[K[1B[K[1B[K[2AECHO.>> %TEMP%.\~USRINP.TMPECHO.>> %TEMP%.\~USRINP.TMPTYPE %TEMP%.\~USRINP.TMP | DATE | FIND "):" > %TEMP%.\~USRINP.BATCALL %TEMP%.\~USRINP.BATIF "%ANSI%"=="0" ECHO You typed: %USRINPUT%IF "%ANSI%"=="1" ECHO You typed: [1m%USRINPUT%[0mECHO.PAUSEFOR %%A IN (%TEMP%.\~USRINP.BAT %TEMP%.\~USRINP.TMP VOER.BAT TYP.BAT CURRENT.BAT) DO DEL %%ASET ANSI=Under windows 2000 and XP, the following should work as well: :: Only one single command line is needed to receive user inputFOR /F "tokens=*" %%A IN ('TYPE CON') DO SET INPUT=%%A:: Use quotes if you want to display redirection characters as wellECHO You typed: "%INPUT%"with that example, you have to press ENTER, F6, ENTER after typing in the information.... let's try make that better? :: Only one single command line is needed to receive user inputFOR /F "tokens=*" %%A IN ('MORE') DO SET INPUT=%%A:: Use quotes if you want to display redirection characters as wellECHO You typed: "%INPUT%"now we only have to press F6 and ENTER... SET ANSI=1MEM /C | FIND "ANSI" > NULIF ERRORLEVEL 1 SET ANSI=0IF "%ANSI%"=="1" ECHO [13;0;64;13pIF "%ANSI%"=="0" ECHO Enter some text, and press F6 followed by Enter . . .IF "%ANSI%"=="1" ECHO Enter some text, and press Enter . . .FOR /F "tokens=*" %%A IN ('MORE') DO SET INPUT=%%AIF "%ANSI%"=="1" ECHO [13;13pECHO You typed: "%INPUT%"OK, that one should allow you to capture user input strings and they should only have to Press ENTER (Not F6 first or anything) if ANSI is loaded...
×
×
  • Create New...