Jump to content

Stand-Alone WPI Cd


Recommended Posts

incase anyone else removes i.e. and wants to run wpi as a standalone cd.

Autorun.inf

[AutoRun]
open=START.cmd
icon=wpi.ico

START.cmd

REGEDIT /S hta.reg

start/wait "" C:\WINDOWS\system32\mshta.exe "%CD%\wpi.hta"

exit

hta.reg

;thanks Clint
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.hta]
@="hta_auto_file"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\hta_auto_file\shell\open\command]
@="\"C:\\WINDOWS\\system32\\mshta.exe\" \"%1\""

place these 3 files in the WPI directory. they will silently reg mshta.exe and start WPI.hta.

Link to comment
Share on other sites


Hehe, thats an old reggie right there ;)

Actually you can ditch the hta.reg..

mshta will find it anyway if you use the %windir%\system32\mshta.exe "%CD%\wpi.hta" command....gives you

freedom to use the disc even in a secondary boot or such ;)

I didn't knew that back then ;)

Edited by Clint
Link to comment
Share on other sites

  • 2 years later...

Autorun.inf

[AutoRun]
open=START.cmd
icon=wpi.ico

START.cmd

REGEDIT /S hta.reg

start/wait "" C:\WINDOWS\system32\mshta.exe "%CD%\wpi.hta"

exit

NICE! but would be nicer if the CMD window dissapeared :rolleyes:

add cmdow.exe in your WPI root

I got mine START.CMD:

%cdrom%\wpi\cmdow.exe @ /hid

REGEDIT /S hta.reg

start /wait %systemroot%\system32\mshta.exe "%CD%\wpi.hta"

exit

Edited by midi2k6
Link to comment
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.
×
×
  • Create New...