Jump to content

`Felix`

Member
  • Posts

    482
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Posts posted by `Felix`

  1. Spooky,

    I have an 8GB USB Flash stick with WinPE 2.0 and Vista RTM on it.

    What I do is put my Autounattend.xml at the root of the USB stick and I edit the Startnet.cmd so that I can change directory to my DVD source and run setup.exe automatically after Winpe is finished booting.

    Styxx, Can you provide complete instructions for this process please - i would be interested in testing this method.

  2. Sure, but one time I have an error when it's at root and now I keep it in sources ... I will re-organize my distribution folder at the end of unattend world of vista :P

    lol fair enough. The problem i have found though is that the autounattend.xml/unattend.xml is not working from the source on my RTM release. Further, if you have options specified in the <DiskConfiguration></DiskConfiguration> area and boot from the DVD these settings appear to be ignored, however if you have the autounattend.xml on a floppy/USB drive they work correctly.

  3. For me, I put unattend.xml and $oem$ in sources folders.

    - sources \ $oem$ \ $1 \ FileWillBeAtRoot.txt

    - sources \ autounattend.xml (with UseConfigurationSet tag)

    That works well here.

    Thanks sonic - that worked a treat, however you don't need to have the autounattend.xml in the source folder it can be in the root of the dvd or floppy or USB drive.

    Cheers!

  4. <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">
    <UseConfigurationSet>true</UseConfigurationSet>
    <DiskConfiguration>
    <Disk>
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    <CreatePartitions>
    <CreatePartition>
    <Order>1</Order>
    <Size>105000</Size>
    <Type>Primary</Type>
    </CreatePartition>
    <CreatePartition>
    <Extend>true</Extend>
    <Order>2</Order>
    <Type>Extended</Type>
    </CreatePartition>
    <CreatePartition>
    <Extend>true</Extend>
    <Order>3</Order>
    <Type>Logical</Type>
    <Size>65000</Size>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <ModifyPartition>
    <Format>NTFS</Format>
    <Label>Vista</Label>
    <Letter>C</Letter>
    <Order>1</Order>
    <PartitionID>1</PartitionID>
    <Active>true</Active>
    </ModifyPartition>
    <ModifyPartition>
    <Format>NTFS</Format>
    <Label>XP</Label>
    <Letter>D</Letter>
    <Order>2</Order>
    <PartitionID>2</PartitionID>
    </ModifyPartition>
    </ModifyPartitions>
    </Disk>
    </DiskConfiguration>

  5. Hi All,

    I have been trying to use the $OEM$ structure that has been commonly used with Windows XP etc with Windows Vista. I have checked the documentation and beleive that i have the correct configuration options enabled (see my autounattend.xml below) however when i complete the installation and check it the files i have put in the $OEM$ structure are not copied to the HDD installation. If you put this structure on a floppy or USB drive it seems to work, however the files are copied to %systemroot%\windows\configsetroot

    I would appreciate it if anyone can offer suggestions on how i can get this to work from the DVD. (Yes i know i can mount the install.wim and inject the files directly, however i would like to use the $OEM$ structure. (I am using the RTM release and WAIK RTM)

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SetupUILanguage>
    <UILanguage>en-us</UILanguage>
    </SetupUILanguage>
    <InputLocale>0C09:00000C09</InputLocale>
    <UILanguage>en-us</UILanguage>
    <SystemLocale>en-AU</SystemLocale>
    <UserLocale>en-AU</UserLocale>
    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <UseConfigurationSet>true</UseConfigurationSet>
    <DiskConfiguration>
    <Disk>
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    <CreatePartitions>
    <CreatePartition>
    <Order>1</Order>
    <Size>8000</Size>
    <Type>Primary</Type>
    </CreatePartition>
    <CreatePartition>
    <Extend>true</Extend>
    <Order>2</Order>
    <Type>Extended</Type>
    </CreatePartition>
    <CreatePartition>
    <Extend>true</Extend>
    <Order>3</Order>
    <Type>Logical</Type>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <ModifyPartition>
    <Format>NTFS</Format>
    <Label>Operating System</Label>
    <Letter>C</Letter>
    <Order>1</Order>
    <PartitionID>1</PartitionID>
    <Active>true</Active>
    </ModifyPartition>
    <ModifyPartition>
    <Format>NTFS</Format>
    <Label>User Data & Applications</Label>
    <Letter>D</Letter>
    <Order>2</Order>
    <PartitionID>2</PartitionID>
    </ModifyPartition>
    </ModifyPartitions>
    </Disk>
    </DiskConfiguration>
    <ImageInstall>
    <OSImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>1</PartitionID>
    </InstallTo>
    <WillShowUI>OnError</WillShowUI>
    </OSImage>
    </ImageInstall>
    <UserData>
    <ProductKey>
    <WillShowUI>OnError</WillShowUI>
    <Key>you know</Key>
    </ProductKey>
    <AcceptEula>true</AcceptEula>
    <FullName>Your Name</FullName>
    <Organization>Your company</Organization>
    </UserData>
    <EnableFirewall>true</EnableFirewall>
    <EnableNetwork>true</EnableNetwork>
    </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">
    <FolderLocations>
    <ProfilesDirectory>d:\User Profiles</ProfilesDirectory>
    <ProgramData>d:\Program Files</ProgramData>
    </FolderLocations>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <ProtectYourPC>1</ProtectYourPC>
    <SkipUserOOBE>true</SkipUserOOBE>
    <NetworkLocation>Work</NetworkLocation>
    </OOBE>
    <UserAccounts>
    <AdministratorPassword>
    <Value>password</Value>
    <PlainText>true</PlainText>
    </AdministratorPassword>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>password</Value>
    <PlainText>true</PlainText>
    </Password>
    <Description>System Administrator</Description>
    <DisplayName>Your Name</DisplayName>
    <Group>Administrators;Power Users</Group>
    <Name>Name</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <RegisteredOrganization>Your Company</RegisteredOrganization>
    <RegisteredOwner>Your Name</RegisteredOwner>
    <StartPanelOff>true</StartPanelOff>
    <ShowWindowsLive>false</ShowWindowsLive>
    <TimeZone>W. Australia Standard Time</TimeZone>
    <VisualEffects>
    <FontSmoothing>ClearType</FontSmoothing>
    </VisualEffects>
    <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <RefreshRate>72</RefreshRate>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <OEMInformation>
    <HelpCustomized>false</HelpCustomized>
    <Manufacturer>Your Company</Manufacturer>
    <Model>Business</Model>
    <SupportHours>0900-1700 Mon-Fri WST</SupportHours>
    <SupportURL>http://www.yoursite.com</SupportURL>
    <Logo>c:\windows\system32\OEMLogo.BMP</Logo>
    </OEMInformation>
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    <AutoLogon>
    <Password>
    <Value>password</Value>
    <PlainText>true</PlainText>
    </Password>
    <Enabled>true</Enabled>
    <LogonCount>1</LogonCount>
    <Username>Administrator</Username>
    </AutoLogon>
    <LogonCommands>
    <AsynchronousCommand wcm:action="add">
    <CommandLine>%systemroot%\configsetroot\RunSynchronous.cmd</CommandLine>
    <Description>Install Default Applications and Utilities</Description>
    <Order>1</Order>
    </AsynchronousCommand>
    </LogonCommands>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ComputerName>*</ComputerName>
    </component>
    <component name="Microsoft-Windows-UnattendedJoin" 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">
    <Identification>
    <JoinWorkgroup>MSHOME</JoinWorkgroup>
    </Identification>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:F:\!vista RTM/sources/install.wim#Windows Vista BUSINESS" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

  6. Hi Felix

    Thank you. Bu OemPreinstall is set to Yes.

    I tryed the same unattended OS Installation on a Thinkpad T40. There I get earlier into trouble. Within the first Part I get the message "Setup is out of memory and cannot continue."

    Do Thinkpad need specific and a-lot-of-memory-use Driver for DOS Network?

    OOPS! should be set to NO for this instance - try that and test. Let me know how you go...

  7. Hello all

    I want to do an unattended XP installation on IBM Thinkpad T42.

    winnt.exe starts with an unattend.txt.

    First part looks fine, it copies all files to Harddisk (Windows XP Professional Setup). After the reboot you see "Windows Setup". And after the message "Setup is starting Windows" it hangs, black screen. I have to switch off and on the Notebook but it will do the same once again.

    Has someone experience with unattended XP Installation on IBM Thinkpad T42?

    I'm really happy for any support you can give!

    Thanks.

    Have seen this with the Dell 6400 (i am guessing also the T42 has a sata drive?) Anyway try this - in your unattended.txt/winnt.sif file

    [Unattended]
    OemPreinstall = No

    Normally for unattended installs you would have this set to yes, however for some reason with some notebooks, when the $oem$ files are copied after the first part of the install (the txt based part) the notebook hangs and will not go to the second (GUI mode) part of the install.

  8. Make autoitscript if you want :D

    And just for thoses reading this thread that want an autoit script to run the uninstall unattended...

    ; Developed by `Felix` 20 Arpil, 2006
    If FileExists("c:\windows\UninstallFirefox.exe") Then
    Run('C:\WINDOWS\UninstallFirefox.exe')
    WinWait("Mozilla Firefox Uninstaller","")
    If Not WinActive("Mozilla Firefox Uninstaller","Yes") Then WinActivate("Mozilla Firefox Uninstaller","Yes")
    WinWaitActive("Mozilla Firefox Uninstaller","Yes")
    Send("{ENTER}")
    Else
    MsgBox(4096,"Problem...", "Firefox Uninstaller can not be found. Firefox may not be installed or not installed correctly.")
    EndIf

  9. Hello All,

    I have been searching and reading many threads here for the past few days and have yet to find a complete solution to meet my requirements (yes i could have missed the right one and if there is one already mentioned please point me in the right directions) :hello:

    What i am looking for is this - I would like to have a single DVD that i can boot from that will partition the disk0, format to NTFS and then launch the XP unattended installation.

    What i have so far is the Unattended installation complete and tested, and i have a manual process that i can select from the CD menu i have in place that will allow me to partition disk0 and format FAT32.

    I have experimented with using

    [UNATTEND]
    FileSystem=ConvertNTFS

    Without success and also experimented with

    [GUIRunOnce]
    Command1="cmd /c convert.exe c: /fs:ntfs /v"

    as found here again without success.

    I also have Winternals ERD 2005 on the CD - so i have the option to use a WinPE solution if that is the best option.

    Ideally i would like to have a completely hands free option that i could predefine the size of Drive C: (say 20gb) and then the rest of the disk to become Drive D:. Also i would like a semi auto method that i could have prompt for Drive C: size and maybe continue to prompt for D- and so on until the disk is completely allocated.... maybe this is too much to ask for, but hey - if you don't ask the question you don't find out any answers :D

    I would appreciate any and all advice. :thumbup

  10. Old:

    If Left(objBIOS.SerialNumber(i),6) = "VMware" Then
    If fs.FileExists(OEM & "\VMWareTools.exe") Then ws.Run(OEM & "\VMWareTools.exe"),0,True
    End If

    New:

    If Left(objBIOS.SerialNumber(i),6) = "VMware" Then
    If fs.FileExists(OEM & "\VMWareTools.exe") Then ws.Run(OEM & "\VMWareTools.exe"),0,True
    Else
    If fs.FileExists(OEM & "\VMWareWorkstation.exe") Then ws.Run(OEM & "\VMWareWorkstation.exe"),0,True
    End If

    Thankyou very much - that works a treat!

  11. Well I included the script because what it does it check the BIOS strings for "VMware", to verify that your install is being done in a VM as opposed to a real computer. For testing purposes, to make sure this thing will work for you, why don't you just hard code calling the file from RunOnceEx, so you know it'll run. Also, I didn't mention this before (probably need to do an edit), but this version of VMware Tools is for the latest release version (V5). I don't know if it would work in earlier versions or the more recent beta releases (V5.5).

    Hello RogueSpear,

    Can i suggest an enhancement to the VMWareTools script (I have been using this and it works wonderfully - thanks for your hard work!) - The suggestion i have is that you run the script to check if VMWare is present, and if it is it installs the tools (just as it does now), however can there be an additional option that if it is not present you can then run the VMWare installer to install VMWare?

    I personally would find this very useful. Not being a VB programmer i am not sure how to go about this...

×
×
  • Create New...