maxXPsoft

Ask your Seven xml ? here

616 posts in this topic

I use <InputLocale>0409:00000409</InputLocale> in "windowsPE" only but my image is english only

I knew myselfdiem had covered that but had to find myself. I've kinda become dormant waiting on Win 8. Looks to be about the same thank goodness. Switch from XP unattend was a big one.

0

Share this post


Link to post
Share on other sites
I use <InputLocale>0409:00000409</InputLocale> in "windowsPE" only but my image is english only

Yeah, same for me... I ain't pro but I think <InputLocale> under WindowsPE is different and serves for the purpose of setting initial setup environment for Windows install while <InputLocale> under oobeSystem is to kinda "please" user experience - hence initializes and sets up things as user wants to see on the screen on the very final stage of setup...

Just my 2 cents BUT I would be very grateful to hear more about differences of SAME settings and their functions at different passes... E.g., OEM info can be used at several locations throughout setup - the same values BUT under different passes. Can anybody enlighten me WHY it's designed as such?!?

0

Share this post


Link to post
Share on other sites

I have a win7 AIO dvd with 9 images.

do x86 and x64 behave different ? (I mean installing options because there is only one autouattend.xml file.)

x86 images ask user creation only as I would like to.

But x64 images ask two more options. :(

1-security question(update-ask-don't update) 2-network location(home-work-other)

Autounattend hornet512.xml

Edited by hornet512
0

Share this post


Link to post
Share on other sites

I have a win7 AIO dvd with 9 images.

do x86 and x64 behave different ? (I mean installing options because there is only one autouattend.xml file.)

x86 images ask user creation only as I would like to.

But x64 images ask two more options. :(

1-security question(update-ask-don't update) 2-network location(home-work-other)

myselfidem has the example here. you combine everything not have 2 diff settings pass on each

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

I spend many time trying to create partitions like is explained inside "Unattended Windows Setup Reference for Windows 7.chm:

- Unattended Installation Settings Reference

- Components

- Microsoft-Windows-Setup

- DiskConfiguration

- Disk

- ModifyPartition

- Extend

Whithout success and always errors! It seems there is an error inside the .chm document!?

But if I change like this, works fine: :whistle:


<?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>
<Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<!-- Create the recovery partition -->
<CreatePartition wcm:action="add">
<Order>1</Order>
<Extend>false</Extend>
<Type>Primary</Type>
<Size>200</Size>
</CreatePartition>
<!-- Create the utility partition -->
<CreatePartition wcm:action="add">
<Order>2</Order>
<Size>5000</Size>
<Type>Primary</Type>
</CreatePartition>
<!-- Create the system partition -->
<CreatePartition wcm:action="add">
<Order>3</Order>
<Size>100</Size>
<Type>Primary</Type>
</CreatePartition>
<!-- Create the extended partition -->
<CreatePartition wcm:action="add">
<Order>4</Order>
<Extend>true</Extend>
<Type>Extended</Type>
</CreatePartition>
<!-- Create the Windows partition -->
<CreatePartition wcm:action="add">
<Order>5</Order>
<Size>10000</Size>
<Type>Logical</Type>
</CreatePartition>
<!-- Create the data partition, with a size of 100. This will be overwritten in the Modify section -->
<CreatePartition wcm:action="add">
<Order>6</Order>
<Type>Logical</Type>
<Extend>false</Extend>
<Size>100</Size>
</CreatePartition>
</CreatePartitions>
<!-- Modify the recovery partition -->
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>1</PartitionID>
<Format>NTFS</Format>
<Label>Recovery</Label>
<TypeID>0x27</TypeID>
</ModifyPartition>
<!-- Modify the utility partition -->
<ModifyPartition wcm:action="add">
<Order>2</Order>
<PartitionID>2</PartitionID>
<Format>NTFS</Format>
<Label>Utility</Label>
<Letter>U</Letter>
</ModifyPartition>
<!-- Modify the system partition -->
<ModifyPartition wcm:action="add">
<PartitionID>3</PartitionID>
<Active>true</Active>
<Order>3</Order>
<Label>System</Label>
<Format>NTFS</Format>
</ModifyPartition>
<!-- The extended partition does not need to be modified -->
<!-- Modify the Windows partition -->
<ModifyPartition wcm:action="add">
<Order>4</Order>
<Format>NTFS</Format>
<!-- I CHANGED the partition ID number to -->
<PartitionID>4</PartitionID>
<Label>Windows</Label>
<Letter>C</Letter>
</ModifyPartition>
<!-- Modify the data partition -->
<ModifyPartition wcm:action="add">
<Order>5</Order>
<Format>NTFS</Format>
<!-- I CHANGED the partition ID number to -->
<PartitionID>5</PartitionID>
<Label>Data</Label>
<Letter>D</Letter>
<Extend>true</Extend>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
<RefreshRate>60</RefreshRate>
</Display>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ULTIMATE</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>4</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>myselfidem</FullName>
<Organization>particulier</Organization>
<ProductKey>
<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
</UserData>
<EnableFirewall>true</EnableFirewall>
</component>
<component name="Microsoft-Windows-PnpCustomizationsWinPE" 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">
<DriverPaths>
<PathAndCredentials wcm:action="add" wcm:keyValue="1">
<Path>$WinPEDriver$/Path>
</PathAndCredentials>
</DriverPaths>
</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-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>
<ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
<RegisteredOwner>Full Name</RegisteredOwner>
<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;o40c:0000040c</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>
<RegisteredOwner>Full Name</RegisteredOwner>
<TimeZone>W. Europe Standard Time</TimeZone>
<AutoLogon>
<Enabled>true</Enabled>
<LogonCount>9999999</LogonCount>
<Username>myselfidem</Username>
<Password>
<Value></Value>
<PlainText>true</PlainText>
</Password>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<PlainText>true</PlainText>
<Value></Value>
</Password>
<Group>Administrators</Group>
<DisplayName>myselfidem</DisplayName>
<Name>myselfidem</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<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>

<!--Customized by myselfidem. Fully unattended with 5 partitions = C:\Windows D:\Data and U:\Utility (2 hidden partitions: Recovery and System)-->
<!--And one Aministrator without password-->

Image

5 Partitions (2 hidden)

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Yay, I ran into new problem. What do I need to change/set in the answer file to change time and currency format? I am preparing an image for notebook for foreign employees and the system language needs to be english of course. The catch is I absolutely hate american format and want it changed. The most universal would be UK english format I guess, but how do I set that? WSIM documentation only mentions en-US. I need to set what you find in control panel-region and language-format tab. Which setting is that?

0

Share this post


Link to post
Share on other sites

Actually, nevermind. Figured it out. The only thing I am unhappy about is I have two keyboard layouts installed now.

Fighting with setting searsch scopes atm. I can't seem to manage to eliminate Bing!

1) Is there a way to DELETE a search scope?

2) Tthis doesn't seem to work fully:


<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<DisableAccelerators>true</DisableAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<EnableLinksBar>false</EnableLinksBar>
<FavoritesDelete>true</FavoritesDelete>
<Home_Page>http://www.google.com</Home_Page>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<ShowInformationBar>true</ShowInformationBar>
<SearchScopes>
<Scope wcm:action="add">
<ScopeDefault>true</ScopeDefault>
<DisplayQuickPick>false</DisplayQuickPick>
<ScopeKey>Search1</ScopeKey>
<ScopeDisplayName>Google</ScopeDisplayName>
<ScopeUrl>http://www.google.com/search?q=&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1</ScopeUrl>
<FaviconURL>http://www.google.com/favicon.ico</FaviconURL>
<ShowSearchSuggestions>false</ShowSearchSuggestions>
</Scope>
</SearchScopes>
<DisableDevTools>true</DisableDevTools>
</component>

posted whole component code in case there;s something bad elsewhere...

What I managed to do is adding Google as search, BUT it;s not default and the **** Bing is still there, and as number one.

Please help! :)

0

Share this post


Link to post
Share on other sites

About english United Kingdom!

Maybe that can help you.


<?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="amd64" 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>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>0809:00000809</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-US</UILanguage
<UserLocale>en-GB</UserLocale>
</component>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserLocale>en-GB</UserLocale>
<UILanguage>en-US</UILanguage>
<ImputLocale>0809:00000809</ImputLocale>
</component>

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

systemlocale is not needed in oobesystem?

Btw from help I was unable to tell which keyboard is the "US". That, afaik, is the only one that doesn't require you to press the key for quotes twice.

0

Share this post


Link to post
Share on other sites

systemlocale is not needed in oobesystem?

I don't use with my Autounattend.xml file, inside <settings pass="oobeSystem">, and works fine; because it's already set inside: <settings pass="windowsPE">

About Keyboards; look inside the Registry:

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layouts]

