MSFN Forum: Running WPI with usb boot - MSFN Forum

Jump to content


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

Running WPI with usb boot Rate Topic: -----

#1 User is offline   wkkerns 

  • Group: Members
  • Posts: 5
  • Joined: 02-June 08

Posted 30 June 2008 - 09:05 AM

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.

This post has been edited by wkkerns: 30 June 2008 - 02:33 PM



#2 User is offline   wkkerns 

  • Group: Members
  • Posts: 5
  • Joined: 02-June 08

Posted 30 June 2008 - 02:53 PM

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 User is offline   dukening 

  • Group: Members
  • Posts: 3
  • Joined: 11-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 August 2011 - 04:59 AM

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 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,325
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 August 2011 - 04:42 PM

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 User is offline   dukening 

  • Group: Members
  • Posts: 3
  • Joined: 11-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 August 2011 - 04:56 AM

Thanks for reply..

How I miss to look that attribute.

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

#6 User is offline   saffar 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 04-September 04

Posted 03 January 2013 - 02:42 AM

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 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,325
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 January 2013 - 02:58 AM

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

This post has been edited by Kelsenellenelvian: 03 January 2013 - 03:01 AM


#8 User is offline   saffar 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 04-September 04

Posted 03 January 2013 - 05:01 AM

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 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,325
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 January 2013 - 05:10 AM

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 File(s)



#10 User is offline   saffar 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 04-September 04

Posted 03 January 2013 - 10:05 AM

i did replace global.js in WPIScripts directory the same thing nothing is showing

#11 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 03 January 2013 - 11:08 AM

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+";");

This post has been edited by myselfidem: 04 January 2013 - 10:32 AM


#12 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 04 January 2013 - 05:07 AM

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

#13 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,325
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 January 2013 - 05:11 AM

Thanks

#14 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 04 January 2013 - 05:14 AM

Maybe we can also add inside globals.js ?:

on line 195 (or elsewhere):

// wmi.js
var FirewallProductName, AVProduct;


Regards

This post has been edited by myselfidem: 04 January 2013 - 05:24 AM


#15 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,325
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 January 2013 - 05:22 AM

Please summarize up all recent changes and place them:

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

Where they belong....

#16 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 04 January 2013 - 05:49 AM

Sorry...Done.

#17 User is offline   saffar 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 04-September 04

Posted 05 January 2013 - 04:49 AM

Thanks
Cahnging DoNotShowIfUSB:true did it and it works fine

Share this topic:


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

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



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