DanFraser Posted December 13, 2005 Share Posted December 13, 2005 (edited) I have been reading this site for AGES, and have done many slipstreamed disks and whatnot. But now I am going for BIG.I am going to try and use a DVD with XP SP2, updated drivers, Visual Studio .NET, just about every program in the application switches forum, with my own theme, using runonceex.I have been going at this for ages (about 14 days just doing this), reading up on everything. It's also my first time using runonceex.Visual Studio will be copied across in its directory format (as outlined in numerous microsoft help pages), and installed at the end of runonceex with a batch file (hidden of course )I just managed to squeeze it in to 4GB! Edited December 14, 2005 by DanFraser Link to comment Share on other sites More sharing options...
druiddk Posted December 13, 2005 Share Posted December 13, 2005 Good luck Link to comment Share on other sites More sharing options...
DanFraser Posted December 14, 2005 Author Share Posted December 14, 2005 ARGH!It didn't work! The setup stops at the T-12 stage of the setup, but I cannot figure out why.I am going to put everything involved with my DVD into this post so you guys can pick at it all.Please help!First of all, here's a pic of the root of my DVD. It shows what I have done to integrate Visual Studio .NET onto the DVD so that it is easily installed later on.Next, WINNT.SIF :;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS UnattendSwitch="yes" FileSystem=* WaitForReboot="No" DriverSigningPolicy=Ignore ProgramFilesDir="D:\Programs" CommonProgramFilesDir="D:\Programs\My Common Files" KeyboardLayout="United Kingdom"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1[UserData] ProductKey=YEAH RIGHT!! FullName="DanFraser" OrgName="Home" ComputerName=CLIENT[Display] BitsPerPel=32 Xresolution=1280 YResolution=1024 Vrefresh=60[TapiLocation] CountryCode=44 Dialing=Tone AreaCode=01332[RegionalSettings] LanguageGroup=1 SystemLocale=00000809 UserLocale=00000809 InputLocale=0809:00000809[Identification] JoinWorkgroup=HOME[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=No UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=No IPAddress=192.168.0.3 SubnetMask=255.255.255.0 DefaultGateway=192.168.0.1 DNSServerSearchOrder=192.168.0.1 WINS=No NetBIOSOptions=0[Shell]CustomDefaultThemeFile = "%WinDir%\Resources\Themes\myTheme.theme"My user account stuff is pretty standard, i know its worked, its always worked, so i'll skip that.Now for my RunOnceEx.cmdcmdow @ /HID@echo offFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Soundblaster Live 5.1 Drivers" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Applications\SBLive\CTZAPXX.exe /q /o /r" /fREG ADD %KEY%\010 /VE /D "Microsoft Office XP" /fREG ADD %KEY%\010 /V 1 /D "%CDROM%\Applications\OfficeXP\setup.exe TRANSFORMS=Unattended.MST /qb-!" /fREG ADD %KEY%\020 /VE /D "MBM 5370" /fREG ADD %KEY%\020 /V 1 /D "%CDROM%\Applications\MBM\mbm5370.exe /VERYSILENT /SP-" /fREG ADD %KEY%\020 /V 2 /D "%CDROM%\Applications\MBM\MBMIO.EXE /s /32 /2 %systemroot%\system32" /fREG ADD %KEY%\020 /V 3 /D "mbm.reg" /fREG ADD %KEY%\025 /VE /D "IsoBuster 1.6" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Applications\IsoBuster\IsoBuster.exe /VERYSILENT /SP-" /fREG ADD %KEY%\030 /VE /D "VLC Player" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\Applications\vlc\vlc-0.8.2-win32.exe /S" /fREG ADD %KEY%\035 /VE /D "Nero 6" /fREG ADD %KEY%\035 /V 1 /D "neroinstall.reg" /fREG ADD %KEY%\035 /V 2 /D "%CDROM%\Applications\Nero\Nero6.exe" /fREG ADD %KEY%\035 /V 3 /D "neroinstall.reg" /fREG ADD %KEY%\040 /VE /D "WinAmp" /fREG ADD %KEY%\040 /V 1 /D "%CDROM%\Applications\Winamp\winamp.exe /S" /fREG ADD %KEY%\045 /VE /D "Ulead PhotoImpact" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\Applications\ULEADPI\setup.exe -s" /fREG ADD %KEY%\050 /VE /D "Daemon Tools" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\Applications\daemon\daemon347.exe /qn /Reboot=Suppress" /fREG ADD %KEY%\055 /VE /D "DC++ 0.674" /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\Applications\dc++\DCPlusPlus-0.674.exe /S" /fREG ADD %KEY%\060 /VE /D "Norton AntiVirus 2002" /fREG ADD %KEY%\060 /V 1 /D "%CDROM%\Applications\Nav2002\setup.exe /qn /norestart" /fREG ADD %KEY%\065 /VE /D "Creative Surround Mixer" /fREG ADD %KEY%\065 /V 1 /D "%CDROM%\Applications\Surmix2\Setup.exe /s" /fREG ADD %KEY%\070 /VE /D "WinRAR" /fREG ADD %KEY%\070 /V 1 /D "%CDROM%\Applications\WinRAR\wrar342.exe /silent" /fREG ADD %KEY%\075 /VE /D "Keyboard Drivers" /fREG ADD %KEY%\075 /V 1 /D "%CDROM%\Applications\Keyboard\Keyboard.exe" /fREG ADD %KEY%\080 /VE /D "Adobe Acrobat Reader 705" /fREG ADD %KEY%\080 /V 1 /D "%CDROM%\Applications\Acrobat\AdbeRdr705_enu_full.exe /S/v/qn" /fREG ADD %KEY%\085 /VE /D "Quicktime 7.0.3" /fREG ADD %KEY%\085 /V 1 /D "%CDROM%\Applications\QuickTime\QuickTimeInstaller.exe /S/v/qn" /fREG ADD %KEY%\090 /VE /D "nLite 1.0rc3" /fREG ADD %KEY%\090 /V 1 /D "%CDROM%\Applications\nLite\nlite1.0rc3i.exe /sp- /silent /norestart" /fREG ADD %KEY%\095 /VE /D "SiSoft Sandra 2004" /fREG ADD %KEY%\095 /V 1 /D "%CDROM%\Applications\sandra\sandra2004-989-Win32-G3N.exe /sp- /silent /norestart" /fREG ADD %KEY%\100 /VE /D "Clearing up" /fREG ADD %KEY%\100 /V 1 /D "clearup.cmd" /fpauseexitwhich moves into clearup.cmd (placed in system32)cmdow @ /HID@echo offtitle Clearing UpFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:sleep.exe 5start /wait %CDROM%\Applications\WMP\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N DisallowSystemRestore"sleep.exe 5taskkill /f /im winamp.exetaskkill /f /im NAV*.exe /Ttaskkill /f /im MBM5.exexcopy /S /E /Y %CDROM%\Applications\NUpdate\*.* %programfiles%\Common Files\Symantec Shared\VirusDefs\Incoming\*.*sleep.exe 1attrib -R "%programfiles%\Motherboard Monitor 5\" /Sstart /wait REGEDIT /S mbm.regxcopy /S /E /Y "%CDROM%\Applications\MBM\Files\*.*" "%programfiles%\Motherboard Monitor 5\*.*"start /wait neroinstall.regtaskkill /f /im winamp.exesleep.exe 10xcopy /Y %CDROM%\Applications\Winamp\Winamp %programfiles%\Winamp\*.*sleep.exe 1mkdir %allusersprofile%\Start Menu\Programs\Isobustershortcut /F:"%allusersprofile%\Start Menu\Programs\Startup\Winamp.lnk" /A:C /T:%programfiles%\Winamp\Winamp.exe /W:%programfiles%\Winampshortcut /F:"%allusersprofile%\Start Menu\Programs\Startup\mbmstart.lnk" /A:C /T:%programfiles%\Motherboard Monitor 5\mbm5.exe /W:%programfiles%\Motherboard Monitor 5shortcut /F:"%allusersprofile%\Start Menu\Programs\Isobuster.lnk" /A:C /T:"%programfiles%\Smart Projects\IsoBuster\IsoBuster.exe" /W:"%programfiles%\Smart Projects\IsoBuster"shortcut /F:"%allusersprofile%\Start Menu\Programs\Excursion.lnk" /A:C /T:%programfiles%\Excursion\mIRC.ExCurSioN.exe /W:%programfiles%\Excursionsleep.exe 2net user aspnet /deleteDEL "%systemroot%\*.bmp"DEL "%systemroot%\Web\Wallpaper\*.jpg"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"shortcut /F:"%allusersprofile%\Start Menu\Programs\Startup\install2.lnk" /A:C /T:install2.cmd /W:%%systemdrive%%\WINDOWS\system32sleep.exe 2start /wait %CDROM%\Applications\Java\j2re-1_4_2_06-windows-i586-p.exe /s "/v/qn REBOOT=Suppress WEBSTARTICON=0"sleep.exe 60shutdown -r -t 00 -fexitLooking at that, ive just seen that i have added a OOBEINFO.INI in the system32 folder (in $OEM$\$$\system32 of course). Could that affect it?Near the end, that creates a shortcut to install2.cmd in the install drive root, which itself is placed in the startup folder, to instal visual studio .net after the last reboot.@echo offtitle Installing Visual Studio .NETECHO Locating installation DVD drive letter...ECHO.FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:ECHO Located...ECHO.ECHO Installing Windows Media Player 10start /wait %CDROM%\Applications\WMP\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N DisallowSystemRestore"sleep.exe 1ECHO DoneECHO.sleep.exe 1ECHO Now installing Visual Studio .NETstart /wait %CDROM%\setup\setup.exe /NO_BSLN_CHECK /unattendfile vssilent.inisleep.exe 5ECHO Installation of Visual Studio .NETECHO is complete. The computer shall beECHO rebooted once again to finalise theECHO computers' setup in one minute.sleep.exe 60shutdown -r -t 00 -fexitObviously not hidden by cmdow as it does let you know whats going on.Thats pretty much it really.If you can find anything wrong, or make any suggestions, it would be really appreciated!(if you want to know how i set up visual studio .net in this way, don't hesitate to ask, i have tested this independently). Link to comment Share on other sites More sharing options...
gunsmokingman Posted December 14, 2005 Share Posted December 14, 2005 Do you have a cmdlines.txt file in you %OEM% folder.That used at the 12 min mark.My cmdlines.txt[COMMANDS]"REGEDIT /S wmp10.reg""REGEDIT /S 000.reg""REGEDIT /S 020.reg""REGEDIT /S 040.reg""REGEDIT /S 060.reg""REGEDIT /S 080.reg""UserAcount.cmd""RunOnceEx.cmd" Link to comment Share on other sites More sharing options...
DanFraser Posted December 14, 2005 Author Share Posted December 14, 2005 [COMMANDS]"useraccounts.cmd""REGEDIT /S regtweaks.reg""RunOnceEx.cmd"Looks fine to me, i only added the runonce line for this dvd. Link to comment Share on other sites More sharing options...
keytotime Posted December 14, 2005 Share Posted December 14, 2005 The probelem is your runoncex.cmdIt say's:pauseexitThe pause make's it wait until you press enter, but since the window is hidden you can't press enter, therefore it hang's.Change it to:exit Link to comment Share on other sites More sharing options...
DanFraser Posted December 14, 2005 Author Share Posted December 14, 2005 God i feel a right bloody gimp... Link to comment Share on other sites More sharing options...
DanFraser Posted December 20, 2005 Author Share Posted December 20, 2005 (edited) Darn, just a couple of things that need sorting. Visual Studio .NET is not installing from the DVD anymore... I have the correct syntax etc etc (I've been over that many a time, not making my last mistake again). I can get the Windows Component Update disk to silently install what I need. Right now I am trying to figure out whether it could be that the vssilent.ini for the unattend file might be pointing to D:\programs\ as the install folder, or the .Net framework is not installed correctly. Can I slipstream .Net 1.0.3705 into windows? It could be that doing it as that might need a reboot to finalise that install. I'm in the library (no proper net connection...) so I can't post my files, so have a stab in the dark (!) Btw, 1.0.3705 seems to be necessary for the install to continue (don't ask me why, VS7 just does...).Also, is there a way i can just fake a cd from the directories of my XP DVD that are actually on my hard drive? Burning a 4GB DVD (even to an image on a hard drive at 30MB/s) takes ages, and isnt getting practical anymore!Ooh, Anyway to shrink the "DVD" of Visual Studio? I don't need all that stuff there, and surely I can reduce it down from 2.5GB...? Edited December 20, 2005 by DanFraser 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