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

Ask your Seven xml ? here


  • Please log in to reply
598 replies to this topic

#276
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks maxXPsoft, answered to the first question posted and solved here:

http://www.wincert.n...9455#entry79455

Regards

Edited by myselfidem, 28 November 2011 - 06:40 AM.

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


How to remove advertisement from MSFN

#277
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
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, 21 January 2012 - 03:09 AM.

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

#278
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,127 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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?

#279
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,127 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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=&amp;ie=UTF-8&amp;oe=UTF-8&amp;startIndex=&amp;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! :)

#280
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
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, 21 January 2012 - 03:12 AM.

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

#281
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,127 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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.



#282
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

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, 15 December 2011 - 01:25 PM.

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

#283
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,127 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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, 16 December 2011 - 12:30 AM.


#284
nice_guy75

nice_guy75

    Advanced Member

  • Member
  • PipPipPip
  • 406 posts
  • Joined 07-December 09
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.

#285
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

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: &quot; (or write manually) like you will see when you save your customized Autounattend.xml file.

About Ultra_VNC, if using &quot; 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/...s/ultravnc.html

Edited by myselfidem, 16 December 2011 - 07:44 AM.

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

#286
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,127 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

I think I used to use xcopy to copy individual files back when everything worked, but I changed that (probably cause I saw no point in xcopy).




Oh and I found an article about search providers: http://support.micro....com/kb/2444193

Maybe it is related. I think it was ok until I actually launched IE - before that the provider was set correctly when I checked from control panel, internet options. I will try it again with different image, because I have no idea anymore - too many attempts and lost track.



#287
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Yes, using IE9 I found some problem with customization inside Autounattend.xml and I use now my IE9.reg file saved. No problem found with IE8.

You can find help here and later:
http://www.msfn.org/...post__p__970068
For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#288
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

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

Solved here http://www.msfn.org/...-with-your-xml/
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

#289
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,127 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Yes, using IE9 I found some problem with customization inside Autounattend.xml and I use now my IE9.reg file saved. No problem found with IE8.

You can find help here and later:
http://www.msfn.org/...post__p__970068


I managed to solve it by manually removing Bing by editing registry before capturing the image :P Awkward but worked.

#290
nice_guy75

nice_guy75

    Advanced Member

  • Member
  • PipPipPip
  • 406 posts
  • Joined 07-December 09
