Jump to content

Recommended Posts

Posted

Hi every body

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


Posted

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

Cheers

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

Posted

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!

Posted

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.

Posted (edited)

Thanks 1to1 ! ;)

The two methods with Autounattend.xml (with WPI.cmd or without, like the example above) works fine for me!

Cheers.

Edited by myselfidem

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