Kelsenellenelvian

How to add WPI to a Windows CD\DVD!

41 posts in this topic

hello

no I have download the new folder $oem$ contains the following files

Cmdlines.txt

RunWPI.cmd

I put Theme in the windows root

and I put WPI folder in the windows root

post-333514-0-51957000-1319855716_thumb.

ok good

the $oem$ folder has another folder $oem$

post-333514-0-41639400-1319855776_thumb.

Can I put only one folder $oem$ or twoo $oem$ folder's

post-333514-0-63433500-1319855992_thumb.

finaly what is the modification can i get in winnt.sif

Edited by wadnoune
0

Share this post


Link to post
Share on other sites

WPI and WinToFlash

First of all, I want to say. WPI makes life so much easier. I just discovered it this past week, and I love it.

I have a Windows XP Pro SP2 CD that I have been using nLite to integrate SP3 and various other updates such as IE * and WMP 11. I use this for various reasons, one of which has been to re-install Windows on my friend's netbook. In order to do this, I had to make a bootable USB drive since there is no optical drive.

The fastest/easiest/most reliable method I have found is to use WinToFlash. The problem is, WinToFlash creates unusual directories on the USB drive, thus losing the original CD directory structure. It also does not copy the WPI folder to the USB drive automatically. Unfortunately this makes the provided $OEM$ folder integration for RunOnceEx invalid.

Win2Flash Generated Folder Tree on USB Drive:

post-346792-0-70680900-1328553647_thumb.

Luckily the fix is very easy.

  • Move the WPI folder from the root folder (parallel to the 386 folder) into the $OEM$ folder
  • EDIT the RunWPI.cmd file.
  • Goto Line 4
  • Change :
    set wpipath=%drive%\wpi


  • To:
    set wpipath=%drive%\$WIN_NT$.~LS\$OEM$\wpi


New Folder Tree for use with Win2Flash:

post-346792-0-88436200-1328553475_thumb.

This does not copy additional files to the computer during install and still runs WPI from the USB drive as you are used to.

0

Share this post


Link to post
Share on other sites

Hi

I want to run wpi before desktop loads i disable the check box again it loads after desktop loads

i want to run when windows is finalizing setup

Windows 7 ultimate 32bit

Edited by shahedsalehi
0

Share this post


Link to post
Share on other sites

Hello... after much searching, I found script (don't remember where) to avoid message "There is not disk in drive" when there is a memory reader in PC... I test it and work perfect...

It's this:

@ECHO OFF
SETLOCAL
(SET DRIVE=)
FOR /F "USEBACKQ TOKENS=2 DELIMS==" %%# IN (`WMIC DATAFILE WHERE^
"PATH='\\WPI\\' AND FILENAME='WPI' AND EXTENSION='exe'"^
GET Name /VALUE^|FIND "="`) DO SET "DRIVE=%%~d#"&SET "FPATH=%%#"

START "" "%DRIVE%\WPI\WPI.exe"
exit

Attached Setupcomplete.cmd

Regards... ;-)

Setupcomplete.zip

Edited by alfreire
0

Share this post


Link to post
Share on other sites

Hello... after much searching, I found script (don't remember where)

No prob, I do ;), here:

jaclaz

Edited by jaclaz
0

Share this post


Link to post
Share on other sites

Hello... after much searching, I found script (don't remember where)

No prob, I do ;), here:

jaclaz

Yes... thank's to you, Outbreaker and all members who participated in the post... For some time I found it and could not remember where...

Regards... ;-)

Edited by alfreire
0

Share this post


Link to post
Share on other sites

This is fine unless it's on ANY accessible drive with WPI.EXE in the EXACT position/folder.

Better to find a VERY unique filename first then hard-set the Path... UBCD98SE (don't bother looking for it) used a VBS to find "Ready" CD-ROM types (ONLY) to ensure that it was a (obviously) Ready CD-ROM...AND...the File in question existed.

Just my $.02...

Edited by submix8c
0

Share this post


Link to post
Share on other sites

source.rar is not access-able plz re-upload it.

You can download reading the manual or here:

http://www.wpiw.net/downloads/Sources.rar

But it's for Windows Vista, Server 2008 and Windows 7 !

Cheers

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Windows Vista\7 Disks

Download http://www.wpiw.net/downloads/Sources.rar

Extract to copied Windows source, yes you will need to overwrite\ad to the existing sources folder

Add WPI folder to the root.

Remake Windows ISO using your favorite method.

Hi, I really appreciate this program unfortunately I am really new to this, so can I just add this new sources folder to the existing one on the windows 7 copied installation folder? or can I just copy the Setupcomplete.cmd script to the sources folder on the copied windows 7 installation folder?

Thanks!!

0

Share this post


Link to post
Share on other sites

Option 1:

------------

1 - Download and extract the folder Sources.rar

2 - Inside Sources, copy $oem$ inside your Distribution folder: C:\%Distribution_Folder%\sources\$oem$

3 - Using WPI: Add inside Options | Features :

Check: Load desktop before installation starts

Option 2:

-----------

Simply add inside Autounattend.xml file:


<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Installation des applications avec WPI</Description>
<CommandLine>cmd /c 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:\wpi\wpi.exe start %i:\wpi\wpi.exe</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>

Check: Load desktop before installation starts

*Edit: Strange member name you choosen: spamking98(but why not ?)

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

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.