Jump to content

niwa_kun

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Philippines

About niwa_kun

niwa_kun's Achievements

0

Reputation

  1. Hi, Have a look at this post, it's a summary what actually is happening: http://www.msfn.org/board/index.php?showto...st&p=797585 ~BT and ~LS folders are renamed at T-9, the last possible place before end of GUI mode. They are renamed back upon first login. You can put any script, using the various options you have BEFORE SetupParams (T-9), when ~LS/~BT names are intact. You may also add your script or launch it by ren_fold.cmd, before the renaming occurs. Or use presetup.cmd if that early stage suits you. If you need to launch a script during first logon, you can add it to undoren.cmd or make it launch by the same, after the renaming part in it. In all scripts USB drive letter is already found for you. http://unattended.msfn.org/unattended.xp/view/web/13/ If I add our stuff, the timeline would look like: »Text-mode Setup 1. Loads Drivers 2. Copies files required for Setup to the Hard Disk 3. Copies the contents of your $OEM$ folders to the Hard Disk <--- this is done by presetup.cmd because we have to remove unattended section in winnt.sif 4. Reboots the PC... » GUI-mode Setup 0. Presetup.cmd is launched 1. DetachedProgram executes from winnt.sif at T-39 stage 2. Installs Devices 3. Installs Network 4. Installs Start Menu Items 5. Registers Components 6. svcpack.inf executes at T-13 minute stage 7. cmdlines.txt executes at T-12 minute stage 8. SetupParams executes from winnt.sif at T-9 minute stage <----ren_fold.cmd is launched renaming ~BT and ~LS in order to avoid 10. 9. Saves Settings 10. Deletes temporary files then reboots... » First Logon 1. Windows logs you in and loads personal settings 2. Both GUIRunOnce from winnt.sif and RunOnceEX executes at the same time <----undoren.cmd is launched to rename back ~BT and ~LS folders 3. Desktop and Taskbar loads Note: What presetup.cmd does: 1) merges the removed unattended section from winnt.sif to \windows\system32\$winnt$.inf 2) If oempreinstall=1 is found in winnt.sif, copies $oem$ folders 3) If OemPnPDriversPath is found spdrvscn32/64.exe is launched to add those paths in registry, details 4) launches binifix.cmd to fix boot.ini on the target hard disk from rdisk(Z) to rdisk(Z-1) In vers. 0.2, which is nearly ready, ~BT and ~LS folders will not be renamed anymore, instead, $winnt$.inf is changed by binifix.cmd to msdosinitiated=0 thus at T-1 Setup does not delete ~LS and ~BT folders and we do not need to rename them to avoid that. 0.2 was delayed until figure out how to amend $winnt$.inf on x64 windows from 32bit environment, but luckily this is now resolved with the help of this excellent info: http://blogs.sepago.de/nicholas/2008/03/13...on-windows-x64/ I hope knowing more how all this works, will let you add whatever you want to the USB stick. Can you post your menu.lst and winsetup.lst in root of the USB disk?As I get it you select Second part of setup, but actually the first part (Text mode) is launched instead, right? The program does not add anything extra to winnt.sif, except a few required lines. If you used the earlier versions- they use unattended.txt if found in your I386 folder AND if winnt.sif was not found.The program does not add anything to $OEM$ as well, it's copied unmodified from your source. As for the boot.ini- if you do a few installations one after another, Setup reads the existing boot.ini and add it's contents to the new boot.ini, hence the duplicate lines. The last line is to be able to perform repair install from USB or Recovery console if started from USB to be able to see your installation. Without it neither will happen. i know now why it causes to list multiple menus on boot up... maybe you need to add a script on your command cause once the setup restarts... i know i restarted my setup cause of power interruption(2 time) .. i just replaced binifix4.cmd wuth my cutom binfix4.cmd so it wont listed again as the setup restarts
  2. This guide is really cool... though i made some changes on it..... like i edited the WINNT.sif [Data] MsDosInitiated=1 floppyless=1 [GuiRunOnce] "binifix4.cmd c:" "undoren.cmd" sc config rdummy start= disabled [SetupParams] UserExecute = "ren_fold.cmd" i deleted most all of of the unattended configurations ..cause it bypass some steps of installations... and also deleted the $OEM$ cause the configuration is not good.. so i decide to not include it.... and one more thing.... why in my boot.ini show 4 OS menus: [Boot Loader] timeout=0 Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [Operating Systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="USB Repair NOT to Start Microsoft Windows XP Professional" /noexecute=optin /fastdetect maybe there's something wrong on. binifix4.cmd
×
×
  • Create New...