MSFN Forum: [HOWTO] Run WPI directly of CD\DVD - MSFN Forum

Jump to content



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

[HOWTO] Run WPI directly of CD\DVD to win time, to not fragmented your disk Rate Topic: -----

#1 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 16 November 2005 - 04:37 PM

WHY do you want to copy WPI and other programs to the harddisk? Everything you copied to the harddisk and installs or excute have to be removed after completing install, it fragmented your disk, also slowdown your total setuptime. Needles to do that!! :realmad:

please install or excute almost everything direct from cd or dvd to win time and space. Let me tell you how to do this.

Create a map called "Install" and place it at the root of the disk.

Download the WPI 4.3.5. and unzip it to "Install". Go to WPI.cmd and rewrite the next lines to:
REM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD.
for %%i in (C 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:\install\wpi\wpi.ico set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%

REM Determine the WPI startup path. 
REM if wpi should run off the cd the replace %~dp0 with %cdrom%.
set wpipath=%cdrom%\install\wpi

Also go to the generate.js and rewrite two lines wpi.ico to WIN51:
if (FileExists(li[i]+'\\WIN51'))
and
if (FileExists(a+'\\WIN51'))


i believe this is everything against bypassing WPI. place all your programs which you want to install in "INSTALL". (Doh...)

Create a runonceex with:
cmdow @ /HID
@ECHO OFF

for %%i in (C 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:\WIN51 set CDROM=%%i:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY%\001 /V 1 /D "%CDROM%\Install\WPI\WPI.cmd" /f

EXIT


Add to your cmdlines.txt the next line:
[COMMANDS]
"REGEDIT /S theme.reg"
"RunOnceEx.cmd"

RunOnceEx.cmd will always be the latest running program (cleanup.cmd the really latest but to not run into problems you better add cleanup.cmd to your WPI checkbox and give it the number 999. so that the program will forced to run as latest. The "REGEDIT /S theme.reg" is optional, if you followed my other HOWTO (also in WPI forum).

Place RunOnceEx.cmd and cmdlines.txt in $OEM$. please note that everything in a map with a "$" in the title, will be copied to your harddisk and slowdown your total setuptime. so keep all "$"-maps small as if you can. dont throw unneedles big things in it!

i believe this is everything. If you dont know how to edit .js or what cmdlines.txt is, then you arent ready to make a WPI disk at all. please move your a** to http://unattended.msfn.org/ and read everything and DO everything without asking to learn the basic things of creating unattended cd/dvd in your own language. No need to hurry, do it step to step. complete the howto and then come back here and create your WPI disk :)

for other members: ENJOY! :thumbup

I hope Kelsenellenelvian change in the next version to install WPI directly from CD\DVD so bypassing is not needed anymore, this is a cleaner faster way.


#2 User is offline   EdGaR 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 26-March 05

Posted 19 November 2005 - 09:07 PM

is there really a need for the OEM folder?cuz im trying it without it and its not working.its not recognizing wpi at the very end.i edited my winnt.sif to run wpi.cmd rite after windows installation is that not possible?

#3 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 19 November 2005 - 11:47 PM

View PostEdGaR, on Nov 20 2005, 04:07 AM, said:

is there really a need for the OEM folder?cuz im trying it without it and its not working.its not recognizing wpi at the very end.i edited my winnt.sif to run wpi.cmd rite after windows installation is that not possible?

this HOWTO has nothing to do with OEM folders. there must be another reason why it dont work for you. please check your path...

This post has been edited by SolidasRock: 19 November 2005 - 11:49 PM


#4 User is offline   Lightbringer- 

  • Lightbringer-
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 08-September 04

Posted 06 December 2005 - 12:27 PM

What do you mean by create a 'map' at root of drive called install??

You mean a folder by the word 'map'?

#5 User is offline   rendrag 

  • grrrrrr
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 28-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 December 2005 - 12:54 PM

yes, map = folder

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