NNJZ

Unattended All-In-One .ISO

15 posts in this topic

Hello;

I've seen the following question broached before, but it wasn't specific enough, or the circumstances were slightly different to ask my question in an existing thread.

I have two Windows 7 All-In-One ISOs with the ei.cgi removed; one x86 and one x64. I'd like to configure each as an unattended install with one answer file for each version the user is able to select to install. If I need to create a separate answer file for each, that would be fine too - Im just not sure how it works.

I've seen tutorials on doing this with tools such as 7Customizer and RT Se7en lite, but I haven't been seen it done with an AIO ISO. When I tried using RT Se7en lite on my ISOs, it prompts for the edition the user would like to use, and it silently installs the last version I setup as a silent/unattended install instead of prompting for the version the user would like to install like the original all-in-one ISO did.

Also, if possible, I'd like to integrate some updates/IE9 as well (no drivers, no 3rd party programs, and the ISO is already SP1; just pure Microsoft stuff). I work for a retail repair shop and would like a versatile Windows 7 ISO I can use to restore a client's computer in one step (skipping all prompts, and defaulting to local regional settings [uS, Eastern Time zone, etc]).

If anyone could provide some help or insight it would be greatly appreciated, and save a whole lot of time (re installing windows is something I do frequently on a daily basis)

Thanks,

NNJZ

0

Share this post


Link to post
Share on other sites

Internet Explorer 9 Preinstallation Techniques http://technet.microsoft.com/en-us/library/hh147968.aspx

For Windows 7 Service Pack 1 (SP1), the following prerequisites must be installed: KB2484033, KB2488113, and KB2505438

64 xml is different from 86

These are 64 bit so change the processorArchitecture="amd64" to processorArchitecture="x86" if needed

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Internet Explorer 9 Preinstallation Techniques http://technet.microsoft.com/en-us/library/hh147968.aspx

For Windows 7 Service Pack 1 (SP1), the following prerequisites must be installed: KB2484033, KB2488113, and KB2505438

64 xml is different from 86

These are 64 bit so change the processorArchitecture="amd64" to processorArchitecture="x86" if needed

Sorry, I should have been more clear, I already have SP1 slip streamed. I will be taking advantage of the IE9 guide though :) Thanks!

The issue isn't x86 or x64 support, its getting an unattended install working with an all in one edition of windows. RT 7 Lite prompts you for which version you want to create an unattended install for. I'm going to try creating the UA install with RT 7 Lite then removing the ei.cgi file and see if that works.

0

Share this post


Link to post
Share on other sites

@maxXPsoft: Thanks for the link about IE9

Been looking at that myself but am undecided because I have all the IE9-Windows6.1-KB updates and don't know whether to inject them after I do the IE9-Win7.CAB

I would probably think not since injecting the IE9 it will be in State : Install Pending

Processing 1 of 1 - Adding package Microsoft-Windows-InternetExplorer-Package-TopLevel~31bf3856ad364e35~amd64~

~9.4.8112.16421

[==========================100.0%==========================]

The operation completed successfully.

Package Identity : Microsoft-Windows-InternetExplorer-Package-TopLevel~31bf3856ad364e35~amd64~~9.4.8112.16421

State : Install Pending

Release Type : Update

Install Time : 8/14/2012 2:06 PM

0

Share this post


Link to post
Share on other sites

I had found the above link previously, however the circumstance is a bit different.

The threads explain how to config. an unattended install of x86 and x64 .WIMs on one ISO.

Instead, I would like to automate the install of two separate ISOs :

-One with only x86 .wims (Starter 32-bit, home basic 32-bit, home premium 32-bit, professional 32-bit, and ultimate 32-bit)

-One with only x64 .wims (home basic 64-bit, home premium 64-bit, professional 64-bit, and ultimate 64-bit)

I already have the ISOs, I just need to automate the install using them. Since writing this post I've searched around a little more and think I understand it a bit better. I think all I would need to do is drop an autounattend.xml file in the root of the ISO and it will work to silently install any version chosen. Is this correct?

Thank you,

NNJZ

Edited by NNJZ
0

Share this post


Link to post
Share on other sites

If you want to be able to install diff versions then place the autounattend.xml on a floppy/usb stick. You could add folders for each version and move it to root of usb as needed

That way you can modify if at any time where all you change in each is

<settings pass="windowsPE">

<Value>Windows 7 PROFESSIONAL</Value>

                <OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 PROFESSIONAL</Value>
</MetaData>
</InstallFrom>
</OSImage>

And the key value


<UserData>
<ProductKey>
<Key>xxxxx-xxxxx-xxxxx</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
</UserData>

and again in <settings pass="specialize">

<component name="Microsoft-Windows-Shell-Setup"

<ProductKey>xxxxx-xxxxx-xxxxx</ProductKey>

Unless you want to change version and type in a key. Many possibilities or leave key blank and add after setup.

for examples look here

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

@maxXPsoft

When I have some time I think it would be interesting to try to integrate first the updates for IE9.

I'm busy now with the translation for the french WPI Manual.

However, at this time, I have no trouble integrating first IE9 and after all updates for Windows 7.

@NNJZ

In fact you want an Autounattend.xml file for one iso file with all images, one file for Windows 7 x86 and another for Windows 7 x64.

It's not an AIO x86/x64. You need two Autounattend.xml files.

You can try this Autounattend.xml file for Windows 7 x86.

All keys must be integrated first and you can use the SetProdutKey.cmd to do the job, given at my sig below!

Always check your file with WSIM before using it! Adapt this example to your needs!

Autounattend.xml (x86)


