Jump to content











Photo
- - - - -

makeusbxp.js


  • Please log in to reply
3 replies to this topic

#1 rawr

rawr

    Frequent Member

  • Advanced user
  • 163 posts

Posted 22 September 2009 - 04:30 PM

found this under lots of dust ,
dont know where its from !
but i think to add it hear In case others find useful .

wsh / jscript

enjoy

Attached Files



#2 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 22 September 2009 - 05:02 PM

found this under lots of dust ,
dont know where its from !
but i think to add it hear In case others find useful .

wsh / jscript

enjoy



It looks like nice. :loleverybody:

For the casual onlooker it is a Window Shell script to adjust LoadOrderGroup, StartType, etc. for the USB drivers.

Something almost, but not quite, entirely unlike USBootwatcher, which I name here as it might be of use:
http://www.911cd.net...showtopic=22473

At first sight some betterings should be done to it, right now the script sets "everything" as "Boot Bus Extender" whilst the usbstor and usbhub should really be "System Bus Extender".
see referenced thread on 911CD and this seemingly unrelated one:
http://www.boot-land...?...ic=9051&hl=

;)

jaclaz

#3 rawr

rawr

    Frequent Member

  • Advanced user
  • 163 posts

Posted 17 May 2010 - 12:36 AM

i found something that could replace dependency of wsh/jscript in makeusbxp.js and ,
replace / even remove need for ActiveX , ( "Scripting.FileSystemObject" used for file access . "WScript.Shell" used to exec cmd .)
even allow run this script from linux mac !!... :lol: ( and could possibly a lot more or less )

http://www.jsdb.org/

JSDB is JavaScript for databases, a scripting language for data-driven, network-centric programming on Windows, Mac, Linux, and SunOS. JSDB works with databases, XML, the web, and email. It is free and open-source. Use it as a JavaScript shell, to run CGI programs, or as a web server.
...
JSDB can do nearly any batch processing task that Visual Basic can do, and it has drivers to let you read and send email, query a MySQL database, and run regular expression searches, without having to learn a specific SQL syntax or install a bunch of ActiveX components. JSDB has everything you need to write a web server or database middleware, with a graphical debugger, itself written in JSDB.


http://www.jsdb.org/reference.html


... so far fyi i have only really been playing with the webgui.zip
( adding zip file browsing ability , using diddy's firadisk and grub4dos Guide's as test .zip's ! )

#4 karyonix

karyonix

    Frequent Member

  • Advanced user
  • 453 posts
  •  
    Thailand

Posted 18 May 2010 - 06:14 AM

I wrote it 1-2 years ago using tutorial from ngine.de, information from Dietmar's thread at 911cd, sisal's method.
It modify Windows XP Setup source to allow installation from USB hard disk and to USB hard disk.
However the modified usb*.inf are not signed. When USB devices are discovered, Windows will not install driver for them automatically. It needs user interaction everytime new UFD is discovered.

I tried to improve it in more recent versions but still have problems, so not release it.
- As an alternative, it is possible to create new usbboot.inf file to be used instead of modifying existing usb*.inf.
- Create new .cat file for modified usb*.inf or new usbboot.inf and self-signed the .cat file. But I have problems integrating it to Windows setup.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users