Hey MaxXPSoft, I am pasting (unable to upload the xml, don't know why) my xml here and I have few problems, please help me solve these problems:

1. When I install my OS my user folder comes as read only folder, so I am unable to use silent installer of google chrome and some of the registries, I am trying with setupcomplete.cmd in "%windir%\setup" folder. How can I rectify this probelm?
2. Os is still sking for PC name and security settings (please see the screenshots), even after setting both the things in autounattend.xml.
3. Can I change the window color to black from default blue? I remember I have seen some where by which we can change the default from blue to some custom color, but not remember now.


Posted Image

Posted Image

<?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>0409:00000409</InputLocale> 
            <SystemLocale>en-US</SystemLocale> 
            <UILanguage>en-US</UILanguage> 
            <UserLocale>en-US</UserLocale> 
        </component> 
        <component name="Microsoft-Windows-Setup" 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"> 
            <UserData> 
                <ProductKey> 
                    <WillShowUI>OnError</WillShowUI> 
                    <Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key> 
                </ProductKey> 
                <AcceptEula>true</AcceptEula> 
                <FullName>Alaska</FullName> 
                <Organization>Home</Organization> 
            </UserData> 
            <DiskConfiguration>
                <WillShowUI>Always</WillShowUI>
            </DiskConfiguration>
            <ImageInstall> 
                <OSImage> 
                    <WillShowUI>Always</WillShowUI> 
                    <InstallFrom> 
                        <MetaData wcm:action="add"> 
                            <Key>/IMAGE/INDEX</Key> 
                            <Value>2</Value> 
                        </MetaData> 
                    </InstallFrom> 
                </OSImage> 
             </ImageInstall> 
             <Display> 
                 <ColorDepth>32</ColorDepth> 
                 <HorizontalResolution>1024</HorizontalResolution> 
                 <VerticalResolution>768</VerticalResolution> 
             </Display> 
        </component> 
    </settings> 
    <settings pass="specialize"> 
        <component name="Microsoft-Windows-Security-SPP-UX" 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">
            <SkipAutoActivation>true</SkipAutoActivation> 
        </component> 
        <component name="Microsoft-Windows-Shell-Setup" 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">
            <ComputerName>PC</ComputerName> 
            <TimeZone>India Standard Time</TimeZone> 
        </component> 
        <component name="Microsoft-Windows-IE-InternetExplorer" 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">
            <DisableOOBAccelerators>true</DisableOOBAccelerators> 
            <DisableFirstRunWizard>true</DisableFirstRunWizard> 
            <EnableLinksBar>false</EnableLinksBar> 
            <FilterLevel>Medium</FilterLevel> 
            <Home_Page>www.google.co.in</Home_Page> 
            <BlockPopups>yes</BlockPopups> 
            <SuggestedSitesEnabled>false</SuggestedSitesEnabled> 
            <PlaySound>True</PlaySound> 
            <ShowInformationBar>true</ShowInformationBar> 
            <ShowMenuBar>true</ShowMenuBar> 
        </component> 
    </settings> 
    <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">
            <Themes>
                <ThemeName>C:\Windows\resources\Themes\Alaska.theme</ThemeName>
                <DefaultThemesOff>false</DefaultThemesOff>
		<DesktopBackground>%WINDIR%\web\wallpaper\Landscapes\img7.jpg</DesktopBackground>
            </Themes>
            <InputLocale>0409:00000409</InputLocale> 
            <UserLocale>en-US</UserLocale> 
            <UILanguage>en-US</UILanguage> 
        </component> 
        <component name="Microsoft-Windows-Shell-Setup" 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">
        <RegisteredOwner>Home</RegisteredOwner>    
        <TimeZone>India Standard Time</TimeZone> 
        <Display> 
            <ColorDepth>32</ColorDepth> 
            <DPI>96</DPI> 
            <HorizontalResolution>1024</HorizontalResolution> 
            <VerticalResolution>768</VerticalResolution> 
       </Display> 
       <OOBE> 
 	   <HideEULAPage>true</HideEULAPage>
           <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
	   <NetworkLocation>Other</NetworkLocation>
	   <ProtectYourPC>3</ProtectYourPC>
	   <SkipMachineOOBE>true</SkipMachineOOBE>
	   <SkipUserOOBE>true</SkipUserOOBE> 
      </OOBE> 
      <AutoLogon>
          <Password>
             <Value></Value>
          </Password>
          <Enabled>true</Enabled>
          <LogonCount>2</LogonCount>
          <Username>Administrator</Username>
       </AutoLogon>
         <UserAccounts> 
                <LocalAccounts> 
                    <LocalAccount wcm:action="add"> 
                         <Password> 
                             <Value></Value> 
                             <PlainText>true</PlainText> 
                         </Password> 
                         <DisplayName>Administrator</DisplayName> 
                         <Name>Administrator</Name> 
                         <Group>Administrators</Group> 
                     </LocalAccount> 
                 </LocalAccounts> 
            </UserAccounts> 
        </component> 
    </settings> 
</unattend>

Edited by nice_guy75, 18 December 2011 - 11:05 PM.


#291
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Again, I told you many times, removes those lines, because they are deprecated for Windows 7:

<OOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
And try to give another name for your computer!
You have only one Administrator account !

Set SetupComplete.cmd inside: %DVD%\sources\$OEM$\$$\Setup\scripts\SetupComplete.cmd

http://technet.micro...268(WS.10).aspx

Edited by myselfidem, 19 December 2011 - 06:42 AM.

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

#292
nice_guy75

nice_guy75

    Advanced Member

  • Member
  • PipPipPip
  • 406 posts
  • Joined 07-December 09

Again, I told you many times, removes those lines, because they are deprecated for Windows 7:

<OOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
And try to give another name for your computer!
You have only one Administrator account !

Set SetupComplete.cmd inside: %DVD%\sources\$OEM$\$$\Setup\scripts\SetupComplete.cmd

http://technet.micro...268(WS.10).aspx

Did you, I am sorry mate I don't remember. BTW thanks for your help. But can't we use "%windir%\Setup\Scripts\setupcomplete.cmd" to install some applications which require permission to access User (Administrator) folder, like google Chrome? Runonce registry is also not working

I also wish to know can shell command do the trick?

Edit: I have already tried shell command but not working.

Edited by nice_guy75, 19 December 2011 - 11:32 PM.


#293
ar_seven_am

ar_seven_am

    Junior

  • Member
  • Pip
  • 62 posts
  • Joined 09-January 10
  • OS:Vista Ultimate x64
  • Country: Country Flag


Again, I told you many times, removes those lines, because they are deprecated for Windows 7:

<OOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
And try to give another name for your computer!
You have only one Administrator account !

Set SetupComplete.cmd inside: %DVD%\sources\$OEM$\$$\Setup\scripts\SetupComplete.cmd

http://technet.micro...268(WS.10).aspx

Did you, I am sorry mate I don't remember. BTW thanks for your help. But can't we use "%windir%\Setup\Scripts\setupcomplete.cmd" to install some applications which require permission to access User (Administrator) folder, like google Chrome? Runonce registry is also not working

I also wish to know can shell command do the trick? I have already


I think u better use "%SystemRoot%" instead "%WinDir%", even it's the same but the variable use for different purpose.
Se7en/Vista Unattended DVD XML Creator and Application Installer
Posted Image
Light Blue Ribbon Campaign for Freedom of Skin

I don't care ur race or religion, all I care u're friend of mine! Life's too short, don't waste ur time for war, PEACE IS NOW!

#294
nice_guy75

nice_guy75

    Advanced Member

  • Member
  • PipPipPip
  • 406 posts
  • Joined 07-December 09

I think u better use "%SystemRoot%" instead "%WinDir%", even it's the same but the variable use for different purpose.

See initiation of the installation is not the problem other silent installers are running fine, but "Administrator" is read only folder so chrome installer is unable to put the files in the Administrator folder, I have tried "ShellExecute" command of Autoit and it is also not working.

Anymore suggestions?

#295
ar_seven_am

ar_seven_am

    Junior

  • Member
  • Pip
  • 62 posts
  • Joined 09-January 10
  • OS:Vista Ultimate x64
  • Country: Country Flag


I think u better use "%SystemRoot%" instead "%WinDir%", even it's the same but the variable use for different purpose.

See initiation of the installation is not the problem other silent installers are running fine, but "Administrator" is read only folder so chrome installer is unable to put the files in the Administrator folder, I have tried "ShellExecute" command of Autoit and it is also not working.

Anymore suggestions?


what chrome installer do u use? I use chrome offline instaler for "all user" (not only single user) n it work fine?
Se7en/Vista Unattended DVD XML Creator and Application Installer
Posted Image
Light Blue Ribbon Campaign for Freedom of Skin

I don't care ur race or religion, all I care u're friend of mine! Life's too short, don't waste ur time for war, PEACE IS NOW!

#296
nice_guy75

nice_guy75

    Advanced Member

  • Member
  • PipPipPip
  • 406 posts
  • Joined 07-December 09

what chrome installer do u use? I use chrome offline instaler for "all user" (not only single user) n it work fine?

Can you share the same with me? I have found one over here: https://www.google.c...ue&standalone=1
but I don't think this one is a silent installer further I don't want that first run window as well.

#297
ar_seven_am

ar_seven_am

    Junior

  • Member
  • Pip
  • 62 posts
  • Joined 09-January 10
  • OS:Vista Ultimate x64
  • Country: Country Flag

Can you share the same with me? I have found one over here: https://www.google.c...ue&standalone=1
but I don't think this one is a silent installer further I don't want that first run window as well.


yes, I use that link to download google chrome offline installer for all user. it doesn't work for u? I login into my built in admin account I also found google chrome menu in all programs in start menu, but still we need to reconfigure that.

note: I dont trim my windows image (I'm not windows lite fans boys), I prefer use the existing windows component instead installing third party's software.
Se7en/Vista Unattended DVD XML Creator and Application Installer
Posted Image
Light Blue Ribbon Campaign for Freedom of Skin

I don't care ur race or religion, all I care u're friend of mine! Life's too short, don't waste ur time for war, PEACE IS NOW!

#298
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

Anymore suggestions?

I tested successfully with only Administrator account (like your example) but with this value: <LogonCount>3</LogonCount>

<AutoLogon>
          <Password>
                <Value></Value>
          </Password>
          <Enabled>true</Enabled>
          <LogonCount>3</LogonCount>
          <Username>Administrator</Username>
</AutoLogon>

And using SetupComplete.cmd and ChromeStandaloneSetup.exe inside: Distribution_Folder\$OEM$\$\Setup\Scripts (I don't know the silent switches for Google Chrome!)

SetupComplete.cmd
@echo off
cmd /c "%~dp0ChromeStandaloneSetup.exe"
exit
And all is fine and works! I hope that can help you.
Images Google Chrome

*Edit: However I downloaded ChromeStandaloneSetup.exe with Firefox; because for some reason I was unable to download with IE9!

*Edit 2: I found the workaround about downloading files with IE9 with links: https:// (example like: download link for ChromeStandaloneSetup.exe)
http://www.msfn.org/...post__p__985532

Edited by myselfidem, 20 December 2011 - 06:15 PM.

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

#299
nice_guy75

nice_guy75

    Advanced Member

  • Member
  • PipPipPip
  • 406 posts
  • Joined 07-December 09


Anymore suggestions?

I tested successfully with only Administrator account (like your example) but with this value: <LogonCount>3</LogonCount>

<AutoLogon>
          <Password>
                <Value></Value>
          </Password>
          <Enabled>true</Enabled>
          <LogonCount>3</LogonCount>
          <Username>Administrator</Username>
</AutoLogon>

And using SetupComplete.cmd and ChromeStandaloneSetup.exe inside: Distribution_Folder\$OEM$\$\Setup\Scripts (I don't know the silent switches for Google Chrome!)

SetupComplete.cmd
@echo off
cmd /c "%~dp0ChromeStandaloneSetup.exe"
exit
And all is fine and works! I hope that can help you.
Images Google Chrome

*Edit: However I downloaded ChromeStandaloneSetup.exe with Firefox; because for some reason I was unable to download with IE9!

*Edit 2: I found the workaround about downloading files with IE9 with links: https:// (example like: download link for ChromeStandaloneSetup.exe)
http://www.msfn.org/...post__p__985532


Wow, you are really a life saver man, I already have silent installer of Google Chrome, I would try this and let you know the result.

I also wish to know can I use OEM folder to apply some registries which require admin's privileges?

#300
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

I also wish to know can I use OEM folder to apply some registries which require admin's privileges?

You can add some registry settings inside the same folder location: Scripts. Example:

SetupComplete.cmd
@echo off
REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
SET KEY=HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
echo.
REG ADD %KEY%\005 /V 1 /D "REGEDIT /S %SystemRoot%\Setup\Scripts\Tweaks.reg" /f
echo.
cmd /c "%~dp0ChromeStandaloneSetup.exe" /silent /install
exit
Image SetupComplete.cmd and Registry Tweaks

Or we can use FirstLogonCommand inside Autounattend.xml for registry keys using a batch file!

Edited by myselfidem, 21 December 2011 - 04:35 AM.

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




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users



How to remove advertisement from MSFN