Madhav Posted October 25, 2006 Posted October 25, 2006 I just made my latest windows version with lots of addons, driver and lots of removal toonow my source is about 1000 MB Hugeand i dont have a DVD writer So can i install it from my HD exactly as if i was installing from a CD?thnx
gunsmokingman Posted October 25, 2006 Posted October 25, 2006 You can install from the hard drive from a WindowsCmd to start a install from Windows using a hard drive as the sourceExamplestart PATH_TO_THE_I386_FOLDER\winnt32.exe /noreboot /tempdrive:I: /unattend:winnt.sifTo get a full list of switches and there meanings open Cmd Promt and typePATH_TO_THE_I386_FOLDER\winnt32.exe /?You also could try some thing like this.Make you UA XPCD to 700 MB then have the rest of the apps install from a set locationon your hard drive.You could add this to the top of the RunonceEx.cmd this will then set the hard drive letter.Code to add to RunOnceEx.cmd@Echo OffCLSColor F9Mode 65,5Title Set Source Drive LetterEcho. Echo Processing the Source Drive Letterset SourceDrive=%SystemDrive%\SourceDrive.vbsEcho Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") > %SourceDrive%Echo Dim Drv, strFileName, StrD, TS >> %SourceDrive%Echo Set Drv = Fso.Drives >> %SourceDrive% Echo strFileName = Fso.BuildPath(Wscript.ScriptFullName ^& "\..", "SourceDrive.cmd") >> %SourceDrive% Echo strFileName = Fso.GetAbsolutePathName(strFileName) >> %SourceDrive% Echo For Each StrD In Drv >> %SourceDrive% Echo If StrD.DriveType = 2 Then >> %SourceDrive%Echo If Fso.FolderExists(StrD ^& "\Apps") Then >> %SourceDrive%Echo Set TS = Fso.CreateTextFile(strFileName) >> %SourceDrive%Echo Ts.WriteLine "Set Source=" ^& StrD ^& "\Apps\" >> %SourceDrive%Echo TS.Close >> %SourceDrive%Echo Exit For >> %SourceDrive% Echo Else >> %SourceDrive% Echo Set TS = Fso.CreateTextFile(strFileName) >> %SourceDrive%Echo Ts.WriteLine "Set Source=Cannot_Find_Source_Folder" >> %SourceDrive%Echo TS.Close >> %SourceDrive%Echo End If >> %SourceDrive%Echo End If >> %SourceDrive%Echo Next >> %SourceDrive%Start /w %SourceDrive%Call %SystemDrive%\SourceDrive.cmdSet %Source%=Del %SourceDrive%Del %SystemDrive%\SourceDrive.cmdEcho %Source%PauseExample RunOnceEx.cmd with the above code added to set the source location.NotesThe script looks for a folder called Apps on the local drives, this script does not need the drive letter as that is set when it finds the folder.If Fso.FolderExists(StrD ^& "\Apps") ThenIt then passes that varible to hereTs.WriteLine "Set Source=" ^& StrD ^& "\Apps\"The varible then is passed to this Set %Source%=Then it processed hereREG ADD %KEY%\003 /V 2 /D "%Source%APLLICATION_FOLDER\APPLICATION.exe /s /v/qn" /fcmdow @ /HID@echo offEcho. Echo Processing the Source Drive Letterset SourceDrive=%SystemDrive%\SourceDrive.vbsEcho Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") > %SourceDrive%Echo Dim Drv, strFileName, StrD, TS >> %SourceDrive%Echo Set Drv = Fso.Drives >> %SourceDrive% Echo strFileName = Fso.BuildPath(Wscript.ScriptFullName ^& "\..", "SourceDrive.cmd") >> %SourceDrive% Echo strFileName = Fso.GetAbsolutePathName(strFileName) >> %SourceDrive% Echo For Each StrD In Drv >> %SourceDrive% Echo If StrD.DriveType = 2 Then >> %SourceDrive%Echo If Fso.FolderExists(StrD ^& "\Apps") Then >> %SourceDrive%Echo Set TS = Fso.CreateTextFile(strFileName) >> %SourceDrive%Echo Ts.WriteLine "Set Source=" ^& StrD ^& "\Apps\" >> %SourceDrive%Echo TS.Close >> %SourceDrive%Echo Exit For >> %SourceDrive% Echo Else >> %SourceDrive% Echo Set TS = Fso.CreateTextFile(strFileName) >> %SourceDrive%Echo Ts.WriteLine "Set Source=Cannot_Find_Source_Folder" >> %SourceDrive%Echo TS.Close >> %SourceDrive%Echo End If >> %SourceDrive%Echo End If >> %SourceDrive%Echo Next >> %SourceDrive%Start /w %SourceDrive%Call %SystemDrive%\SourceDrive.cmdSet %Source%=SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExDel %SourceDrive%Del %SystemDrive%\SourceDrive.cmdREG ADD %KEY%\003 /V 1 /D "APLLICATION NAME" /FREG ADD %KEY%\003 /V 2 /D "%Source%APLLICATION_FOLDER\APPLICATION.exe /s /v/qn" /f
TravisO Posted October 25, 2006 Posted October 25, 2006 (edited) You can buy a name brand CD/DVD burner /w Dual Layer support for $29. Time to get one.http://www.newegg.com/Product/Product.asp?...N82E16827106014 Edited October 25, 2006 by travisowens
InTheWayBoy Posted October 25, 2006 Posted October 25, 2006 Either that or split things up and use something like WPI. On one CD just have the OS and OS-specific updates/installs. Once that is done installing and you are at the desktop you can just drop in the other CD to start installing everything else. WPI gives you a nice GUI to handle all that, but those scripts above look to accomplish much of the same.But yeah, jump up to DVD's, things aren't getting any smaller these days...
TravisO Posted October 25, 2006 Posted October 25, 2006 But yeah, jump up to DVD's, things aren't getting any smaller these days...I totally agree here. Heck, the first time I slipstreamed SP2 into XP, I didn't expect it to fit on a normal CDr. I wonder if XP would still fit in a CDr if I slipped ALL the patches into it and a the full install of IE7.
gunsmokingman Posted October 25, 2006 Posted October 25, 2006 But yeah, jump up to DVD's, things aren't getting any smaller these days...I totally agree here. Heck, the first time I slipstreamed SP2 into XP, I didn't expect it to fit on a normal CDr. I wonder if XP would still fit in a CDr if I slipped ALL the patches into it and a the full install of IE7.My Cd source with SP2 updates and IE7 and apps sit at approx 693 MB
Madhav Posted October 26, 2006 Author Posted October 26, 2006 thnx for the Suggestions GuysIll try thoz tomorrow gunsmokingman :-)Yeah i know its time to buy a DVD burner nowIll probably get one by the end of this year or maybe March next year :-)
pmshah Posted October 26, 2006 Posted October 26, 2006 Since you are located in India I suggest OEM packaged Sony Dual layer DVD-RW drives which are available for Rs.2000/= in Mumbai.The extra advantage is even if you are working on a CD image you can do all the testing on DVD+RW. Writing is at least 5 times faster than the fastest CD-RW. The media is around Rs.75/=
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