Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Recommended Posts

Hello,

I've prepared a DVD with an unattended Windows 7 and start adding softwares, I feel quickly cramped.

As Windows 7 as welle as the new softwares are GB sized, I was looking for buiding 2 DVDs, the first will contain Windows 7 (4GB), the second all other softwares.

To pass from the first DVD to the second I needed a DVD switcher. I built CDVD-Switcher. is an AutoIt script, tested, working.

Here how the CDVD-Switcher script will run.

Copy CDVD-Switcher.exe to DVD1 (Windows7) %CDROM%\sources\$OEM$\$$\Setup\scripts\ folder

Add in the Autounattend.xml file the here bellow command. it should be at the last one <Order>last</Order>

<FirstLogonCommands>
...
...
...
<SynchronousCommand wcm:action="add">
<Order>4</Order>
<Description>Windows Post Install Wizard</Description>
<CommandLine>cmd /C start /wait c:\Windows\Setup\scripts\CDVD-Switcher.exe</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>

The DVD2 (softwares) have to be configured as %CDROM%\Software\WPI\WPI.exe unless you modify the path in the script.

That means, during Windows7 installation CDVD-Switcher.exe will be copied in C:\Windows\Setup\scripts\ folder, then

launched from hard drive, testing if the DVD1 has %CDROM%\Software\WPI\WPI.exe file. As is not exists in DVD1 you have to insert DVD2.

That's it

Enjoy

CDVD-Switcher.zip

Edited by coucou

Share this post


Link to post
Share on other sites

I added a 1 hour idle timing to CDVD-Switcher script

It means: if no action, exit and continue/finish Windows installation

Enjoy

Share this post


Link to post
Share on other sites

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.

×