<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>fr-FR</UILanguage>
</SetupUILanguage>
<InputLocale>100c:0000100c</InputLocale>
<SystemLocale>fr-CH</SystemLocale>
<UILanguage>fr-FR</UILanguage>
<UserLocale>fr-CH</UserLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComplianceCheck>
<DisplayReport>OnError</DisplayReport>
</ComplianceCheck>
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
</Display>
<DynamicUpdate>
<Enable>false</Enable>
<WillShowUI>OnError</WillShowUI>
</DynamicUpdate>
<ImageInstall>
<OSImage>
<WillShowUI>Always</WillShowUI>
<InstallToAvailablePartition>true</InstallToAvailablePartition>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>Max Turtle</FullName>
<Organization>particulier</Organization>
</UserData>
<EnableFirewall>true</EnableFirewall>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>Se7en</ComputerName>
<TimeZone>W. Europe Standard Time</TimeZone>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<EnableLinksBar>false</EnableLinksBar>
<FilterLevel>High</FilterLevel>
<Home_Page>www.google.fr</Home_Page>
<BlockPopups>yes</BlockPopups>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<PlaySound>false</PlaySound>
<ShowInformationBar>true</ShowInformationBar>
<ShowMenuBar>true</ShowMenuBar>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>100c:0000100c;040c:0000040c</InputLocale>
<SystemLocale>fr-CH</SystemLocale>
<UILanguage>fr-FR</UILanguage>
<UserLocale>fr-CH</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TimeZone>W. Europe Standard Time</TimeZone>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<AutoLogon>
<Password>
<Value></Value>
</Password>
<Enabled>true</Enabled>
<LogonCount>9999999</LogonCount>
<Username>Max</Username>
</AutoLogon>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value></Value>
<PlainText>true</PlainText>
</Password>
<DisplayName>Max</DisplayName>
<Name>Max</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
</unattend>
<!-- Customized by myselfidem. For Windows 7 x86 with all images and all keys integrated -->
<!-- OS to install and Disk Configuration dialog boxes will be displayed. One Administrator whithout password -->

Just needed to change x86 with amd64 for your Autounattend.xml file for Windows 7 x64.

If you don't want integrate the keys for each Editions, use instead inside pass "oobeSystem" - works even if the value is deprecated for Windows 7 -, BUT, be carefull, because:

SkipMachineOOBE should be used only in a test environment, and you should never ship a computer with the SkipMachineOOBE setting configured to true.


<OOBE>
<HideEULAPage>true</HideEULAPage>
<SkipMachineOOBE>true</SkipMachineOOBE>
</OOBE>

Enjoy!

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

You sir, are my new hero.

Thank you soo much! This is exactly what I was looking for!!

I'm a little confused about the keys tho. Can I simply skip the activation (entering the key) until after windows is installed, and activate manually inside the OS? Sorry, I just don't quite understand that last bit..

Thanks again for the help!!

-NNJZ

P.S. sorry for the two week old/late response!

0

Share this post


Link to post
Share on other sites

I'm a little confused about the keys tho. Can I simply skip the activation (entering the key) until after windows is installed, and activate manually inside the OS?

Thanks :)

Yes it's the goal!

Cheers

0

Share this post


Link to post
Share on other sites

What would happen if I were to integrate an invalid key? say 00000-00000-00000-00000-00000 for each version?

0

Share this post


Link to post
Share on other sites

The installation fails!:puke:

You need to use default keys matching each correct version. And you can use a valid key to activate only the Windows 7 Edition corresponding!

Cheers

0

Share this post


Link to post
Share on other sites

Thinking about it, I may want the product key screen to be displayed..

Would it be possible to automate an AIO ISO so that only three dialog boxes are displayed?

-OS selection

-Disk Configuration

-Enter Key Screen

If so, would it be required to do anything in WAIK, or would it be done purely through the XML file?

I have WAIK installed, but I honestly do not know how to use it, and Im not sure if what I am doing is correct or is going to break the install.

Thanks for any help

-NNJZ

0

Share this post


Link to post
Share on other sites

Thinking about it, I may want the product key screen to be displayed..

Would it be possible to automate an AIO ISO so that only three dialog boxes are displayed?

-OS selection

-Disk Configuration

-Enter Key Screen

If so, would it be required to do anything in WAIK, or would it be done purely through the XML file?

I have WAIK installed, but I honestly do not know how to use it, and Im not sure if what I am doing is correct or is going to break the install.

Thanks for any help

-NNJZ

Yes you can use your customized Autounattend.xml file to have the displayed windows you want for asking the OS, Disk Configuration and Enter the key !

To have all images displayed it's needed to remove the ei.cfg file inside: %Distribution_Folder%\sources\ei.cfg

To display the OS:

Inside: <settings pass="windowsPE">


<ImageInstall>
<OSImage>
<WillShowUI>OnError</WillShowUI>
<InstallToAvailablePartition>true</InstallToAvailablePartition>
</OSImage>
</ImageInstall>

To display the Disk Configuration use this value:


<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>

To display the window to enter the key:

Remove inside: <settings pass="windowsPE">

<Key> </ProductKey>

and/or

Remove inside: <settings pass="specialize">

<ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>

Cheers

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Internet Explorer 9 Preinstallation Techniques http://technet.micro...y/hh147968.aspx

For Windows 7 Service Pack 1 (SP1), the following prerequisites must be installed: KB2484033, KB2488113, and KB2505438

64 xml is different from 86

These are 64 bit so change the processorArchitecture="amd64" to processorArchitecture="x86" if needed

Thanks. Tested and added to my customized Windows 7 SP1. These updates are for Windows and they are given with WU after the installation if they aren't integrated.

Regards

0

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.