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. 



Sign in to follow this  
loki9

Windows 7 Installation Add custom folders

Recommended Posts

Is it possible to add in your own folders or files..so that once windows setup is completed and it loads desktop that you could have your folders on the desktop?

Share this post


Link to post
Share on other sites

Is it possible to add in your own folders or files..so that once windows setup is completed and it loads desktop that you could have your folders on the desktop?

loki9, yes. In the .xml used for the installation, include the command

            <FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Start my batch file.</Description>
<CommandLine>CMD /R %systemdrive%\Run1\Run1-W7.bat</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>

My batch file goes into W:\sources\$OEM$\$1\Run1 and has this command first to find the install source (CDROM):

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:\sources\install.wim set CDROM=%%i:

Place your files/folders in a folder at the root of your install source. I call mine Install.

Enjoy, John.

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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×