Jump to content

SonyXP

Member
  • Posts

    12
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

About SonyXP

SonyXP's Achievements

0

Reputation

  1. I can confirm an error aswell when trying to slipstream SP1 RC1 (Wave1). It just aborts in the middle of the "Preparing" process (around 16-17%, just when "integrating seems to start") RT Seven Lite used: 2.4.0 Beta Host OS used: Win7 Home Premium 64Bit German (RT7Lited version) OS to be 7lited: Win7 Home Premium 64 Bit German
  2. Hello Thinkster I am sorry for the late reply, real life got me busy there. My solution is working as stated in my previous post. I am using 2 XML files. One's called "Autounatted.xml" and goes naturally to the DVD's root folder. The 2nd one's called "Unattend.xml" and I have put it into a folder called "Install". Autounattend.xml comes along with the normal stuff you want to be automated but has an empty OOBE pass, besides one command: <Reseal> <Mode>Audit</Mode> </Reseal> If you would add more code to the OOBE pass in Autounnattend.xml, it will just be ignored, because this method to enter Audit Mode will leave the OOBE pass immeadiately (skipping everything in line). Hence, we call OOBE again, in a 2ndary Unattend.xml file You see, in the OOBE pass (basicly when main installation is done),audit mode is told to boot up. Right after, we tell the built-in admin account to autologin (not visible to the user during installation), in "audit-system" pass. <AutoLogon> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>Administrator</Username> </AutoLogon> Finally the "audit-user" pass is our target to put down all our scripts & installations we want to run. When done, it shall quit Audit Mode like : <RunSynchronousCommand wcm:action="add"> <Order>20</Order> <Path>%WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xml</Path> </RunSynchronousCommand> which calls and starts the 2nd file "Unattend.xml". In there I am using the specialize pass, to setup things like <TimeZone>W. Europe Standard Time</TimeZone> <ProductKey>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</ProductKey> <ComputerName>MyPC</ComputerName> <CopyProfile>true</CopyProfile> <-- *** <RegisteredOrganization>-</RegisteredOrganization> <RegisteredOwner>-</RegisteredOwner> *** most important line. This will copy everything that has been done (registry changes and whatnot) during Audit Mode / Admin login into the "default user", which then will serve as template for every additional user you create during setup. As mentioned before, we have to swap the OOBE to the Unattend.xml (the 2nd file), because the first time it was skipped to boot into audit-mode. I for once, create my standard user in there (e.g. Sony) and have a script running upon first logon (to clean up the temp folders and whatnot, after installation) <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <TimeZone>W. Europe Standard Time</TimeZone> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Group>Administrators</Group> <Name>Sony</Name> <DisplayName>Sony</DisplayName> <Password> <Value>mypassword</Value> <PlainText>false</PlainText> </Password> </LocalAccount> </LocalAccounts> </UserAccounts> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <CommandLine>%AppsRoot%\Install\CleanUp.cmd</CommandLine> </SynchronousCommand> </FirstLogonCommands> I am in a hurry once again, writing this, but I do hope, I could clarify this a wee bit Have a nice weekend ! Greetings Sony
  3. Hey mate, thanks for you reply I will try your method alternatively (for testing). I managed to get my solution finally working. The Most important part is in the codebox. - Calling Audit mode in OOBE pass (the old fashioned way to do so in specialize pass throws errors since SP1) - Admin account does auto-login in and calls my "install.cmd" (which imports (reg import) my tweaks and does other funky stuff) - Quitting audit-mode with the additional flag "generalize" <-- This was needed to make it work In addtion, I am using a 2nd file "unattend.xml" where OOBE settings (Audit / Reseal mode in Autounattend.xml will skip everything else in OOBE) and most important, the "CopyProfile" command is set (in specialze pass). <settings pass="oobeSystem"> <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"> <Reseal> <Mode>Audit</Mode> </Reseal> </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\Install.cmd</Path> <Description>Installiere Anwendungen & Registry Settings</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>20</Order> <Path>%WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xml</Path> <Description>Audit-Mode beenden & OOBE starten</Description> </RunSynchronousCommand> </RunSynchronous> </component> </settings>
  4. This is something I'd like to know aswell. In numerous topics accross the internet, I read about using the "copyprofile". E.g. : http://technet2.microsoft.com/WindowsVista...3.mspx?mfr=true I am not able to test this yet (not at home for a while and typing from work , yet I'd love to have some info in beforehand, to start with adding the code to my existing Autounattend.xml right away. For better understanding: During Vista Setup, I'd love to auto-login with the administrator account, import a file like "mySettings.reg" with some personal settings (slim startmenu etc) and have this user profile copied over to "Default User", as a template for every new user created further on. Basicly Thinkster and me are on the same boat In case this can be done all within one go (inside Autounattend.xml, during Setup) - Would anyone having a clue bring some light into this and post in which pass / order and command you have to work this out ? Kind regards Sony P.S: I have used the search function already, but so far, I could not find a working solution yet (or did not realise a working one, due to limited knowledge about this matter)
  5. Hey folks I already successfully managed to get an unattended method, installing my applications by using the audit mode. However, I'd love to try out to run installation scripts by using "<FirstlogonCommands>" aswell For some reason, commands listed under <FirstlogonCommands> don't seem to be executed, when I login with user "Sony" the 1st time. Below is my AutoUnattend.xml. Would you mind givin it a shot ? Maybe some experienced user finds an error I got in there. As you can see, I'd like to have it run the C:\install\install.cmd script (I already tried replacing "c:" with %systemdrive%, no go either), which is copied over from the dvd ($oem$\$1\MyFolders) during setup (working properly). But for some reason it just ain't executed. <?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>xxxxx-xxxxx-xxxxx-xxxxx</Key> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>Sony</FullName> <Organization>-</Organization> </UserData> <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> <UseConfigurationSet>true</UseConfigurationSet> </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-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"> <TimeZone>W. Europe Standard Time</TimeZone> <ProductKey>xxxxx-xxxxx-xxxxx-xxxxx</ProductKey> <ComputerName>SonyOne</ComputerName> <CopyProfile>true</CopyProfile> <RegisteredOrganization>-</RegisteredOrganization> <RegisteredOwner>-</RegisteredOwner> </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>de-DE</UILanguage> <UserLocale>de-DE</UserLocale> <SystemLocale>de-DE</SystemLocale> <InputLocale>0407:00000407</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"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <TimeZone>W. Europe Standard Time</TimeZone> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Group>Administrators</Group> <Name>Sony</Name> <DisplayName>Sony</DisplayName> <Password> <Value>mypassword</Value> <PlainText>false</PlainText> </Password> </LocalAccount> </LocalAccounts> </UserAccounts> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <CommandLine>c:\install\install.cmd</CommandLine> </SynchronousCommand> </FirstLogonCommands> </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> <cpi:offlineImage cpi:source="wim:d:/vlitework/sources/install.wim#Windows Vista HOMEPREMIUM" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> Thanks to everyone in advance Regards Sony Update: Nevermind. I added a "pause" into the script. Actually it was executed, but gave an error inside and closed immediately. Way too fast for the eye to capture. Nevertheless, I will stick to this thread should I run into problems again
  6. Here I am 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 Autounattend.xml Unattend.xml
  7. 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
  8. 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 ^^
  9. That's exactly what I am looking for atm I tried the $oem$ method on WinXP (RunOnceEx), worked flawlessly. However, in Vista, I could not get it to work. Do you (or anyone else) have a sample Autounattend.xml showing how to deal that (how to install let's say "firefox" during Vista Setup ?) with Vista SP1 ? It worked for me using the normal Vista RTM, but as y'all found out, with SP1 there's some probs. Update: I finally got it to work. Thanks to hannubys and exhaler http://www.msfn.org/board/Install-applicat...tml#entry773690
  10. Hello everyone I am new "creating" an unattended setup XML file. As you, I came accross the problems discussed in here. Could one of you elaborate this technique behind "using 2 unattend.xml files" ? Which passes have to be entered into each of them / how to seperate / split up "the one" file I have now? Every reply is much appreciated
  11. 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
  12. 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
×
×
  • Create New...