Jump to content

Recommended Posts

Posted

Alright i've googled my brains out and all i want is a basic straight forward explanation of how to use this runonceex or w.e when i install windows 7 i want to have like 2 things run soon as its done i want the Sp1 to install and DirectX SDK. So how do i go about doing that i get that to install sp1 silently i use switches like /quiet /unattend /nodialog /norestart but i dont know where, how to make it or where to put it.


Posted

Firstly, Check out the "Forums Guidelines" or the Rules link in my signature. We require topic titles to be a little less generic than the one you chose.

As far as running programs, you want to look into using the RunSynchronousCommand object in your Unattend XML. You can see an example of its usage here:

Posted

sorry about that will note that for next time..k so i took a look i've used RT Seven Lite to make my image so i just edit this section then?

<RunSynchronous>

<RunSynchronousCommand wcm:action="add">

<Order>400</Order>

<Path>cmd /C start /wait %systemdrive%\Install\AuditUser.cmd</Path>

</RunSynchronousCommand>

</RunSynchronous>

.....so would it look something like this say..

<RunSynchronous>

<RunSynchronousCommand wcm:action="add">

<Order>400</Order>

<Path>cmd /C start /wait %systemdrive%\Install\AuditUser.cmd</Path>

<Path>SP1 /C start /wait %systemdrive%\Install\windows6.1-KB976932-X64.exe</Path>

</RunSynchronousCommand>

</RunSynchronous>

or am i way off lol.

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