Lucius Snow Posted August 20, 2004 Share Posted August 20, 2004 Hello all,Like i explained it in this thread i'm trying to make a dual boot with only one OS, XP+SP2, in two modes : regular install and unattended one. I've followed the method explained there.The second one seems to work for now (only tested in VMware though, not in real with RAID drivers and stuff). However the regular one makes troubles ...It doesn't copy the contents of $OEM$\$1 (apps and drivers) since i specified the following lines in the winnt.sif :[unattended]Unattendmode = DefaultHideOemPreinstall = NOActually i thought i could force in this way not to consider the OEM but that didn't work (the absence of winnt.sif neither by the way). The contents of $OEM$\ (cmdlines.txt, cmdlines.reg and a few BATCH files) got executed though during the installation. But i do not want it for that regular installation ...How can i do ? Is there any way not to consider the OEM process at all with this dual boot method ?Thank you Link to comment Share on other sites More sharing options...
edbro Posted August 20, 2004 Share Posted August 20, 2004 I did this using a multiboot cd that loads different winnt.sif's based on the boot selection. You have to hexedit setupldr.bin to tell it to point to different winnt.sifs. Check out this thread:Look HereIt will also point you to here:Gosh's Page Link to comment Share on other sites More sharing options...
Alanoll Posted August 20, 2004 Share Posted August 20, 2004 he doesn't want multiple winnt.sif, but just not to use cmdlines.txt in one of his installs.What you could do, is have CMDLINES.TXT call a batch file that then runs the other batch files. The batch file CMDLINES.TXT runs just checks to see if a file is present (ie $OEM$\$1\oem.txt was copied over, it would check for that file). If present, it runs the other batches, if not, it exits and setup continues. Link to comment Share on other sites More sharing options...
edbro Posted August 20, 2004 Share Posted August 20, 2004 (edited) Disregard Edited August 20, 2004 by edbro Link to comment Share on other sites More sharing options...
Lucius Snow Posted August 21, 2004 Author Share Posted August 21, 2004 Thank you.I used your method Alanoll.However i merged my batch files in one not to get lot of window opening during the install (i couldn't use cmdow because it won't copy on the regular install).Here are my files :cmdlines.txt[Commands]"cmdlines.bat"cmdlines.bat@echo offif exist "%systemdrive%\Apps\dotnet\install.exe" goto filefoundgoto end:filefoundecho Installation de Microsoft .NET Framework 1.1start /wait %systemdrive%\Apps\dotnet\install.exe /qecho Termineecho.echo Installation de Sun Java Runtime Environment 1.4.2.04start /wait %systemdrive%\Apps\Sun_JRE\j2re.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"echo Termineecho.echo Installation de K-Lite Codec Pack 2.27start /wait %systemdrive%\Apps\klite\klcodec.exe /verysilent /COMPONENTS="divxdec,divx,divxmpeg4,xviddec,xvid,3ivxdec,3ivx,wmv,vp3,vp6dec,vp6,dvd,huffyuv,msmpeg4,mpeg2el,mp3audio,wmaaudio,ac3audio,ac3acm,oggvorbis,aac,musepack,voxware,ape,mp3lame"echo Termineecho.echo Installation de WinRAR 3.30start /wait %systemdrive%\Apps\winrar\wrar330fr.exe /sstart /wait regedit.exe /s "%systemdrive%\Apps\winrar\Settings.reg"echo Termineecho.echo Installation d'Adobe Acrobat Reader 6.01start /wait %systemdrive%\Apps\acrobat\acrobat.exe -p"-s /v\"/qn\""start /wait regedit.exe /s "%systemdrive%\Apps\acrobat\Settings.reg"echo Termineecho.echo Personnalisation de Windowsstart /wait regedit.exe /s cmdlines.regdel /f /s /a "%allusersprofile%\Menudm~1\Windows Update.lnk" del /f /s /a "%allusersprofile%\Menudm~1\Config~1.lnk" del /f /s /a "%allusersprofile%\Menudm~1\Catalogue Windows.lnk" del /f /s /a "%allusersprofile%\Menudm~1\Programmes\MSN Explorer.lnk" del /f /s /a "%allusersprofile%\Menudm~1\Programmes\Windows Messenger.lnk"RD /S /Q "%allusersprofile%\Menudm~1\Programmes\Java Web Start"RD /S /Q "%allusersprofile%\Menudm~1\Programmes\K-Lite Codec Pack"RD /S /Q "%allusersprofile%\Menudm~1\Programmes\PrintMe Internet Printing"del /f /s /a "%allusersprofile%\Bureau\*.lnk"del /f /s /a C:\Docume~1\Defaul~1\Menudm~1\Progra~1\assist*.lnkecho Termineecho.goto end:endexit Link to comment Share on other sites More sharing options...
Alanoll Posted August 21, 2004 Share Posted August 21, 2004 However i merged my batch files in one not to get lot of window opening during the install (i couldn't use cmdow because it won't copy on the regular install).Not entirely accurate. You can modify txtsetup.sif to have Windows Setup copy it over like any other XP file, but then you'd have to edit files....and could get complicated.Atleast your got it working the way you want Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now