Jump to content

RT7Lite and AIO x86 x64


Recommended Posts

Not sure how I am being rude.

And even more unsure on were that answer is from or what question it revolves around.

Everyone knows that each version needs its own keys. I wasn't ever asking for 1 Key. I was asking if there was anyway that I can put all of them into the XML, instead of injecting them.

And at what point did I say I ONLY had ultimate? I have All versions except for enterprise for both x86 and x64 in my WIM.

And I still don't know how to combine the 2 files I have.

After reading the other post regarding the keys, if I can't have them all in the XML, then is my only other option (other than integrate) is to either have separate xml's for each version that I can swap around per install, or forget about skipping the key thru setup.

Link to comment
Share on other sites


And at what point did I say I ONLY had ultimate? I have All versions except for enterprise for both x86 and x64 in my WIM.

Just to clarify a point, about Windows 7 keys.

We can read inside:

Unattended Windows setup Reference for Windows 7.chm

Key

The product key that you use to activate the installation must match the number on the Certificate of Authenticity (COA) sticker that accompanies the retail product or that is physically attached

to the computer case by the original equipment manufacturer (OEM).

Standard licensing agreements specify that you can use a product key only to activate one installation of Windows® on one computer.

Windows Product Activation enforces this requirement.

Windows 7 valid keys (or default keys) are edition specific!

All editions are inside the image install.wim and the default keys can be used for silent installation!

But there is ONLY ONE VALID KEY to activate the edition matching the specific Windows 7 edition you've bought!

That means you can't use only one valid key to activate all Windows 7 Editions you have on the image install.wim!

If you try to install Windows 7 HOMEPREMIUM with a valid key for Windows 7 Ultimate, you will see that you can only install Windows 7 Ultimate.

http://windows.microsoft.com/en-US/windows7/Windows-7-activation-error-invalid-product-key

About the Autounattend.xml file for Windows 7 x86 and x64, you can find help here (my post #116, link already given above):

http://www.msfn.org/...e/page__st__100

Edited by myselfidem
Link to comment
Share on other sites

I think you have misread me.

I don't want to be able to use 1 Key for all editions.

I don't even really want a key at all.

This setup is intended for me to use to reinstall customer computers, getting majority of the basic setup tasks and apps out of the way. What I do at this stage is either enter the real key (of the computer sticker) during install or skip key on install and enter it later.

What I would like to do ideally is just skip the key and activation parts in the setup.

I wasn't asking about putting 1 key in the xml but wondering if there was a way to add ALL default keys for all the editions in the xml rather than integrating them into the images.

If that's not possible is there a way to just skip the key entering altogether like one would do by manually clicking skip.

Link to comment
Share on other sites

Check out product.ini in sources folder. It contains default trial keys. Then inject using Dism for each edition.

Dism /image:<mountdir> /Set-ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Link to comment
Share on other sites

I wasn't asking about putting 1 key in the xml but wondering if there was a way to add ALL default keys for all the editions in the xml rather than integrating them into the images.

NO! You can't set all the default keys or valid keys for all Windows 7 Edition inside Autounattend.xml file!

*Edit:

1) One method is to inject the keys inside the mounted images!

2) Second method is to create an Autounattend.xml like my example on the next post

Edited by myselfidem
Link to comment
Share on other sites

However, if you do not want integrate all the keys inside the mounted images, you can use this Autounattend.xml file (as example and adapt to your needs):

But that means:

1) All availables images will be displayed (remove ei.cfg inside %DVD%\sources\ei.cfg)

2) The dialog box "Accept Eula" will be displayed

3) The section OOBE will be displayed:

User Name

Password

Product key (you can choose to enter the valid key or do not enter a product key) and uncheck: Activate...

- You can skip the product key and not enter a key at all, and Windows will install the defautl key needed for the version you choose!

Or

- You can enter the valid key matching the Windows 7 version you want to install

