MSFN Forum: Ask your Seven xml ? here - MSFN Forum

Jump to content


  • 25 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Ask your Seven xml ? here Sample .xml's including Audit Mode for DVD and other Install's

#81 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,752
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 November 2010 - 04:35 PM

coucou you do have the waik help
WAIK help file
The following diagram and XML output shows Autounattend.xml Disk Configuration settings for a system with primary, extended, and logical partitions:

that was one I was looking at myselfdiem picture but you don't want them 0x27

This post has been edited by maxXPsoft: 09 November 2010 - 05:05 PM



#82 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 12 November 2010 - 04:29 AM

TNX both maxXPsoft and myselgidem.

You'll find the diagram and XML output exactly inside Unattend.chm
Installation Settings Reference/ Components/Microsoft-Windows-Setup/Disk Configuration/Disk/Create Partitions/Create Partition/Type
XML Example
BIOS-Based Systems
The following XML output for the DiskConfiguration setting shows a configuration for a BIOS-based system with six partitions, including three primary partitions, an extended partition, and two logical partitions.

I didn't take yet the decision for the 0x27. As I wrote here above #75 I never used a Recovery partition (utlity 1) before, It is really usefull?
Regarding the utlity 2 parttion its automatically created anyway and 100MB are allowed to it.

This post has been edited by coucou: 12 November 2010 - 04:30 AM


#83 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 November 2010 - 04:50 AM

View Postcoucou, on 12 November 2010 - 04:29 AM, said:

I didn't take yet the decision for the 0x27. As I wrote here above #75 I never used a Recovery partition (utlity 1) before, It is really usefull?
Regarding the utlity 2 parttion its automatically created anyway and 100MB are allowed to it.

Hello coucou!
About Recovery partition
You can find help here:
http://www.msfn.org/...570#entry946570

http://www.pagestart...ows7korner.html

I hope that can help you!

#84 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 22 November 2010 - 11:15 AM

View Postmyselfidem, on 22 November 2010 - 04:50 AM, said:

View Postcoucou, on 12 November 2010 - 04:29 AM, said:

I didn't take yet the decision for the 0x27. As I wrote here above #75 I never used a Recovery partition (utlity 1) before, It is really usefull?
Regarding the utlity 2 parttion its automatically created anyway and 100MB are allowed to it.

Hello coucou!
About Recovery partition
You can find help here:
http://www.msfn.org/...570#entry946570

http://www.pagestart...ows7korner.html

I hope that can help you!

Thank you myselfidem :P
You have 2 PM's
Regards

#85 User is offline   grabben 

  • -Grabben
  • PipPipPipPip
  • Group: Members
  • Posts: 600
  • Joined: 20-December 09
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 December 2010 - 09:17 AM

View PostmaxXPsoft, on 06 March 2010 - 11:21 AM, said:

Now includes the auditSystem auditUser stuff
x64_AutoUnattend - AUDIT.xml
any ? ask

EDIT: It also shows how if you copy your Drivers folder to root of Dvd and <settings pass="offlineServicing"> and use the
        <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
            <DriverPaths>
                <PathAndCredentials wcm:action="add" wcm:keyValue="1">
                    <Path>%systemdrive%\Drivers</Path>
                </PathAndCredentials>
            </DriverPaths>
        </component>


If you inject Drivers then remove that part


We at MDL Forum have these autounattend.xml files: Files
Hm If we want masstorage drivers (downloaded from lets say driverpacks.net) how to have the setup read from that folder without injecting? Is it that <path>%systemdrive%\Drivers\Whereever we have them</path> line above?

And how about when installing Windows 7? Does masstorage have to be installed to windows as well or is it only for setup (installed to windows by setup)? Not having drivers injected will save some space on my 7 AIO :)

Hm been looking around myself for a quick while..

#86 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 04 January 2011 - 08:57 AM

Hi,

