Jump to content

Recommended Posts

Posted

I just made my latest windows version with lots of addons, driver and lots of removal too

now my source is about 1000 MB Huge

and i dont have a DVD writer :no:

So can i install it from my HD exactly as if i was installing from a CD?

thnx :)


Posted

You can install from the hard drive from a Windows

Cmd to start a install from Windows using a hard drive as the source

Example

start PATH_TO_THE_I386_FOLDER\winnt32.exe /noreboot /tempdrive:I: /unattend:winnt.sif
To get a full list of switches and there meanings open Cmd Promt and type

PATH_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 location

on 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 Off
CLS
Color F9
Mode 65,5
Title Set Source Drive Letter
Echo.
Echo Processing the Source Drive Letter
set SourceDrive=%SystemDrive%\SourceDrive.vbs
Echo 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.cmd
Set %Source%=
Del %SourceDrive%
Del %SystemDrive%\SourceDrive.cmd
Echo %Source%
Pause

Example RunOnceEx.cmd with the above code added to set the source location.

Notes

The 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") Then

It then passes that varible to here

Ts.WriteLine "Set Source=" ^& StrD ^& "\Apps\"

The varible then is passed to this

Set %Source%=

Then it processed here

REG ADD %KEY%\003 /V 2 /D "%Source%APLLICATION_FOLDER\APPLICATION.exe /s /v/qn" /f
cmdow @ /HID
@echo off

Echo.
Echo Processing the Source Drive Letter
set SourceDrive=%SystemDrive%\SourceDrive.vbs
Echo 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.cmd
Set %Source%=
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
Del %SourceDrive%
Del %SystemDrive%\SourceDrive.cmd

REG ADD %KEY%\003 /V 1 /D "APLLICATION NAME" /F
REG ADD %KEY%\003 /V 2 /D "%Source%APLLICATION_FOLDER\APPLICATION.exe /s /v/qn" /f

Posted

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...

Posted
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.

Posted
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

Posted

thnx for the Suggestions Guys

Ill try thoz tomorrow gunsmokingman :-)

Yeah i know its time to buy a DVD burner now

Ill probably get one by the end of this year or maybe March next year :-)

Posted

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/=

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...