Jump to content

mazin

Member
  • Posts

    1,948
  • Joined

  • Donations

    0.00 USD 
  • Country

    Egypt

Everything posted by mazin

  1. Download. Back to VISTA! StartCD3.rar
  2. If you use nLite on XP-SP2, there's ntoskrnl.exe in SP2.cab but not in Drivers.cab! If you don't use nLite, ntoskrnl.exe exists in both CABs. In addition to Drivers.cab and SP2.cab, if you have SP1.cab, there's ntoskrnl.exe; too! And you, SAFELY, need to hack 4 files: ntkrnlmp.exe ntkrnlpa.exe ntkrpamp.exe ntoskrnl.exe
  3. 1033 is for English.
  4. Just try again: http://unattended.msfn.org/
  5. I don't add: START
  6. Thank you, ricktendo64! OFF TOPIC: How did you make your signature? It's funny!
  7. You need the basics!
  8. You need to apply some reg tweaks for this (I think). It's not related to silent switches, however.
  9. Hi antonio_king! Your fle is deleted from RapidShare. I can't download from MegaUpload! This is a good site: http://www.zupload.com
  10. Download. (603 KB) This is a WinRAR-SFX archive that extracts "Royale Noir" directly to %SystemRoot%\Resources\Themes. I've added a .Theme file and a proper (IMO) wallpaper. I just thought it could be helpful to anyone who's a newbie to preparing and configuring a theme! After installation, select Royale Noir from the Themes menu. Thank you, itsjustaname, for the link. I always like Royale theme.
  11. For MSN Messenger, I extract the downloaded EXE with WinRAR to get the MSI file. You ONLY need the MSI file to install MSN Messenger and with the same switch you posted: MSN.msi /QB (OR) MSN.msi /QN Your switch for NERO is correct. I don't know about nero lang packs. For WinRAR, I use capital S; like this: WinRAR.exe /S
  12. I'm used to remove spacing from such strings plus I'm used to use 8.3 format for file names. This alwyas kept me in the safe side. However, I followed the same rules (removing spacing & 8.3 format) last time I installed some apps right from CD at T-13 (SVCPACK). Although I follow those rules, when I add quotes around the full path, the command prompt opens and the app isn't run! To solve this problem I just added double quotes between Start and /Wait like this: Start "" /Wait So, even if you have spacing in your path and even if you wrap it with quotes, it's much safer to put double quotes between Start and /Wait. These are some examples from my latest CD: Echo Universal Extractor 1.3.1 Start "" /Wait "%CDROM%\$OEM$\CDSVCPAK\UniXtrct\UniXtrct.exe" /SP- /VERYSILENT /LANG=English MD "%AllUsersProfile%\Start Menu\Programs\Universal Extractor" move "%AllUsersProfile%\Start Menu\Programs\Universal Extractor.lnk" "%AllUsersProfile%\Start Menu\Programs\Universal Extractor" >NUL Echo FlashGet 1.73 Start "" /Wait "%CDROM%\$OEM$\CDSVCPAK\FGet173\FGet173.exe" /S Start /Wait %SystemRoot%\regedit.exe /s "%CDROM%\$OEM$\CDSVCPAK\FGet173\FGet173.reg" echo HardCopy Pro 2.3.0 Start "" /Wait "%CDROM%\$OEM$\CDSVCPAK\HardCopy\HCSetup.exe" "%SystemDrive%\Program Files\HardCopy Pro" copy "%CDROM%\$OEM$\CDSVCPAK\HardCopy\*.d??" "%UserProfile%\Application Data\DeskSoft\HardCopy Pro\*.*" >NUL In the last example I copied some files from my CD to %UserProfile%. Under SVCPACK, "%UserProfile%\Application Data\DeskSoft\HardCopy Pro" resolves to "C:\Documents and Settings\Default User\Application Data\DeskSoft\HardCopy Pro". But if I use the same line (via a batch file) any time after the first logon, then "%UserProfile%\Application Data\DeskSoft\HardCopy Pro" resolves to "C:\Documents and Settings\mazin\Application Data\DeskSoft\HardCopy Pro", where mazin is assumed to be my account (profile). HTH
  13. Please, post the download size (?? MB)!
  14. Probably, you deleted WINNTBBU.DLL (DL_).
  15. Download. No Way! StartCD2.rar
  16. Download. This one is inspired by IE 7 setup screens. I hope you like it! StartCD1.rar
  17. @ WolfX2 I used your logo here.
  18. Download. The original SETUP.EXE (AutoRun) of Windows XP displays useless links. I always wanted to install some basic apps (NET, WMP, etc...) on some computer. With StartCD.exe, and being flexible, now I can do that. The attached RAR archive contains 5 files: 1- AUTORUN.INF 2- BACK.bmp 3- DATAPANE.BMP 4- StartCD.exe 5- StartCD.INI Assuming you've copied your Windows XP CD to your harddisk; to use StartCD.exe effectively, do the following: 1- Delete Setup.exe and AUTORUN.INF from the root of your Windows XP CD. 2- Put those 5 files in the root of your CD. 3- Set the attributes of them to Hidden, except StartCD.exe! BACK.bmp is the bigger picture shown in the background. DATAPANE.BMP is the smaller picture shown in the small box to the right. StartCD.INI controls and configures what appears when you run StartCD.exe! My StartCD.INI contains good examples for installing apps right from the CD. Everything in StartCD.INI is in English. Edit StartCD.INI to reflect your apps and their paths! You can test your work, prior to burning, by manually running StartCD.exe! You can do a more tidied job by putting both BACK.bmp and DATAPANE.BMP inside $OEM$, then edit the following lines in StartCD.INI to reflect the path to them: Image=%STARTDIR%\Back.bmp --Change--To--> Image=%RootDir%\$OEM$\Back.bmp Image=%STARTDIR%\DataPane.bmp --Change--To--> Image=%RootDir%\$OEM$\DataPane.bmp As you may have already guessed, $OEM$ is not the only choice. Actually, you can put both BMPs anywhere on your CD. Just remember to edit StartCD.INI! NB 1: The BMPs will not be copied to your HDD when installing Windows from this CD! NB 2: Windows logo by WolfX2. StartCD.rar
  19. nLite has nothing to do with your apps installation. If you want to add $OEM$ folders, just remember to edit your WINNT.SIF to reflect this.
  20. Welcome back, prathapml! Thank you for the links.
  21. Just Buttons. Background: 1024 × 768 Download.
  22. I use the same method as I set OemPreinstall = "Yes" in my WINNT.SIF and it works. Is it copied to the designated place or not?
  23. You restricted the topic title to batch files, but talked about VBScripts, too. Well! Let this discussion be open, then. SET CDROM=%~d0 does NOT fit everywhere! Also, long ago, I stopped using this method: FOR %%i IN (D <-> Z) DO IF EXIST %%i:\CD1.txt SET CDROM=%%i There are several situations where you want to get a CD letter (drive). Hence, a method someone uses to get a CD letter may vary depending on several factors. For in-depth investigation, see the following situations: 1- I have CDSVCPAK.CMD located as i386\SVCPACK\CDSVCPAK.CMD! As you may have already guessed, this file is launcehd (by SVCPACK.INF) from my harddisk during Windows Setup. CDSVCPAK.CMD runs 34 packages right from my UACD, along with some reg files. SET CDROM=%~d0 does NOT fit here! It would set the CD letter to C: (my current System Drive). I use this code, instead: for /f "tokens=3" %%v in ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v SourcePath') do set CDDRIVE=%%v SET CDROM=%CDDRIVE:~0,2% This sets the CD letter to I: (on my own PC). I: is the CD-ROM where I'm installing Windows from. 2- I have cmdlines.txt located as $OEM$\cmdlines.txt which launches UserAdd.cmd. UserAdd.cmd, in turn, runs CDLMROEX.INF! CDLMROEX.INF is located as $OEM$\CDLMROEX.INF! CDLMROEX.INF imports some reg keys to: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx Those reg keys should run 12 packages immediately after the first logon, via RunOnceEx. These packages are located in $OEM$\CDLMROEX. So, they will be run right from my UACD. SET CDROM=%~d0 does NOT fit here! I use the %01% variable inside CDLMROEX.INF to read/write the path to CDLMROEX.INF! Hence, MSN Messenger (for example) will be run as "I:\$OEM$\CDLMROEX\MSN75\MSN75.msi /qn". This means that %01% was resolved to I:\$OEM$. 3- I have ImgBurn.js located as $OEM$\CDLMROEX\ImgBurn\ImgBurn.js! ImgBurn.js launches ImgBurn.exe from $OEM$\CDLMROEX\ImgBurn\ImgBurn.exe! It runs ImgBurn.exe with its silent switch then sends some keys. For ImgBurn.js to launch ImgBurn.exe from the UACD, I use this code: var path = WScript.ScriptFullName;//getting the full path to this script. var CDROM = path.substring(0,2);//extracting CD letter from the full path. WshShell.RUN (CDROM + "\\$OEM$\\CDLMROEX\\ImgBurn\\ImgBurn.exe /S");//running exe. SET CDROM=%~d0 does NOT fit here! 4- I've got a CD-ROM and CD-RW. The CD-ROM was broken down (idle). I received an error when I used this code: FOR %%i IN (D <-> Z) DO IF EXIST %%i:\CD1.txt SET CDROM=%%i This happened because that code searches ALL drives for CD1.txt (or whatever file). It does not stop the search process when it finds the file. Since my idle CD-ROM wasn't disconnected, the error occurred and the batch file stopped. It was the last time I used that code to get the CD letter. SET CDROM=%~d0 does NOT fit here because the batch file was fired from my HDD.
×
×
  • Create New...