en-US


[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layouts\00000409]
"Layout Text"="US"
"Layout Display Name"="@%SystemRoot%\\system32\\input.dll,-5000"
"Layout File"="KBDUS.DLL"

en-GB


[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layouts\00000809]
"Layout File"="KBDUK.DLL"
"Layout Text"="United Kingdom"
"Layout Display Name"="@%SystemRoot%\\system32\\input.dll,-5025"

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

And to add a bit more to the unattended mystery, I do have the Total Commander ini file copying working:



<SynchronousCommand wcm:action="add">
<Order>12</Order>
<CommandLine>cmd /c copy /y "%systemdrive%\install\TotalCommander\wincmd.ini" "%programfiles(x86)%\totalcmd\"</CommandLine>
<Description>copy Total Commander settings</Description>
</SynchronousCommand>


but the SAME thing, only for UltraVNC, does not work at all!!!



<SynchronousCommand wcm:action="add">
<Order>14</Order>
<CommandLine>cmd /c copy /y "%systemdrive%\install\UltraVNC\UltraVNC.ini" "%programfiles%\UltraVNC\"</CommandLine>
<Description>copy UltraVNC settings</Description>
</SynchronousCommand>


What in the hell is this?

Is there a way to save output from these windows, like when it says "1 file copied" etc.?

Edited by TheWalrus
0

Share this post


Link to post
Share on other sites

Please help me guys, I have tried to change the default theme by autounattend.xml, I have tried

<Themes>

<CustomDefaultThemeFile>c:themefiles\nature.theme</CustomDefaultThemeFile>

<DefaultThemesOff>false</DefaultThemesOff>

</Themes>

in "microsoft-windows-sell-setup"

but not working then I have tried this one as well

<Themes>

<Themename>nature<Themename>

<DefaultThemesOff>false</DefaultThemesOff>

</Themes>

But this one also didn't work. Please tell me how can I change the default theme by xml only. I don't want to use other method of applying custom theme.

0

Share this post


Link to post
Share on other sites

And to add a bit more to the unattended mystery,

Using quotes (") with Autounattend.xml, the best way is to check your file with WSIM and use: " (or write manually) like you will see when you save your customized Autounattend.xml file.

About Ultra_VNC, if using " do not work you can look at this post to create an unattended installation:

http://www.msfn.org/...post__p__947388

However, it seems you need to use the 64-bit version for your 64-bit computer !?

http://www.uvnc.com/downloads/ultravnc.html

Edited by myselfidem
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.