ssjoco Posted June 28, 2008 Share Posted June 28, 2008 (edited) I would like to start a script before WPI. The script close any annoying popup during the installion. However I don't know how can I start the script. The WPI start the script, but after a reboot the script do not start. I tried the RunOnce entry.Anyone know how can I start this program before WPI ? Edited June 28, 2008 by ssjoco Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 28, 2008 Share Posted June 28, 2008 What is the actual script? Link to comment Share on other sites More sharing options...
ssjoco Posted June 28, 2008 Author Share Posted June 28, 2008 Autoit script. Close some windows if exists$i=1While $i <> 0 $i=WinExists ( "Windows Post-Install Wizard" ) sleep(3000) If WinExists ("xxx") Then WinClose ("xxx")WEnd Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 28, 2008 Share Posted June 28, 2008 (edited) Well it goes to follow that if it IS started by WPI and works make it the NEXT step AFTER the reboot to restart it. Edited June 28, 2008 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
ssjoco Posted June 28, 2008 Author Share Posted June 28, 2008 I tried this scenario, but I would like to add a registry item which start the script every reboot, like WPI. I just don't know where should I add the script patch. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 30, 2008 Share Posted June 30, 2008 Well see thats the thing if you add it to the reg and it's put in there then you have to remove it at sometime. Open wpi.hta with notepad. You will see where we have made a section that adds some regentries. You can add it there. 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