Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Unattended All-In-One .ISO


  • Please log in to reply
14 replies to this topic

#1
NNJZ

NNJZ
  • Member
  • 9 posts
  • OS:none specified
  • Country: Country Flag
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


How to remove advertisement from MSFN

#2
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,881 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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

Edited by maxXPsoft, 13 August 2012 - 10:19 PM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#3
NNJZ

NNJZ
  • Member
  • 9 posts
  • OS:none specified
  • Country: Country Flag

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


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.

#4
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
About Autounattend.xml AIO files, you can find help here:

http://www.msfn.org/...post__p__963990


http://www.wincert.n...d64/#entry79451

@maxXPsoft: Thanks for the link about IE9

Edited by myselfidem, 14 August 2012 - 12:03 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#5
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,881 posts
  • OS:Windows 7 x64
  • Country: Country Flag

@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
Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#6
NNJZ

NNJZ
  • Member
  • 9 posts
  • OS:none specified
  • Country: Country Flag
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, 14 August 2012 - 04:38 PM.


#7
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,881 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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 http://www.msfn.org/...seven-xml-here/

Edited by maxXPsoft, 14 August 2012 - 07:52 PM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#8
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
@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, 16 August 2012 - 04:45 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#9
NNJZ

NNJZ
  • Member
  • 9 posts
  • OS:none specified
  • Country: Country Flag
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!

#10
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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
For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#11
NNJZ

NNJZ
  • Member
  • 9 posts
  • OS:none specified
  • Country: Country Flag
What would happen if I were to integrate an invalid key? say 00000-00000-00000-00000-00000 for each version?

#12
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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
For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#13
NNJZ

NNJZ
  • Member
  • 9 posts
  • OS:none specified
  • Country: Country Flag
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

#14
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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, 08 September 2012 - 10:52 PM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#15
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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
For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN