MSFN Forum: install.cmd - MSFN Forum

Jump to content



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

install.cmd how to make Rate Topic: -----

#1 User is offline   strekship 

  • Member
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 13-March 04

Posted 28 March 2004 - 03:53 PM

I would like to make a batch file so that my version of windows pe will automaticly install itself to the hdd. What commands do i need to put in.


#2 User is offline   likuidkewl 

  • [Centos~]$
  • PipPipPipPipPip
  • Group: Members
  • Posts: 960
  • Joined: 16-September 03

Posted 28 March 2004 - 04:31 PM

Read this post and then add the needed Diskpart/Xcopy commands:
http://www.msfn.org/board/index.php?showtopic=14316&st=0

Wait where are you installing from?

#3 User is offline   strekship 

  • Member
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 13-March 04

Posted 28 March 2004 - 04:35 PM

I want to boot windows pe that has explorer added to it from the cd and be able to click a .cmd file and have it install all of the files to the hdd and make it bootable.

#4 User is offline   strekship 

  • Member
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 13-March 04

Posted 28 March 2004 - 04:38 PM

Which method should i use? the new one or the old one?

#5 User is offline   likuidkewl 

  • [Centos~]$
  • PipPipPipPipPip
  • Group: Members
  • Posts: 960
  • Joined: 16-September 03

Posted 28 March 2004 - 04:42 PM

So if your partition is already setup then it should be easy due to negating the need for diskpart.

so just
ex.
mkdir %driveletter%\minint
Xcopy thefiles %driveletter%\minint
Xcopy ntdetect %driveletter%

easy man just try it out.

Quote

To create a bootable WinPE disk (32-bit versions of WinPE)
***Please note this is only the instructions on how to install WinPE and WinPE only to the hard drive, you must modify these instructions to get a "Dual boot"***

Boot the destination computer into WinPE using a WinPE CD.
Create a formatted and active partition.
On the active partition, create a directory called C:\Minint. You must name the directory "Minint".
Copy the contents of build_location\i386 to C:\Minint.
For example:

xcopy "C:\Build.x86\i386\*.*" C:\Minint /S
where C:\Build.x86 is build_location.

Copy Ntdetect.com from build_location to the root of the destination hard disk.
For example:

xcopy "C:\Build.x86\ntdetect.com" C:\
where C:\Build.X86 is build_location.

On the destination hard disk, copy C:\Minint\setupldr.bin to C:\ntldr.
For example:

xcopy "C:\Minint\setupldr.bin" C:\ntldr
Restart the destination computer. The computer starts using WinPE.


#6 User is offline   likuidkewl 

  • [Centos~]$
  • PipPipPipPipPip
  • Group: Members
  • Posts: 960
  • Joined: 16-September 03

Posted 28 March 2004 - 04:44 PM

Use the new version it is stated in the post as to why.

#7 User is offline   strekship 

  • Member
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 13-March 04

Posted 28 March 2004 - 05:13 PM

How do i use diskpart? I am haveing trouble creating a partition. can you give me commands? i just want a default C:.

#8 User is offline   likuidkewl 

  • [Centos~]$
  • PipPipPipPipPip
  • Group: Members
  • Posts: 960
  • Joined: 16-September 03

Posted 28 March 2004 - 05:22 PM

Diskpart is not meant for existing installations, it is for a fresh hard drive. But here is the info:
http://www.microsoft.com/resources/documen...s/diskpart.mspx

EDIT--
diskpart /s <path>\diskpart.txt
FORMAT S: /FS:NTFS /V:My_Label

where diskpart.txt would contain:

REM Select future S:\ drive
SELECT DISK 1
REM Wipe the disk clean
CLEAN
REM Create a single Primary Partition
CREATE PARTITION PRIMARY
REM Set the drive to mount at S:\
ASSIGN LETTER=S


Source:http://www.jsiinc.com/SUBO/tip7200/rh7282.htm

#9 User is offline   strekship 

  • Member
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 13-March 04

Posted 28 March 2004 - 05:31 PM

Ok, i did everything, but it will not boot to indows pe. It says that there is not os installed. do i need a boot.ini?

#10 User is offline   likuidkewl 

  • [Centos~]$
  • PipPipPipPipPip
  • Group: Members
  • Posts: 960
  • Joined: 16-September 03

Posted 28 March 2004 - 05:59 PM

I guess I should have asked which version of windowsPE you are using, when you got your OPK was there a SP1 sticker on it, or in the documentation does it say you can use it to build from Server 2003?

#11 User is offline   strekship 

  • Member
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 13-March 04

Posted 28 March 2004 - 07:28 PM

I don't know. i got the CD off of ebay and then made an iso of it and added explorer to it using cubies tutorial.

#12 User is offline   likuidkewl 

  • [Centos~]$
  • PipPipPipPipPip
  • Group: Members
  • Posts: 960
  • Joined: 16-September 03

Posted 28 March 2004 - 07:57 PM

Well then try the old RTM(pre SP1) way of doing it then.

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