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

Install applications... SP1

- - - - -

  • Please log in to reply
29 replies to this topic

#1
zedox

zedox

    XPize Darkside Author

  • Member
  • PipPipPipPipPip
  • 708 posts
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?


Download XPize Darkside 2.1 here!

Posted Image



How to remove advertisement from MSFN

#2
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,761 posts
  • OS:Windows 7 x64
  • Country: Country Flag
The answer files are identical. Are you sure its not a problem with your integrated source?

#3
sp00f

sp00f

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 733 posts

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
ajua

ajua

    Custom Installer Maker

  • Member
  • PipPipPipPipPipPip
  • 1,261 posts
Make a new one using the latest WAIK

Custom Installers for your unattended needs.


#5
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,305 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I have followed this guide and same problem, after audit it gives me error

#6
zedox

zedox

    XPize Darkside Author

  • Member
  • PipPipPipPipPip
  • 708 posts
That's the guide I used! :(


Download XPize Darkside 2.1 here!

Posted Image


#7
SonyXP

SonyXP

    Newbie

  • Member
  • 12 posts
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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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 :)

Edited by SonyXP, 16 June 2008 - 12:41 PM.


#8
oskingen

oskingen

    MSFN Friend

  • Member
  • PipPipPipPip
  • 613 posts
  • OS:none specified
  • Country: Country Flag
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

Edited by hannubys, 16 June 2008 - 04:07 PM.


#9
SonyXP

SonyXP

    Newbie

  • Member
  • 12 posts
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

Edited by SonyXP, 16 June 2008 - 03:48 PM.


#10
oskingen

oskingen

    MSFN Friend

  • Member
  • PipPipPipPip
  • 613 posts
  • OS:none specified
  • Country: Country Flag
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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<Help_Page>http://www.google.co...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.co...age}</ScopeUrl>
</Scope>
<Scope wcm:action="add">
<ScopeDisplayName>IMDb Search</ScopeDisplayName>
<ScopeKey>IMDB</ScopeKey>
<ScopeUrl>http://www.imdb.com/...rms}</ScopeUrl>
</Scope>
<Scope wcm:action="add">
<ScopeDisplayName>Technet</ScopeDisplayName>
<ScopeKey>Technet</ScopeKey>
<ScopeUrl>http://www.microsoft...1033</ScopeUrl>
</Scope>
<Scope wcm:action="add">
<ScopeDisplayName>MSDN</ScopeDisplayName>
<ScopeKey>MSDN</ScopeKey>
<ScopeUrl>http://search.msdn.m...rms}</ScopeUrl>
</Scope>
<Scope wcm:action="add">
<ScopeDisplayName>Wikipedia</ScopeDisplayName>
<ScopeKey>Wikipedia</ScopeKey>
<ScopeUrl>http://en.wikipedia....rms}</ScopeUrl>
</Scope>
</SearchScopes>
</component>
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<DisableSR>1</DisableSR>
</component>
<component name="Security-Malware-Windows-Defender" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<CEIPEnabled>0</CEIPEnabled>
</component>
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<DisableWER>1</DisableWER>
</component>
<component name="Microsoft-Windows-RemoteAssistance-Exe" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<fAllowToGetHelp>false</fAllowToGetHelp>
</component>
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-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
SonyXP

SonyXP

    Newbie

  • Member
  • 12 posts
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
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,305 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Heeeeeeeeeey thnx hannubys, now I kow how to add search plugins to IE :D

#13
oskingen

oskingen

    MSFN Friend

  • Member
  • PipPipPipPip
  • 613 posts
  • OS:none specified
  • Country: Country Flag

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

:thumbup :thumbup :thumbup

#14
SonyXP

SonyXP

    Newbie

  • Member
  • 12 posts
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
oskingen

oskingen

    MSFN Friend

  • Member
  • PipPipPipPip
  • 613 posts
  • OS:none specified
  • Country: Country Flag

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
SonyXP

SonyXP

    Newbie

  • Member
  • 12 posts
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 Files


Edited by SonyXP, 18 June 2008 - 12:54 PM.


#17
Minus30

Minus30

    Newbie

  • Member
  • 13 posts
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
teemue

teemue

    Newbie

  • Member
  • 30 posts
Thanks to SonyXP!

#19
zedox

zedox

    XPize Darkside Author

  • Member
  • PipPipPipPipPip
  • 708 posts
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


Download XPize Darkside 2.1 here!

Posted Image


#20
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,305 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Why use the unattended.xml cant autounattended.xml do all this?

#21
zedox

zedox

    XPize Darkside Author

  • Member
  • PipPipPipPipPip
  • 708 posts
@ricketendo64

Are you using just autounattend.xml on SP1?
Does it install applications ok?
Can you post your config?

Thanks :)


Download XPize Darkside 2.1 here!

Posted Image


#22
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,887 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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

Yes it can. :))
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

#23
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,305 posts
  • OS:Windows 7 x64
  • Country: Country Flag
No, I have not found hot to use autounattended.xml to install my apps yet, I was just wondering why we needed to use both auto+unattened.xml

#24
g4xl20

g4xl20
  • Member
  • 1 posts
what Answer this problem ?

http://img57.imagesh...vistax64kk2.jpg

Edited by g4xl20, 06 August 2008 - 10:51 PM.


#25
Raspro

Raspro
  • Member
  • 9 posts

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


I did use that:
<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /generalize /oobe /reboot /unattend:%DVDRoot%\autounattend2.xml</Path>,
But never finish the install.It goes Forever...

Why is it not working for me?

Regards

Those here are my XML's:

Attached Files


Edited by Raspro, 11 August 2008 - 06:46 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN