JamesPatageule Posted June 6, 2008 Share Posted June 6, 2008 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 withC:/Windows/system32/mshta.exe WPI.htaBut 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 More sharing options...
snowtox Posted June 7, 2008 Share Posted June 7, 2008 Why don't you just say in your script where it can finds the WPI.hta on your DVD or whereever you have itand then that the script has to start it...that is how it looks like in my dvd cmdow.exe @ /HID@ECHO OFFfor %%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.htatry it or post your script so i can have a look at it...snowtox Link to comment Share on other sites More sharing options...
JamesPatageule Posted June 9, 2008 Author Share Posted June 9, 2008 (edited) 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 :Thanks again ! Edited June 9, 2008 by JamesPatageule Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 9, 2008 Share Posted June 9, 2008 Why not just use the provided inf file you can download from the main thread, the website or the manual??? Link to comment Share on other sites More sharing options...
JamesPatageule Posted June 9, 2008 Author Share Posted June 9, 2008 Only because i want that WPI was launched AFTER the first reboot !If you know you to use MANUALY the INF file (in command line) for launching WPI, it's the must ^^ Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 9, 2008 Share Posted June 9, 2008 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 More sharing options...
JamesPatageule Posted June 9, 2008 Author Share Posted June 9, 2008 It will be very nice from you,But before i would try a last think myself !I'm not sure, but if it's work you won't have to do the program !I tell you soon if it's work or not, and why ! Link to comment Share on other sites More sharing options...
JamesPatageule Posted June 9, 2008 Author Share Posted June 9, 2008 Ok it doesn't work, so if you have a little script under the hand ^^I need to search how to change screen resolution in command line ^^Thank you for your help again ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now