Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Running WPI with usb boot

- - - - -

  • Please log in to reply
16 replies to this topic

#1
wkkerns

wkkerns
  • Member
  • 5 posts
  • Joined 02-June 08
Forgive me if I am posting in the wrong forum (I know there is one called "Booting xp from usb").

I made a successful unattended install for XP using nlite and wpi for my apps. So I wanted to go a step further and use a usb flash drive to make the installs faster. I used the "USBMultiBoot10" and the instructions provided by the maker and xp installs great! Right up to the part of the WPI execution. It generates a error saying:

"cannot find D:\wpi\wpi.hta"

Before I ran the install, I noticed that the USBMultiBoot10 did not copy over the WPI folder to the USB flash drive any where. So I copied it myself to where they placed my i386 folder and $OEM$ folder.

I use the runwpi.exe in the $oem$ folder and executes from the cmdlines.txt

I tried to copy the entire WPI folder over to the %systemdrive% and that did not work either.

Maybe my drive letters are all screwed up?
Maybe I should just run WPI from the flash drive?
Maybe I am completely doing this the wrong way for a USB install?

I can run WPI after the xp install finishes and windows logs on. However I would like this to execute immediatly after windows xp is done installing.

I am Noob at this. :blushing: Any help from somebody that uses USBMULTIBOOT10 and WPI would be really great.


UPDATE: I think I solved my own problem. Testing it out. Hopefully it works. If it does, what a dumb mistake.

Edited by wkkerns, 30 June 2008 - 02:33 PM.



How to remove advertisement from MSFN

#2
wkkerns

wkkerns
  • Member
  • 5 posts
  • Joined 02-June 08
Ok, so tried to put the wpi folder to the root of the usb drive. That generated different errors.

"Could not save
./wpiscripts/useroptions.js"
"Could not save
./wpiscripts/windowsoptions.js"

Wpi program then starts after I click ok.

However the apps fail to install and wpi just sits idle.

#3
dukening

dukening
  • Member
  • 3 posts
  • Joined 11-August 11
  • OS:Windows 7 x64
  • Country: Country Flag
Is it possible if I want to run WPI application without Windows installer from USB?

It means that, I don't want to use or don't have any $OEM$ folder root in my USB.

When I directly paste WPI folder into USB and I tried to run the application, the GUI gone blank.

It hasn't happened when I accessed it on my HDD. I really want to use it in the USB without Windows installer in it.

Is the solution that I have to make my USB bootable first? Or there's another way to solve it? Any suggestion?

Thank you in advance.

#4
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,845 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
For some reason it seems like your usb disk is read only...

Try these things:

Right click wpi folder and make sure that read only is NOT checked.

Re format usb drive with defualt settings.


I only use wpi from usb and don't have any issues so I can tell you that it does work fine.

#5
dukening

dukening
  • Member
  • 3 posts
  • Joined 11-August 11
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks for reply..

How I miss to look that attribute.

It's really works!! Thanks Kelsenellenelvian.. ^_^

#6
saffar

saffar

    Newbie

  • Member
  • 13 posts
  • Joined 04-September 04
I have the same problem I have copied all the (WPI_v8.6.3) file to the root of my usb flash (formatted with FAT32) when double click wpi.exe a window opens with no option to configure or anything else BLANK

#7
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,845 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
Why is a un-configured wpi just thrown onto a usb drive and then expected to be use-able?

There are so many things that could be wrong with this.....

Also did you read the MANUAL and LOOK for the CONFIG button????

Edited by Kelsenellenelvian, 03 January 2013 - 03:01 AM.


#8
saffar

saffar

    Newbie

  • Member
  • 13 posts
  • Joined 04-September 04
I did extract it to a folder on the on desktop computer without doing anything and the buttons shows up so i can configure it but not on usb i will refer to the manual and see

#9
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,845 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
Ok there is an issue

replace the globals.js in your freshly extracted wpi folder with this one. NOT the one you have tried to run.

Attached Files



#10
saffar

saffar

    Newbie

  • Member
  • 13 posts
  • Joined 04-September 04
i did replace global.js in WPIScripts directory the same thing nothing is showing

#11
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
You can copy your customized useroptions.js inside the usb key and change the value: true to false:

On line 55 (open with notepad)
// Features tab

DoNotShowIfUSB=false;

Maybe it's needed to change this default value inside useroptions.js ?

Tested and works!

*Edit: I see it's done inside the new attached global.js and works fine!

The line is missing inside useroptions.js created after launching WPI.exe from the usb key, the first time and will be writed when the user select:

inside Features: DoNotShowIfUSB:true

Thanks Kels.

*Edit2: It seems a line is missing inside:

optionswizard.js to do this work on: // Features tab (line 1959)

tf.WriteLine("DoNotShowIfUSB="+DoNotShowIfUSB+";");

Edited by myselfidem, 04 January 2013 - 10:32 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#12
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Inside globals.js we can remove (on line 196):

// wmi.js
PNPDID_SystemEnclosureType;

Because the correct value already exists on line 198.

Thanks and regards
For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#13
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,845 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks

#14
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Maybe we can also add inside globals.js ?:

on line 195 (or elsewhere):

// wmi.js
var FirewallProductName, AVProduct;


Regards

Edited by myselfidem, 04 January 2013 - 05:24 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#15
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,845 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
Please summarize up all recent changes and place them:

http://www.msfn.org/...60#entry1025322

Where they belong....

#16
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Sorry...Done.
For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#17
saffar

saffar

    Newbie

  • Member
  • 13 posts
  • Joined 04-September 04
Thanks
Cahnging DoNotShowIfUSB:true did it and it works fine




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users