I've prepared Win7 French tested it worked like acharm.
Then I decide to prepare a Win7 English with an added French lagPack. I tested it, and at the end of the install i have a Browser Choice window (see image bellow).
How can I disable that window with Autounattend.xml?
<?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">
			<SystemLocale>en-us</SystemLocale>
			<UserLocale>en-us</UserLocale>
			<UILanguage>en-US</UILanguage>
			<UILanguageFallback>en-us</UILanguageFallback>
			<InputLocale>0409:00000409</InputLocale>
        </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>720</VerticalResolution>
                <RefreshRate>60</RefreshRate>
            </Display>
            <DynamicUpdate>
                <Enable>false</Enable>
                <WillShowUI>OnError</WillShowUI>
            </DynamicUpdate>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows 7 ULTIMATE</Value>
                        </MetaData>
                    </InstallFrom>
                </OSImage>
            </ImageInstall>
            <UserData>
                <AcceptEula>true</AcceptEula>
                <FullName></FullName>
                <Organization></Organization>
                <ProductKey>
                    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
                    <WillShowUI>OnError</WillShowUI>
                </ProductKey>
            </UserData>
            <EnableFirewall>true</EnableFirewall>
            <EnableNetwork>true</EnableNetwork>
        </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.free.fr/adsl/</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>
            <SearchScopes>
                <Scope wcm:action="add">
                    <ScopeDefault>true</ScopeDefault>
                    <ScopeDisplayName>Google</ScopeDisplayName>
                    <ScopeKey>Search1</ScopeKey>
                    <ScopeUrl>http://www.google.com/advanced_search?hl=fr</ScopeUrl>
                </Scope>
            </SearchScopes>
            <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">
            <ComputerName>Se7en</ComputerName>
            <ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
            <RegisteredOwner></RegisteredOwner>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1280</HorizontalResolution>
                <VerticalResolution>720</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-FR</UserLocale>
			<InputLocale>040c: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>720</VerticalResolution>
                <RefreshRate>60</RefreshRate>
            </Display>
            <RegisteredOwner></RegisteredOwner>
            <TimeZone>Romance Standard Time</TimeZone>
            <AutoLogon>
                <Enabled>true</Enabled>
                <LogonCount>9999999</LogonCount>
                <Username>XXXXXX</Username>
                <Password>
                    <Value></Value>
                </Password>
            </AutoLogon>
            <FirstLogonCommands> 
                <SynchronousCommand wcm:action="add"> 
                  <Order>1</Order> 
                  <Description>Kel's Win7 UberPacK v4</Description> 
                  <CommandLine>cmd /C start /wait c:\Install\Win7_UberPacK_v4.exe</CommandLine> 
                </SynchronousCommand> 
                <SynchronousCommand wcm:action="add"> 
                  <Order>2</Order> 
                  <Description>Windows Malicious Software Removal Tool December 2010</Description> 
                  <CommandLine>cmd /C start /wait c:\Install\X86-all-windows-kb890830-v3.14_cd.exe /Q</CommandLine> 
                </SynchronousCommand> 
                <SynchronousCommand wcm:action="add"> 
                  <Order>3</Order> 
                  <Description>Windows Malicious Software Removal Tool December 2010</Description> 
                  <CommandLine>cmd /C start /wait c:\Install\X86-all-windows-kb890830-v3.14-delta.exe /Q</CommandLine> 
                </SynchronousCommand> 
                <SynchronousCommand wcm:action="add"> 
                   <Order>4</Order> 
                   <Description>Windows Post Install Wizard</Description> 
                   <CommandLine>cmd /C start /wait c:\Windows\Setup\scripts\WPI.cmd</CommandLine> 
                </SynchronousCommand> 
            </FirstLogonCommands>
            <Themes>   
                    <ThemeName>%WINDIR%\resources\Themes\aero.theme</ThemeName>   
					<DefaultThemesOff>false</DefaultThemesOff>
					<DesktopBackground>%WINDIR%\web\wallpaper\Windows\img0.jpg</DesktopBackground>  
            </Themes>  
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
            </OOBE>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value></Value>
                        </Password>
                        <Group>Administrators</Group>
                        <DisplayName>XXXXXX</DisplayName>
                        <Name>XXXXXX</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <VisualEffects>
                <FontSmoothing>ClearType</FontSmoothing>
            </VisualEffects>
            <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
            <BluetoothTaskbarIconEnabled>true</BluetoothTaskbarIconEnabled>
            <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>


Posted Image

Regards

This post has been edited by gunsmokingman: 11 January 2011 - 11:17 AM
Reason for edit: Removed User Key