Using this method the customer can install the Windows 7 version he wants!

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">
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
<RefreshRate>60</RefreshRate>
</Display>
<DynamicUpdate>
<Enable>false</Enable>
<WillShowUI>OnError</WillShowUI>
</DynamicUpdate>
<ImageInstall>
<OSImage>
<WillShowUI>Always</WillShowUI>
</OSImage>
</ImageInstall>
<EnableFirewall>true</EnableFirewall>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" 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">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep" 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">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>
</settings>
<settings pass="specialize">
<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">
<Home_Page>http://www.bluewin.ch/index.html.fr</Home_Page>
<BlockPopups>yes</BlockPopups>
<FavoritesOnTop>true</FavoritesOnTop>
<FilterLevel>High</FilterLevel>
<Help_Page>http://people.consolidated.net/veeger/</Help_Page>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<DisableWelcomePage>true</DisableWelcomePage>
<PlaySound>false</PlaySound>
<ShowInformationBar>true</ShowInformationBar>
<LockToolbars>true</LockToolbars>
<ShowLeftAddressToolbar>true</ShowLeftAddressToolbar>
<ShowMenuBar>true</ShowMenuBar>
<SuggestedSitesEnabled>true</SuggestedSitesEnabled>
</component>
<component name="Microsoft-Windows-RemoteAssistance-Exe" 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">
<fAllowFullControl>false</fAllowFullControl>
<fAllowToGetHelp>false</fAllowToGetHelp>
</component>
<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">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
<RefreshRate>60</RefreshRate>
</Display>
</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">
<UILanguage>fr-FR</UILanguage>
<UserLocale>fr-CH</UserLocale>
<InputLocale>100c:0000100c</InputLocale>
</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">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
<RefreshRate>60</RefreshRate>
</Display>
<TimeZone>W. Europe Standard Time</TimeZone>
<OEMInformation>
<Logo></Logo>
<Manufacturer>Se7en_UA</Manufacturer>
<Model>Seven Titan</Model>
<SupportHours>A tout instant, consultez les Forums</SupportHours>
<SupportPhone>BR549</SupportPhone>
<SupportURL>http://www.msfn.org</SupportURL>
</OEMInformation>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
<WindowsFeatures>
<ShowInternetExplorer>true</ShowInternetExplorer>
<ShowMediaCenter>true</ShowMediaCenter>
<ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
</WindowsFeatures>
</component>
<component name="Microsoft-Windows-Sidebar" 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">
<Gadget1>%PROGRAMFILES%\Windows Sidebar\Gadgets\Clock.Gadget</Gadget1>
<Gadget2>%PROGRAMFILES%\Windows Sidebar\Gadgets\Calendar.Gadget</Gadget2>
<Gadget3>%PROGRAMFILES%\Windows Sidebar\Gadgets\Weather.Gadget</Gadget3>
</component>
</settings>
</unattend>

I've tested successfully the installation for Windows 7 Professional. And I can choose the Windows 7 Edition I want to install!

You can use only one Autounattend.xml (x86 and amd64) for Windows 7 x86 and Windows 7 x64 merging the two unattend files!

Image Windows 7 without key

Edited by myselfidem
Link to comment
Share on other sites

OK thankyou. Thats answered allot of my questions now.

There is only one more question left, and that is how to merge both the x86 and the x64 xml files.

If I have a working x86 Autounattend.xml file and I have a working x64 Autounattend.xml file, what do I do to merge the 2 files into 1 file?

Like do I just past one after the other or is there something specific I need to do?

Link to comment
Share on other sites

About Autounattend.xml file for x86 and amd64 architectures:

1) First create the Autounattend.xml file for x86 with WSIM (Windows System Image Manager) include with WAIK (example Windows 7 Ultimate)

2) Copy manually the same passes inside your Autounattend.xml file for amd64 Architecture (always for the same image Windows 7 Ultimate)

Example here: http://www.msfn.org/...e/page__st__100 (post #116)

3) Check with WSIM to see if errors

4) Remove the last line inside the Autounattend.xml file (example):

<cpi:offlineImage cpi:source="wim:c:/WinMSDN/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi"/>

WARNING:

You will be able to choose between Windows 7 Ultimate x86 or amd64 Architectures for the silent installation!

If you have all Windows 7 versions inside install.wim image, take care to write the correct IMAGE/INDEX value (number) for each Windows 7 Edition Ultimate (example).

Because if there is only two images (keeping only Windows 7 Ultimate x86 and amd64), there is only 2 values; and if all images are merged (x86 and x64) you have 9 values!

Using IMAGE/INDEX inside Autounattend.xml file

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

<ImageInstall>

<OSImage>

<WillShowUI>Always</WillShowUI>

<InstallFrom>

<MetaData wcm:action="add">

<Key>/IMAGE/INDEX</Key>

<Value>1</Value>

</MetaData>

</InstallFrom>

</OSImage>

</ImageInstall>

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

Use imagex to read this info about index value:

imagex /info <path_to_install.wim>

Example: imagex /info C:\WinMSDN\sources\install.wim

Edited by myselfidem
Link to comment
Share on other sites

OK, after a test run I have something I am happy with. Thankyou for all the help.

Basically I havn't fully automated it but its a close I can get while keeping some flexability for different machines and users and keys.

I now just select the edition, drive to install to, enter a username and computer name, skip or enter a key and done.

I do have 1 small problem that I can't seem to find an answer for.

Under a normal none attended install, I normally select English Australia, and I never get a language bar in windows afterwards.

This time around thou I have en-AU set as the user local, and en-US for all other options. But now I get a Language bar in windows. I presume I need to enter en-AU somewhere else but looking the the help files it is not showing as a valid option.

What do I need to change to fix it 100% for Australia?

Don't worry, I solved it.

Edited by eangulus
Link to comment
Share on other sites

Hi,

Another question about an AiO installation. I made a custom wim file with x86 and x64 in it. I did some registery tweaks and added some custom wallpapers but when i apply these settings and rebuild all the images is does only apply to the version of Windows i selected ealier. I figured out that i have to do the same trick over and over for every version of Windows inside the image to apply them to all of the version wich take alot of time whenever i have to make a small adjustment.

Can any1 help me out how to apply them to ALL of the images inside the wim file without rebuilding and reloading them every time?

Link to comment
Share on other sites

Can any1 help me out how to apply them to ALL of the images inside the wim file without rebuilding and reloading them every time?

You must "Mount" each image you want customize and Unmount /Commit. Because each image is different!

Link to comment
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.
×
×
  • Create New...