Jump to content

kentk

Member
  • Posts

    84
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Sweden

Posts posted by kentk

  1. I run the regtweaks during unattend installation, but I seem to get only 1 of the regtweaks to be activated over all users.. (disable UAC )

    I have via autounattend.xml created 4 users and I think I am "administrator" during setup.

    But after restart and login by administrator the regtweaks are not set "?

    The settings in HKEY_CURRENT_USER, are there different settings in registry as of which user are logged in ?

    Is the UAC active during the unattended installation ? is it UAC who does not permit my regtweaks ?

    What am I doing wrong ?

  2. Tried this yesterday without success :(

    copied my files from my working ISO to the usb stick

    Got it to boot once, but after the first pictures vista tells me some driver is missing :(

    Tried different settings in bios and after a while I cant get it to boot from the usb at all, invalid partition, insert bootable media and so on..

    Made all steps again several times...no success

    Is there a problem that I have a 8gb stick ?

    Any suggestions ?? I really want this to work...

  3. Dobby, here is my 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">
    <SetupUILanguage>
    <UILanguage>sv-SE</UILanguage>
    </SetupUILanguage>
    <SystemLocale>sv-SE</SystemLocale>
    <UILanguage>sv-SE</UILanguage>
    <UserLocale>sv-SE</UserLocale>
    <InputLocale>041d:0000041d</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>xxxx-xxxx--xxxxxxx-xxx-xxxxx</Key>
    </ProductKey>
    <FullName>Datorn</FullName>
    <AcceptEula>true</AcceptEula>
    </UserData>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <ImageInstall>
    <OSImage>
    <InstallFrom>
    <MetaData wcm:action="add">
    <Key>/IMAGE/NAME</Key>
    <Value>Windows Vista ULTIMATE</Value>
    </MetaData>
    </InstallFrom>
    <InstallToAvailablePartition>false</InstallToAvailablePartition>
    <WillShowUI>OnError</WillShowUI>
    </OSImage>
    </ImageInstall>
    </component>
    <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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">
    <DriverPaths>
    <PathAndCredentials wcm:keyValue="427209fc" wcm:action="add">
    <Path>%DriversRoot%\Drivers</Path>
    </PathAndCredentials>
    </DriverPaths>
    </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>
    <Description>Boot to audit Mode</Description>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <VerticalResolution>768</VerticalResolution>
    <DPI>96</DPI>
    </Display>
    <ComputerName>Datorn</ComputerName>
    <CopyProfile>true</CopyProfile>
    <TimeZone>W. Europe Standard Time</TimeZone>
    </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>1</ProtectYourPC>
    <SkipMachineOOBE>false</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    <TimeZone>W. Europe Standard Time </TimeZone>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Description>Admin</Description>
    <DisplayName>Admin</DisplayName>
    <Group>Administrators</Group>
    <Name>Admin</Name>
    </LocalAccount>
    <LocalAccount wcm:action="add">
    <Description>Datorn</Description>
    <DisplayName>Datorn</DisplayName>
    <Group>Administrators</Group>
    <Name>Datorn</Name>
    </LocalAccount>
    <LocalAccount wcm:action="add">
    <Group>Administrators</Group>
    <Description>HTPC</Description>
    <DisplayName>HTPC</DisplayName>
    <Name>HTPC</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    </component>
    <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">
    <InputLocale>041d:0000041d</InputLocale>
    <SystemLocale>sv-SE</SystemLocale>
    <UILanguage>sv-SE</UILanguage>
    <UserLocale>sv-SE</UserLocale>
    </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>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <VerticalResolution>768</VerticalResolution>
    <DPI>96</DPI>
    </Display>
    </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>15</Order>
    <Path>cmd /c %AppsRoot%\Install\AdobeReader\AdobeReader81.exe</Path>
    <Description>Adobe reader 8.1</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>20</Order>
    <Path>cmd /c %AppsRoot%\Install\Anydvd\SetupAnyDVD6184.exe /S</Path>
    <Description>AnyDVD</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>30</Order>
    <Path>cmd /c %AppsRoot%\Install\Clonedvd2\CloneDVD2Silent.exe SetupCloneDVD2.exe</Path>
    <Description>CloneDVD2</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>40</Order>
    <Path>cmd /c %AppsRoot%\Install\PowerDVD7\setup.exe</Path>
    <Description>PowerDVD</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>50</Order>
    <Path>cmd /c %AppsRoot%\Install\winrar\wrar371sw.exe /s</Path>
    <Description>Winrar</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>51</Order>
    <Path>cmd /c %AppsRoot%\Install\winrar\Register.exe</Path>
    <Description>Register Winrar</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>60</Order>
    <Path>cmd /c %AppsRoot%\Install\Winzip\Winzip11_1_7466.exe</Path>
    <Description>Winzip</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>61</Order>
    <Path>cmd /c REGEDIT /S %AppsRoot%\Install\Winzip\Register.reg</Path>
    <Description>Register Winzip</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>90</Order>
    <Path>cmd /c %AppsRoot%\Install\Hotfix\KB890830.exe /Q</Path>
    <Description>KB890830</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>91</Order>
    <Path>cmd /c %AppsRoot%\Install\Hotfix\msxml4-KB936181-enu.exe /Q</Path>
    <Description>KB936181</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>92</Order>
    <Path>cmd /c %AppsRoot%\Install\Hotfix\msxml4-KB941833-enu.exe /Q</Path>
    <Description>KB941833</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>99</Order>
    <Path>%WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot</Path>
    <Description>Restart</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>10</Order>
    <Path>cmd /c REGEDIT /S %AppsRoot%\Install\Regtweaks.reg</Path>
    <Description>Regtweaks</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>70</Order>
    <Path>cmd /c %AppsRoot%\Install\Nero7\Nero7_10_1_0.exe</Path>
    <Description>Nero 7</Description>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>80</Order>
    <Path>cmd /c %AppsRoot%\Install\Office2007\Office2007.exe</Path>
    <Description>Office 2007</Description>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <VerticalResolution>768</VerticalResolution>
    <DPI>96</DPI>
    </Display>
    </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:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    Directory structure

    namnlossx1.jpg

    namnlos2lj5.jpg

  4. Razormoon: I think I dont come by the first PE pass when I add the drivers :( the install.exe doesnt seem to be started !?

    When I boot the ISO, in the first PE pass I get a cmd window which say driversroot = d:

    Shortly after I get a error window:

    It is not possible to install one or more drivers which is necessary for systemstart, check that the drivers are correct and restart installation, Press OK...

    Pressed Shift-F10 and looked in the log files, but I did not see any particularly :(

    Dobby, I will post this tonight when I am home from work..

    Ps. I have made a copy of the ISO BEFORE I altered the settings as of the Firegeier guide to install drivers from media or usb stick and that ISO is working so there is something wrong with this step.. Ds.

  5. The vista installation iso is/was working before this...

    I have just altered the needed steps for "install drivers from media or dvd" and then this problem occoured :(

    I have tried to burn DVD and ISO on VM same result

    I tried to rename folders without 000_xxx and removed all but the .inf files, same error :(

    I have added AHCI, Intel inf, Yukon LAN, intel LAN drivers...

    setupact.log shows all files, tells that some is not .inf and pass on..in the end there is 0x0640ae IBSLIB publishmessage:It is not possible to install one or more drivers which is necessary for systemstart, check that the drivers are correct and restart installation

    no UnattendGC folder !?

    EDIT:

    Another question, in the guide : imagex /mountrw D:\VistaWork\DVD\sources\boot.wim 2 D:\VistaWork\Mount

    to mount boot.wim, but should it not be a "1" for the PE and not a "2" as in the guide ???

  6. :( cant get the "install drivers from media or DVD" to work...

    Have set the Microsoft-Windows-PnPCustomizationsWinPE \ DriverPaths \ PathAndCredentials path to %DriversRoot%\Drivers

    And in Setdriversroot.cmd

    ....SET DriversRoot=%%i:

    When I boot the ISO I get a cmd window which say driversroot = d:

    Shortly after I get a error window:

    It is not possible to install one or more drivers which is necessary for systemstart, check that the drivers are correct and restart installation, OK...

    I have copied files into the drivers folder, have made subfolders called 000_xxxx and in the folders I have unpacked the drivers (.inf and other filetypes)

    Should it ONLY be .inf files in the folders ???

  7. Yes it's correct. It's checking each drive for a file called DriversRoot.txt which you should have created on the drive that you have your drivers on. When it finds this file it sets an environment variable called DriversRoot to it. This is what is then used in Autounattend.xml to tell WinPE where to find the drivers for your hardware %DriversRoot%\drivers is the drive and folder that you should have your drivers in.

    X:\setup.exe tells WinPE to run windows setup. This is needed because you are overriding what WinPE does when it boots. I think X:\ is a ram drive that WinPE creates and copies a bunch of startup files to (but don't quote me on that. I never checked). Either that or it's just a drive mapped from the DVD probably to give a constant drive letter that setup knows about. (As your DVD drive could be D:, E:, or F: depending on how many hard drives you have).

    Thanks Dobby :thumbup

    Is this method the best way to add AHCI drivers for my SATA disc during installation ??

  8. Dobby, I have not tried it yet..

    But I will tonight :)

    So what you are saying is that it should look like this in order to work:

    @ECHO OFF
    SET DriversRoot=NULL

    :SearchDriversRoot
    FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\DriversRoot.txt SET DriversRoot=%%i:
    IF NOT "%DriversRoot%"=="NULL" GOTO StartSetup
    GOTO SearchDriversRoot

    :StartSetup
    ECHO DriversRoot=%DriversRoot%
    X:\setup.exe

    Why is it X:\setup.exe ?

  9. was it something wrong with these lines from Firegeirers guide to install drivers from media ?? (":\" should NOT be there ?)

    @ECHO OFF
    SET DriversRoot=NULL

    :SearchDriversRoot
    FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\DriversRoot.txt SET DriversRoot=%%i:\
    IF NOT "%DriversRoot%"=="NULL" GOTO StartSetup
    GOTO SearchDriversRoot

    :StartSetup
    ECHO DriversRoot=%DriversRoot%
    X:\setup.exe

    Has anyone manage to get this to work ???

  10. I think I found a error in the guide, Advanced, Copy profile

    In step 1 it is instructed to write:

    %WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot

    But in the picture below there is no generalize !?

    Should I use generalize for this task ??

    If I follow the guide to install applications, there is no "generalize" in the line in Synchronous Command ,Pass 4 specialize, why ?

  11. Is there actualy someone who has managed to do this ?

    Had ultimate OEM installed, extracted key and xx.xrm-ms file.

    Put it in my folder structure of my DVD in sources\$OEM$\$$\SYSTEM32\OEM and then made a ISO and tried in a VM..

    This did NOT work !?

    Should I have run the mountrw command and put the file somewhere in the mounted folder ? and then unmount it to be included in install.wim ??

×
×
  • Create New...