MSFN Forum: Windows Source Files Size is Very Huge - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Windows Source Files Size is Very Huge Rate Topic: -----

#1 User is offline   Madhav 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 01-August 06

Posted 25 October 2006 - 12:29 AM

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 :)


#2 User is offline   gunsmokingman 

  • MSFN Master
  • Group: Super Moderator
  • Posts: 2,020
  • Joined: 02-August 03
  • OS:none specified
  • Country: Country Flag

Posted 25 October 2006 - 08:52 AM

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

Quote

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

Quote

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

Quote

If Fso.FolderExists(StrD ^& "\Apps") Then

It then passes that varible to here

Quote

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


The varible then is passed to this

Quote

Set %Source%=

Then it processed here

Quote

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


Quote

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


#3 User is offline   TravisO 

  • Trouble Starter
  • PipPip
  • Group: Members
  • Posts: 284
  • Joined: 16-December 04

Posted 25 October 2006 - 09:03 AM

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

This post has been edited by travisowens: 25 October 2006 - 09:03 AM


#4 User is offline   InTheWayBoy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 709
  • Joined: 16-August 04

Posted 25 October 2006 - 10:10 AM

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

#5 User is offline   TravisO 

  • Trouble Starter
  • PipPip
  • Group: Members
  • Posts: 284
  • Joined: 16-December 04

Posted 25 October 2006 - 11:15 AM

View PostInTheWayBoy, on Oct 25 2006, 10:10 AM, said:

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.

#6 User is offline   gunsmokingman 

  • MSFN Master
  • Group: Super Moderator
  • Posts: 2,020
  • Joined: 02-August 03
  • OS:none specified
  • Country: Country Flag

Posted 25 October 2006 - 11:17 AM

View Posttravisowens, on Oct 25 2006, 06:15 PM, said:

View PostInTheWayBoy, on Oct 25 2006, 10:10 AM, said:

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

#7 User is offline   Madhav 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 01-August 06

Posted 25 October 2006 - 06:57 PM

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 :-)

#8 User is offline   pmshah 

  • Member
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 10-September 05

Posted 26 October 2006 - 08:19 AM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy