Jump to content

Launching problem


Recommended Posts

Hi all,

I want to use WPI after my windows installation !

But i don't want to use the method specified in tha main site ... I explain myself !

After the windows installation, i have a big script launched at the first reboot, for installing some windows components and initalizing some registry entries. I want that the WPI script is launched BY my script and DURING my script !

I try that, in the bat file with

C:/Windows/system32/mshta.exe WPI.hta

But windows says "File extention not found"

I tried to add HTA registry values, but no more success !

i hope you can help me, excuse, i'm sure ^^

Link to comment
Share on other sites


Why don't you just say in your script where it can finds the WPI.hta on your DVD or whereever you have it

and then that the script has to start it...

that is how it looks like in my dvd

cmdow.exe @ /HID
@ECHO OFF

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:\sources\install.wim set CDROM=%%i:

start %CDROM%\Install\WPI\WPI.hta

try it or post your script so i can have a look at it...

snowtox

Link to comment
Share on other sites

Okay thank !

I know exactly where the file is ! But thanks for the script ^^

This is my command line :

start /w "%APP%\WPI\WPI.hta"

The file is found but not executed !

And the error :

erroryv6.th.png

Thanks again !

Edited by JamesPatageule
Link to comment
Share on other sites

OK have you removed IE or did you set a different browser as defualt? Because in your image you show the command worked hta just did not get registered.

I can make you a script to call itself and then reset to call itsself agian after a second boot. Which would be the first actual manual reboot.

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