#87 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,752
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 January 2011 - 06:34 PM

not sure what that windows saying but under <WindowsFeatures> remove all them because default is true unless you set to false

#88 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 05 January 2011 - 03:31 AM

View PostmaxXPsoft, on 04 January 2011 - 06:34 PM, said:

not sure what that windows saying but under <WindowsFeatures> remove all them because default is true unless you set to false

I'll give a try.
But the exactly a same Autounattend.xml worked fine with Win7 French :blink: :wacko:

#89 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,752
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 January 2011 - 06:21 PM

If I recall the <DisableFirstRunWizard>true</DisableFirstRunWizard>
in xml didn't work so I started using a reg in Firstlogoncommands

;2 Prevent Performance of First Run
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main]
"DisableFirstRunCustomize"=dword:00000001

#90 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 09 January 2011 - 01:20 PM

I've found some help about the first run for Internet Explorer window choice (KB976002).

[Solved] Windows 7 KB976002 All Versions

http://windows.micro...r-choice-update

http://www.forum-una....php?f=35&t=541

You can add this reg file inside your unattend installation:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\BrowserChoice]
"Shortcut"=dword:00000000
"Enable"=dword:00000000


I hope that can help you!
Cheers

This post has been edited by myselfidem: 10 January 2011 - 05:39 AM


#91 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 10 January 2011 - 05:52 AM

@coucou

If you have integrated the update KB976002 you can prevent the window for the BrowserChoice with an Addon reg using Windows 7 Toolkit (like explained inside the link above) or injecting the reg key inside install.wim.

I've tried successfully (with my Windows 7 Ultimate French version) integrating (injecting) the reg file with this batch file:
(Mounted and temp folders "C:\test" and reg file inside "C:\DISM_Temp" with ONE Image with my example)

Adapt the paths to your needs and set the reg file inside a temp folder ("C:\DISM_Temp" with my example) !

RegHive.cmd

@echo off
Color 0A
echo.
"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Mount-Wim /Wimfile:"C:\Se7en\sources\install.wim" /index:1 /MountDir:"C:\test"
echo.
pause
echo.
reg.exe load HKLM\WIM_Default "C:\test\Users\Default\NTUSER.DAT"
reg.exe load HKLM\WIM_Software "C:\test\Windows\System32\config\SOFTWARE"
reg.exe load HKLM\WIM_System "C:\test\Windows\System32\config\SYSTEM"
echo.
pause
reg.exe import "C:\DISM_Temp\RegistryTweaks.reg"
pause
echo.
reg.exe unload HKLM\WIM_Default
reg.exe unload HKLM\WIM_Software
reg.exe unload HKLM\WIM_System
pause
echo.
"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Unmount-Wim /MountDir:"C:\test" /Commit
echo.
pause



And the reg file inside your temp folder:

RegistryTweaks.reg

Windows Registry Editor Version 5.00

; Empêche le démarrage de la fenêtre pour le choix du Navigateur
; provoqué par la mise à jour KB976002 et supprime le raccourci sur le Bureau

[HKEY_LOCAL_MACHINE\SOFTWARE\BrowserChoice]
"Shortcut"=dword:00000000
"Enable"=dword:00000000


Enjoy!

*Edit: the correct value for the reg file with reg.exe is with my example above:

RegistryTweaks.reg

Quote

Windows Registry Editor Version 5.00

; Supprime l'affichage du choix du Navigateur et le raccourci sur le Buraeu
[HKEY_LOCAL_MACHINE\WIM_Software\BrowserChoice]
"Enable"=dword:00000000
"Shortcut"=dword:00000000

This post has been edited by myselfidem: 15 January 2011 - 05:53 AM


#92 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 11 January 2011 - 05:41 AM

Thanks a lot myselfidem and maxXPsoft
I'll give a try later
Regards

#93 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 January 2011 - 12:41 AM

Hello coucou! :rolleyes:
I' don't know why my last example worked, but when I've tried a new time I haven't no success!!
Because the reg file isn't correct with reg.exe!
About KB976002 (Browser choice for European countries), the correct reg file for my example above is:

RegistryTweaks.reg

Windows Registry Editor Version 5.00

; Supprime l'affichage du choix du Navigateur et le raccourci sur le Bureau
[HKEY_LOCAL_MACHINE\WIM_Software\BrowserChoice]
"Enable"=dword:00000000
"Shortcut"=dword:00000000


And the batch file is the same, but you need adapt the paths and the image number (index) to your needs.

RegHive.cmd

@echo off
Color 0A
echo.
"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Mount-Wim /Wimfile:"C:\Win7\sources\install.wim" /index:1 /MountDir:"C:\work"
echo.
pause
echo.
reg.exe load HKLM\WIM_Default "C:\work\Users\Default\NTUSER.DAT"
reg.exe load HKLM\WIM_Software "C:\work\Windows\System32\config\SOFTWARE"
reg.exe load HKLM\WIM_System "C:\work\Windows\System32\config\SYSTEM"
echo.
pause
echo.
reg.exe import "C:\DISM_Temp\RegistryTweaks.reg"
echo.
pause
echo.
reg.exe unload HKLM\WIM_Default
reg.exe unload HKLM\WIM_Software
reg.exe unload HKLM\WIM_System
echo.
pause
echo.
"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Unmount-Wim /MountDir:"C:\work" /Commit
pause


Now that working really fine!
I've updated my last post.

Regards

*Edit: I've made a little French layout:
Editer le registre dans une image WIM

This post has been edited by myselfidem: 16 January 2011 - 01:08 PM


#94 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 17 January 2011 - 08:09 AM

About the batch "Reg_Hive.cmd" you can improve like this:

Reg_Hive.cmd
@echo off
Color 0A
echo.
"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Mount-Wim /Wimfile:"C:\Se7en\sources\install.wim" /index:1 /MountDir:"C:\work"
echo.
choice /t 5 /c on /cs /d o > nul
echo.
reg.exe load HKLM\WIM_Default "C:\work\Users\Default\NTUSER.DAT"
reg.exe load HKLM\WIM_Software "C:\work\Windows\System32\config\SOFTWARE"
reg.exe load HKLM\WIM_System "C:\work\Windows\System32\config\SYSTEM"
echo.
choice /t 5 /c on /cs /d o > nul
echo.
reg.exe import "C:\DISM_Temp\Services.reg"
echo.
choice /t 5 /c on /cs /d o > nul
echo.
reg.exe import "C:\DISM_Temp\RegistryTweaks.reg"
echo.
reg.exe unload HKLM\WIM_Default
reg.exe unload HKLM\WIM_Software
reg.exe unload HKLM\WIM_System
echo.
choice /t 5 /c on /cs /d o > nul
echo.
"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Unmount-Wim /MountDir:"C:\work" /Commit
echo.
echo ==Appuyez sur n'importe qu'elle touche pour quitter==&pause>nul


Using:
choice /t 5 /c on /cs /d o > nul

You don't need to wait and use "Enter" to go to the next step!
Set the time you want wait, /t 10 (seconds)

Cheers!

This post has been edited by myselfidem: 17 January 2011 - 08:09 AM


#95 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 18 January 2011 - 08:01 AM

TNX again myselfidem,

BTW, this may interseting you

CDVD-Switcher Windows 7 as well as the newest programs are GB sized, more than one DVD needed for an unattended installation. CDVD-Switcher enbable ejct/insert DVD during windows installation.

Quick Launch Enable Automatic Tool is MultiLangual (English/French) Quick Launch toolbar enabler.

Regards

#96 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 18 January 2011 - 08:08 AM

Hello,

I'm looking for how to install Office 2010 from my Windows7 DVD when the path is DVD:\Office2010 (see image bellow)
Do the following Autounattend.xml command is correct?
           <FirstLogonCommands> 
                <SynchronousCommand wcm:action="add"> 
                  <Order>1</Order> 
                  <Description>Office 2010</Description> 
                  <CommandLine>cmd /C start /wait %CDROM%\Office2010\office14.exe</CommandLine> 
                </SynchronousCommand> 
           </FirstLogonCommands> 

Regards

Posted Image

#97 User is offline   yngdiego 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 24-April 08

Posted 18 January 2011 - 10:39 PM

I keep getting "windows could not parse or process the unattended answer file for pass [specialize]. The settings specified in the answer file cannot be applied. The error was detected while processing settings for the component [Microsoft-Windows-Deployment].

