1to1 Posted January 2, 2011 Share Posted January 2, 2011 Hi every bodywpi stop to start after windows 7 setup i use setupcomplete.cmd batch file to automatically activate windows7 . deep in :\sources\$OEM$\$$\SETUP\SCRIPTS'so I can't use another setupcomplete.cmd batch file in same folder to run WPI. Anyway of making batch file to start WPI after Windows complete the installation and activation . Best Regards. Link to comment Share on other sites More sharing options...
myselfidem Posted January 2, 2011 Share Posted January 2, 2011 You can use an other batch file to launch WPI, like WPI.cmd inside the folder SCRIPTS.And add a command inside your Autounattend.xml pointing to this batch file.See the description here (at the end):RT Seven Lite - RC build 1.7.0 and Beta build 2.6.0Cheers Link to comment Share on other sites More sharing options...
1to1 Posted January 2, 2011 Author Share Posted January 2, 2011 You can use an other batch file to launch WPI, like WPI.cmd inside the folder SCRIPTS.And add a command inside your Autounattend.xml pointing to this batch file.See the description here (at the end):RT Seven Lite - RC build 1.7.0 and Beta build 2.6.0Cheersthanks for repley.I have tried it but it is still not working windows get stop at last boot and i reboot it boots up ok but wpi wont start. Link to comment Share on other sites More sharing options...
myselfidem Posted January 3, 2011 Share Posted January 3, 2011 You can try to launch WPI.exe with Autounattend.xml and without a new batch file (WPI.cmd).Add inside your Autounattend.xml:<settings pass="oobeSystem"><FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>cmd /c 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:\wpi\wpi.exe start %i:\wpi\wpi.exe</CommandLine> <Description>Windows Post Install Wizard</Description> <Order>9</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands>Check your Autounattend.xml file with Windows System Image Manager (WSIM) include with WAIK for Windows 7.Check if inside your SetupComplete.cmd you have write EXIT at the end! Link to comment Share on other sites More sharing options...
1to1 Posted January 4, 2011 Author Share Posted January 4, 2011 You can try to launch WPI.exe with Autounattend.xml and without a new batch file (WPI.cmd).Add inside your Autounattend.xml:<settings pass="oobeSystem"><FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>cmd /c 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:\wpi\wpi.exe start %i:\wpi\wpi.exe</CommandLine> <Description>Windows Post Install Wizard</Description> <Order>9</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands>Check your Autounattend.xml file with Windows System Image Manager (WSIM) include with WAIK for Windows 7.Check if inside your SetupComplete.cmd you have write EXIT at the end!Thanks, myselfidem the above post done the job thanks again. Link to comment Share on other sites More sharing options...
myselfidem Posted January 4, 2011 Share Posted January 4, 2011 (edited) Thanks 1to1 ! The two methods with Autounattend.xml (with WPI.cmd or without, like the example above) works fine for me!Cheers. Edited January 4, 2011 by myselfidem 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