Jump to content

Recommended Posts

Posted (edited)

I want to bundle all my applications in a separate Data Image (MyApps.wim file) that I intend to place in the same root folder as UNATTEND.XML. What I don't know is how to refer to this image file in the Microsoft-Windows-Setup\ImageInstall\DataImage\InstallFrom\Path property. In the Unattended Windows Setup reference it is said that Path may be local and relative. But is there any environment variable that I can use to refer to the drive on which UNATTEND.XML is located? If not, what is the W7 installer's working directory before DataImage section is processed? Is it the path where W7 install.wim is located?

And a side question here is whether I need to inject .inf drivers and .msu updates directly into install.wim or can I inject them to MyApps.wim? This way I could use original W7 installation DVD and have all customization files (UNATTEND.XML & MyApps.wim) on a USB stick.

Thanks!

--------------------------------------------------------------------------------------------------------------------------------

I figured out that I had to use Create Configuration Set... command in Windows SIM and the Microsoft-Windows-Setup\ImageInstall\DataImage\InstallFrom\Path given in WSIM is actually the location of the data image on your local disk, not a full path to it in windowsPE setup stage. Apparently, in windowsPE stage there is %configsetroot% variable defined inside setup.exe environment that points to the drive where AutoUnattend.xml is found.

Edited by smc2k

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