The section is below, and validates perfectly with WAIK 2.0. What's broke?


<component name="Microsoft-Windows-Deployment" 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">
<RunAsynchronous>
<RunAsynchronousCommand wcm:action="add">
<Description>Enable Admin</Description>
<Order>1</Order>
<Path>cmd /c net user administrator /active:yes</Path>
</RunAsynchronousCommand>
<RunAsynchronousCommand wcm:action="add">
<Order>2</Order>
<Description>Update hosts file</Description>
<Path>echo 127.0.0.1 crl.microsoft.com &gt;&gt; c:\windows\systerm32\drivers\etc\hosts</Path>
</RunAsynchronousCommand>
<RunAsynchronousCommand wcm:action="add">
<Order>3</Order>
<Path>powershell set-executionpolicy remotesigned</Path>
<Description>Config powershell</Description>
</RunAsynchronousCommand>
<RunAsynchronousCommand wcm:action="add">
<Order>4</Order>
<Path>mkdir c:\windows\setup\scripts</Path>
<Description>make directory</Description>
</RunAsynchronousCommand>
<RunAsynchronousCommand wcm:action="add">
<Order>5</Order>
<Path>cmd /c reg add &quot;HKLM\System\CurrentControlSet\Control\Terminal Server&quot; /v fDenyTSConnections /t REG_DWORD /d 0 /f</Path>
<Description>Enable remote desktop</Description>
</RunAsynchronousCommand>
</RunAsynchronous>
</component>

#98 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,752
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 January 2011 - 07:08 AM

@yngdiego
WAIK is not the best friend thing, been there done that
1. I don't think the echo for hosts will work like that I mean you need redirect >
Far as that goes do you realize you can add $OEM$ folders to your dvd? They are added uaDVD\sources\$OEM$ and you can add the Hosts file and do a lot of stuff you are trying to do.
$OEM$
  $$     <<- C:\Windows       $$\Web\Wallpaper     <<- Wallpapers here
      Setup\Scripts     <<- setupcomplete.cmd
      System32     <<- $$\System32\OEM     <<- OEM *.xrm-ms + valid Product Key
  $1     <<- Drive Root
      Drivers     <<-  where some OEM place driver files
      Install       <<- where I place most things and call from there. EX:   %SystemRoot%\Install\Firstlog.cmd


@coucou I run Office Enterprise 2007 with Runonceex cmds with all Updates added to Updates folder with an xml. I can't find link right now but it is here on Msfn. Look for the /config custom-uA.XML
CMD /C Start /Wait %SystemDrive%\APPS\MS_Office_Enterprise_2007\setup.exe /config custom-uA.XML

This post has been edited by maxXPsoft: 19 January 2011 - 07:09 AM


#99 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 19 January 2011 - 11:28 AM

View Postcoucou, on 18 January 2011 - 08:08 AM, said:

Hello,

I'm looking for how to install Office 2010 from my Windows7 DVD when the path is DVD:\Office2010 (see image bellow)
Do the following Autounattend.xml command is correct?
           <FirstLogonCommands> 
                <SynchronousCommand wcm:action="add"> 
                  <Order>1</Order> 
                  <Description>Office 2010</Description> 
                  <CommandLine>cmd /C start /wait %CDROM%\Office2010\office14.exe</CommandLine> 
                </SynchronousCommand> 
           </FirstLogonCommands> 

Regards

Posted Image

Nobody can help?
I reformulate my questions.
To install a program during windows installation, we copy that program (for exapmle) to DVD\sources\$OEM$ \$1\Install\ or DVD\sources\$OEM$\$$\Setup\scripts\. Then during Windows7 installation, our program it copied to c:\Install or to c:\Windows\Setup\scripts\.. and called by <FirstLogonCommands> <SynchronousCommand >.
My question is, if i do not place my rogram in the DVD\sources\$OEM$\ path, what would be the call command to install it straight on from the DVD?

Regards

#100 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,752
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 January 2011 - 05:35 PM

http://www.msfn.org/...post__p__780089
to find the cdrom variable look there. That has been posted so many times
you would run it as <Order>1</Order>

Share this topic:


  • 25 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy