MSFN Forum: Install applications... SP1 - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Install applications... SP1 Rate Topic: -----

#1 User is offline   zedox 

  • XPize Darkside Author
  • PipPipPipPipPip
  • Group: Members
  • Posts: 708
  • Joined: 25-August 05

Posted 05 June 2008 - 06:42 AM

I had a perfect autounattend.xml that worked with my previous installation (before slipstreamed sp1) but now it fails.

Does anyone have a template that works with sp1?


#2 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,693
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 June 2008 - 02:12 PM

The answer files are identical. Are you sure its not a problem with your integrated source?

#3 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 08 June 2008 - 06:53 PM

View Postzedox, on Jun 5 2008, 02:42 PM, said:

I had a perfect autounattend.xml that worked with my previous installation (before slipstreamed sp1) but now it fails.

Does anyone have a template that works with sp1?

Make a new xml, and it will work fine.

#4 User is offline   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 08 June 2008 - 11:42 PM

Make a new one using the latest WAIK

#5 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,230
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 June 2008 - 09:12 AM

I have followed this guide and same problem, after audit it gives me error

#6 User is offline   zedox 

  • XPize Darkside Author
  • PipPipPipPipPip
  • Group: Members
  • Posts: 708
  • Joined: 25-August 05

Posted 09 June 2008 - 10:05 AM

That's the guide I used! :(

#7 User is offline   SonyXP 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 16-June 08

Posted 16 June 2008 - 09:49 AM

First of all - Hello everyone :)

I am having exactly the same problem. Whatever DVD Image I use (Vista / Vista SP1 / VLited Vista with SP1),
I cannot get applications to be installed automatically, using 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">
            <UILanguage>de-DE</UILanguage>
            <UserLocale>de-DE</UserLocale>
            <SystemLocale>de-DE</SystemLocale>
            <InputLocale>0407:00000407</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">
            <UserData>
                <ProductKey>
                    <WillShowUI>OnError</WillShowUI>
                    <Key>removed</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>Sony</FullName>
                <Organization>Sony</Organization>
            </UserData>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1280</HorizontalResolution>
                <VerticalResolution>1024</VerticalResolution>
            </Display>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows Vista HOMEPREMIUM</Value>
                        </MetaData>
                    </InstallFrom>
                    <WillShowUI>OnError</WillShowUI>
                    <InstallToAvailablePartition>false</InstallToAvailablePartition>
                </OSImage>
            </ImageInstall>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Security-Licensing-SLC-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-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">
            <RunSynchronous>
                <RunSynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>2</Order>
                    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <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">
            <AutoLogon>
                <Enabled>true</Enabled>
                <LogonCount>2</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <TimeZone>W. Europe Standard Time</TimeZone>
        </component>
    </settings>
    <settings pass="auditSystem">
        <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">
            <AutoLogon>
                <Enabled>true</Enabled>
                <LogonCount>5</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
        </component>
    </settings>
    <settings pass="auditUser">
        <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">
            <RunSynchronous>
                <RunSynchronousCommand wcm:action="add">
                    <Order>10</Order>
                    <Path>cmd /c %AppsRoot%\Install\Firefox\firefoxsetup.exe -ms</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>20</Order>
                    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:f:/pc.software/windows%20vista%2032bit%20home%20premium%20sp1/sources/install.wim#Windows Vista HOMEPREMIUM" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

 


The installation prozess runs fine, until it reaches the last step - finishing the installation. Sometimes, an error window occurs saying something like ".... cannot initialize interactive login window / procedure" (trying to translate it out of german), quitting everything. The other amount of tries, the system just reboots at that point, instantly. As test example, I try to get Firefox autoinstalled, during the setup process. When I only use all lines concerning "language, country, serial, EULA etc", the whole thing works just fine.

The file is created by copy & paste and I added the Firefox installation part in WAIK (newest for Vista SP1 / Server 2008). Does anyone see a problem in the xml, or has an example code snippet / xml file of "how to successfully have program x installed during windows setup ?" I read many guides, yet I cannot figure out why this is failing.

Thanks a lot in advance
Greetings from germany

/Sony :)

This post has been edited by SonyXP: 16 June 2008 - 12:41 PM


#8 User is offline   oskingen 

  • MSFN Friend
  • PipPipPipPip
  • Group: Members
  • Posts: 613
  • Joined: 20-January 08
  • OS:none specified
  • Country: Country Flag

Posted 16 June 2008 - 03:22 PM

I have the same problem, I have followed the guide but it seems it doesn't work with the vista sp1 from msdn (don't know for oem). I made a lot of tests because first i thought it was my file but i saw on the net that this procedure do not work with sp1. Everytime i tried when i reach the completing installation step... i got an error that appear very fast so i cannot read it and the computer turn off itself.

I made the followings modifications in the Autounattend file:
Microsoft-Windows-Deployment\Reseal [ ForceShutdownNow = false | Mode = Audit ] in oobeSystem

instead of this command
 %WINDIR%\system32\sysprep\sysprep.exe /quiet /audit
in Synchronous Command to Pass 4 specialize because this cause my computer to turn off during setup

then in AuditSystem pass, insert
Windows-Shell-Setup\Autologon
for the Administrator also
Windows-Shell-Setup\UserAccounts\AdministratorPassword
in the AuditSystem pass with the same password if set.

I didn't finish my test but like this my installation didn't get error. The only problem i had was to manually select my input local, recommend setting...at the end of the installation even if it was already in the xml file.
I need to find a way out

This post has been edited by hannubys: 16 June 2008 - 04:07 PM


#9 User is offline   SonyXP 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 16-June 08

Posted 16 June 2008 - 03:27 PM

Hey,

nice to see a reply on this matter.

Mate, would you mind to post your full AutoUnattend.xml (without sensitive information like serial etc of course ;) )
in a codebox, so I can do some comparison to mine, for a better understanding ?

Thanks in advance :D

This post has been edited by SonyXP: 16 June 2008 - 03:48 PM


#10 User is offline   oskingen 

  • MSFN Friend
  • PipPipPipPip
  • Group: Members
  • Posts: 613
  • Joined: 20-January 08
  • OS:none specified
  • Country: Country Flag

Posted 16 June 2008 - 04:16 PM

here is my file:
 
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
	<servicing></servicing>
	<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>040c:0000040c</InputLocale>
			<UserLocale>en-US</UserLocale>
			<UILanguage>en-US</UILanguage>
			<SystemLocale>en-US</SystemLocale>
		</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">
			<Display>
				<ColorDepth>32</ColorDepth>
				<HorizontalResolution>1680</HorizontalResolution>
				<VerticalResolution>1050</VerticalResolution>
			</Display>
			<UserData>
				<ProductKey>
					<WillShowUI>OnError</WillShowUI>
					<Key>xxxxxxxxxxxxxx</Key>
				</ProductKey>
				<AcceptEula>true</AcceptEula>
				<FullName>kiefer</FullName>
				<Organization>kiefer</Organization>
			</UserData>
			<ImageInstall>
				<OSImage>
					<InstallFrom>
						<MetaData wcm:action="add">
							<Value>Windows Vista BUSINESS</Value>
							<Key>/IMAGE/NAME</Key>
						</MetaData>
					</InstallFrom>
					<InstallToAvailablePartition>false</InstallToAvailablePartition>
					<WillShowUI>OnError</WillShowUI>
					<InstallTo>
						<DiskID>0</DiskID>
						<PartitionID>1</PartitionID>
					</InstallTo>
				</OSImage>
			</ImageInstall>
		</component>
	</settings>
	<settings pass="oobeSystem">
		<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">
			<OOBE>
				<HideEULAPage>true</HideEULAPage>
				<NetworkLocation>Work</NetworkLocation>
				<ProtectYourPC>1</ProtectYourPC>
				<SkipMachineOOBE>true</SkipMachineOOBE>
				<SkipUserOOBE>true</SkipUserOOBE>
			</OOBE>
			<TimeZone>Eastern Standard Time</TimeZone>
			<Display>
				<ColorDepth>32</ColorDepth>
				<HorizontalResolution>1680</HorizontalResolution>
				<VerticalResolution>1050</VerticalResolution>
				<DPI>96</DPI>
			</Display>
			<UserAccounts>
				<LocalAccounts>
					<LocalAccount wcm:action="add">
						<Password>
							<Value>agBlAHQAYQBpAG0AZQBQAGEAcwBzAHcAbwByAGQA</Value>
							<PlainText>false</PlainText>
						</Password>
						<Group>Administrators</Group>
						<Name>xxxx</Name>
						<DisplayName>xxxx</DisplayName>
					</LocalAccount>
				</LocalAccounts>
			</UserAccounts>
			<VisualEffects>
				<FontSmoothing>ClearType</FontSmoothing>
			</VisualEffects>
		</component>
		<component name="Microsoft-Windows-Sidebar" 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">
			<SidebarOnByDefault>false</SidebarOnByDefault>
			<SidebarVisible>false</SidebarVisible>
		</component>
		<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">
			<InputLocale>040c:0000040c</InputLocale>
			<UserLocale>en-US</UserLocale>
			<UILanguage>en-US</UILanguage>
			<SystemLocale>en-US</SystemLocale>
		</component>
		<component name="Microsoft-Windows-Deployment" 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">
			<Reseal>
				<Mode>Audit</Mode>
			</Reseal>
		</component>
	</settings>
	<settings pass="specialize">
		<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>f4005</ComputerName>
			<ShowWindowsLive>false</ShowWindowsLive>
			<Display>
				<ColorDepth>32</ColorDepth>
				<HorizontalResolution>1680</HorizontalResolution>
				<VerticalResolution>1050</VerticalResolution>
				<DPI>96</DPI>
			</Display>
			<TimeZone>Eastern Standard Time</TimeZone>
		</component>
		<component name="Microsoft-Windows-Security-Licensing-SLC-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-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">
			<Help_Page>http://www.google.com</Help_Page>
			<Home_Page>about:blank</Home_Page>
			<BlockPopups>yes</BlockPopups>
			<ShowInformationBar>true</ShowInformationBar>
			<PlaySound>true</PlaySound>
			<SearchScopes>
				<Scope wcm:action="add">
					<ScopeDisplayName>Google.com</ScopeDisplayName>
					<ScopeKey>Google</ScopeKey>
					<ScopeDefault>true</ScopeDefault>
					<ScopeUrl>http://www.google.com/search?q={searchTerms}&amp;rls=com.microsoft:{language}&amp;ie={inputEncoding}&amp;oe={outputEncoding}&amp;startIndex={startIndex?}&amp;startPage={startPage}</ScopeUrl>
				</Scope>
				<Scope wcm:action="add">
					<ScopeDisplayName>IMDb Search</ScopeDisplayName>
					<ScopeKey>IMDB</ScopeKey>
					<ScopeUrl>http://www.imdb.com/find?q={searchTerms}</ScopeUrl>
				</Scope>
				<Scope wcm:action="add">
					<ScopeDisplayName>Technet</ScopeDisplayName>
					<ScopeKey>Technet</ScopeKey>
					<ScopeUrl>http://www.microsoft.com/technet/support/ee/SearchResults.aspx?Type=1&amp;ID={searchTerms}&amp;Language=1033</ScopeUrl>
				</Scope>
				<Scope wcm:action="add">
					<ScopeDisplayName>MSDN</ScopeDisplayName>
					<ScopeKey>MSDN</ScopeKey>
					<ScopeUrl>http://search.msdn.microsoft.com/search/default.aspx?siteId=0&amp;tab=0&amp;query={searchTerms}</ScopeUrl>
				</Scope>
				<Scope wcm:action="add">
					<ScopeDisplayName>Wikipedia</ScopeDisplayName>
					<ScopeKey>Wikipedia</ScopeKey>
					<ScopeUrl>http://en.wikipedia.org/wiki/Special:Search?search={searchTerms}</ScopeUrl>
				</Scope>
			</SearchScopes>
		</component>
		<component name="Microsoft-Windows-SystemRestore-Main" 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">
			<DisableSR>1</DisableSR>
		</component>
		<component name="Security-Malware-Windows-Defender" 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">
			<DisableAntiSpyware>true</DisableAntiSpyware>
		</component>
		<component name="Microsoft-Windows-SQMApi" 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">
			<CEIPEnabled>0</CEIPEnabled>
		</component>
		<component name="Microsoft-Windows-ErrorReportingCore" 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">
			<DisableWER>1</DisableWER>
		</component>
		<component name="Microsoft-Windows-RemoteAssistance-Exe" 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">
			<fAllowToGetHelp>false</fAllowToGetHelp>
		</component>
		<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" 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">
			<fDenyTSConnections>false</fDenyTSConnections>
		</component>
		<component name="Microsoft-Windows-Deployment" 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">
			<RunSynchronous>
				<RunSynchronousCommand wcm:action="add">
					<Description>Disable UAC</Description>
					<Order>1</Order>
					<Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f</Path>
				</RunSynchronousCommand>
				<RunSynchronousCommand wcm:action="add">
					<Description>Remove Security Center Icon</Description>
					<Order>2</Order>
					<Path>cmd /c reg delete &quot;HKCR\CLSID\{FD6905CE-952F-41F1-9A6F-135D9C6622CC}&quot; /f</Path>
				</RunSynchronousCommand>
				<RunSynchronousCommand wcm:action="add">
					<Order>3</Order>
					<Path>cmd /c &quot;FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m&quot;</Path>
				</RunSynchronousCommand>
			</RunSynchronous>
		</component>
		<component name="Networking-MPSSVC-Svc" 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">
			<FirewallGroups>
				<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
					<Active>true</Active>
					<Group>Remote Desktop</Group>
					<Profile>all</Profile>
				</FirewallGroup>
			</FirewallGroups>
		</component>
	</settings>
	<settings pass="auditSystem">
		<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">
			<AutoLogon>
				<LogonCount>5</LogonCount>
				<Enabled>true</Enabled>
				<Username>Administrator</Username>
			</AutoLogon>
		</component>
	</settings>
	<settings pass="auditUser">
		<component name="Microsoft-Windows-Deployment" 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">
			<RunSynchronous>
				<RunSynchronousCommand wcm:action="add">
					<Order>10</Order>
					<Path>cmd /c %AppsRoot%\Install\Firefox\Firefox_Setup_2_0_0_2.exe -ms</Path>
				</RunSynchronousCommand>
				<RunSynchronousCommand wcm:action="add">
					<Order>20</Order>
					<Path>cmd /c REGEDIT /S %AppsRoot%\Install\Regtweaks.reg</Path>
				</RunSynchronousCommand>
																<RunSynchronousCommand wcm:action="add">
					<Order>30</Order>
					<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>
				</RunSynchronousCommand>
			</RunSynchronous>
		</component>
	</settings>
	<cpi:offlineImage cpi:source="wim:g:/msdnaa/vista/x64/dvd/sources/install.wim#Windows Vista BUSINESS" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend> 


#11 User is offline   SonyXP 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 16-June 08

Posted 16 June 2008 - 11:11 PM

Good morning :)

I tried your changes so far - I don't get an error message, but my applications aren't installing either :(
Wish this would be a tad bit easier, for an oldie like me :P ^^

#12 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,230
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 June 2008 - 08:25 AM

Heeeeeeeeeey thnx hannubys, now I kow how to add search plugins to IE :D

#13 User is offline   oskingen 

  • MSFN Friend
  • PipPipPipPip
  • Group: Members
  • Posts: 613
  • Joined: 20-January 08
  • OS:none specified
  • Country: Country Flag

Posted 17 June 2008 - 09:19 AM

View Postricktendo64, on Jun 17 2008, 10:25 AM, said:

Heeeeeeeeeey thnx hannubys, now I kow how to add search plugins to IE :D

:thumbup :thumbup :thumbup

#14 User is offline   SonyXP 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 16-June 08

Posted 17 June 2008 - 01:49 PM

I wanna thank you aswell mate, big time !

After some analysing of your file and additional info in another topic,
I finally understood the basics and structure of the unattend mechanism
and I finally made it to write my own, working one.

The rest now is just fine tuning / adding more funtionality to it.

Thanks once again :D

#15 User is offline   oskingen 

  • MSFN Friend
  • PipPipPipPip
  • Group: Members
  • Posts: 613
  • Joined: 20-January 08
  • OS:none specified
  • Country: Country Flag

Posted 17 June 2008 - 03:00 PM

View PostSonyXP, on Jun 17 2008, 03:49 PM, said:

I wanna thank you aswell mate, big time !

After some analysing of your file and additional info in another topic,
I finally understood the basics and structure of the unattend mechanism
and I finally made it to write my own, working one.

The rest now is just fine tuning / adding more funtionality to it.

Thanks once again :D

ok, after you finish it share with us

#16 User is offline   SonyXP 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 16-June 08

Posted 17 June 2008 - 04:17 PM

Here I am :D

Below I have attached my Unattend files. Thanks to Exhaler's (cheers mate) method of using two files for the routine,
it finally works as intended.

The AutoUnattend.xml finds itself in the root folder of the DVD. It contains:

- The WindowsPE pass with language and locale settings, name and organisation, the product key (1st time), accepts the EULA and picks my Vista version "Home Premium" (32Bit).
- The Specialize pass skipping auto activation and checking for the appsroot.txt (using the well known command)
- The OOBESystem pass to enter Audit Mode (by using Reseal - Thanks for that one Hannubys, that was the winning line ! )
- The AuditSystem pass for Administrator AutoLogin
- The AuditUser pass holding the arguments for numerous applications with "silent" command line switches (Firefox, Thunderbird and TotalCommander (packed with Winrar, SFX Archive (silent mode) )

The Unattend.xml goes to \install and contains:

- The OOBESystem pass to fill out user, system and country locales all again, the time zone, picks the network location, "ProtectYourPC" level, hides the EULA (again), fills in the serial (again, 2nd time) and creates a user "Sony" (with password).
- The Specialize pass for another time zone setting (maybe I can remove one of them, testing lateron)

The testing environment was virtual so far. I am using a vLited image (loads of stuff removed, SP1 slipstreamed aswell as all hotfixes and security updates "post" SP1. Also I included nForce chipset drivers) of Windows Vista SP1 x86 HomePremium. The installation was simulated in VirtualBox, a freeware VM by SUN. I got no errors so far and find myself on the logon screen with user "Sony" when everything is done. The initial login successfully loads up the desktop showing 3 links (Thunderbird, Firefox, TotalCommander), either of them working.

The only thing I actually have to do manually (on purpose) is to select the partition I want to install Vista onto, during the early setup. Exactly the way I always wanted to have this thing working.

Any feedback is much appreciated :)

Attached File(s)


This post has been edited by SonyXP: 18 June 2008 - 12:54 PM


#17 User is offline   Minus30 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 02-July 08

Posted 03 July 2008 - 01:33 AM

I have followed SonyXp's guide and it worked like a charm, for installing the apps that is. Now i get an annoying window at the first boot after installation (and if I don't respond it's persistent)

Anyone knows what I'm doing wrong? I'm fairly new at making Unattended Installations btw (my first one was 2 months ago at school, a windows XP)


Here is the window:
Posted Image


AutoUnattend.xml:

 
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing></servicing>
    <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>nl-NL</UILanguage>
                <WillShowUI>Never</WillShowUI>
            </SetupUILanguage>
            <InputLocale>0813:00000813</InputLocale>
            <SystemLocale>nl-NL</SystemLocale>
            <UILanguage>nl-NL</UILanguage>
            <UserLocale>nl-NL</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">
            <DiskConfiguration>
                <Disk wcm:action="add">
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                    <ModifyPartitions>
                        <ModifyPartition>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                            <Active>true</Active>
                            <Format>NTFS</Format>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Type>Primary</Type>
                            <Order>1</Order>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                </Disk>
            </DiskConfiguration>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <DynamicUpdate>
                <WillShowUI>Never</WillShowUI>
            </DynamicUpdate>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Value>Windows Vista ULTIMATE</Value>
                            <Key>IMAGE/NAME</Key>
                        </MetaData>
                    </InstallFrom>
                    <InstallToAvailablePartition>true</InstallToAvailablePartition>
                    <WillShowUI>Never</WillShowUI>
                </OSImage>
            </ImageInstall>
            <UpgradeData>
                <WillShowUI>Never</WillShowUI>
            </UpgradeData>
            <UserData>
                <ProductKey>
                    <WillShowUI>Never</WillShowUI>
                    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>Domien Van Rompaey</FullName>
            </UserData>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Security-Licensing-SLC-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-Deployment" 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">
            <RunSynchronous>
                <RunSynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <Path>cmd /c &quot;FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m&quot;</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Deployment" 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">
            <Reseal>
                <Mode>Audit</Mode>
            </Reseal>
        </component>
    </settings>
    <settings pass="auditSystem">
        <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">
            <AutoLogon>
                <Enabled>true</Enabled>
                <LogonCount>5</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
        </component>
    </settings>
    <settings pass="auditUser">
        <component name="Microsoft-Windows-Deployment" 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">
            <RunSynchronous>
                <RunSynchronousCommand wcm:action="add">
                    <Order>10</Order>
                    <Path>cmd /c %AppsRoot%\Install\OfficeReady\setup.exe /adminfile CUSTOM.MSP</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>20</Order>
                    <Path>cmd /c %AppsRoot%\Install\Firefox\Firefox-Setup-3-0.exe -ms</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>100</Order>
                    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xml</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>9</Order>
                    <Path>cmd /c &quot;FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m&quot;</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend> 



Unattend.xml:

 
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <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">
            <InputLocale>0813:00000813</InputLocale>
            <SystemLocale>nl-NL</SystemLocale>
            <UILanguage>nl-NL</UILanguage>
            <UserLocale>nl-NL</UserLocale>
        </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">
            <AutoLogon>
                <Enabled>true</Enabled>
                <LogonCount>5</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
                <DPI>96</DPI>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <RegisteredOrganization>Privé</RegisteredOrganization>
            <RegisteredOwner>Domien Van Rompaey</RegisteredOwner>
            <ShowWindowsLive>false</ShowWindowsLive>
            <TimeZone>Romance Standard Time</TimeZone>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend> 


#18 User is offline   teemue 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 18-December 06

Posted 16 July 2008 - 11:28 AM

Thanks to SonyXP!

#19 User is offline   zedox 

  • XPize Darkside Author
  • PipPipPipPipPip
  • Group: Members
  • Posts: 708
  • Joined: 25-August 05

Posted 28 July 2008 - 04:11 AM

Finally got myself some time to come back to this topic....

@teemue
try adding

%WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xml

instead of

%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xml

to autounattend.xml

#20 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,230
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2008 - 01:08 PM

Why use the unattended.xml cant autounattended.xml do all this?

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • 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