Jump to content

myselfidem

Members
  • Posts

    600
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by myselfidem

  1. OK! :)

    Tested my Windows 7 AIO (32-bit and 64-bit) created by W7T...

    If boot.wim is SP0 works for images SP0 and/or SP1 (install.wim files).

    If boot.wim is SP1 works for images SP0 and/or SP1 (install.wim files).

    Using boot.wim SP1 and Windows 7 x64 SP0 (install.wim) works!

  2. Youre putting RTM and SP1 images onto one disc, doesnt it create any problems?

    It was just for testing W7T to create an AIO DVD and check the Name and Description. Yes I used Windows 7 x86 RTM SP1 and Windows 7 x64 RTM SP0.

    Testing Windows 7 x86 SP1 works...But I need to test Windows 7 x64 SP0. Because like you guess the boot.wim is SP1 with my example.

  3. Thanks for the new release! :rolleyes:

    Now Displayname and Displaydescription are correct but we need to change the image names!

    However I think it's neeeded to add a new tab with AIO Creation because now we can only change Displayname and/or Displaydescription and an error occurs because the image names are identical!

    Could you add a new tab to change the names?

    *Edit: Solved. Many thanks.

  4. I think you can try to use a new time imagex.exe /export, like this:

    Example (adapt the paths and folder names to suit your needs):


    imagex /export C:\Win7_AIO\sources\install.wim 1 .\install.wim "Windows 7 Ultimate (Full) x86"
    imagex /export C:\Win7_AIO\sources\install.wim 2 .\install.wim "Windows 7 Ultimate (Trimmed) x64"
    imagex /export C:\Win7_AIO\sources\install.wim 3 .\install.wim "Windows 7 Ultimate (Full) x64"
    imagex /export C:\Win7_AIO\sources\install.wim 4 .\install.wim "Windows 7 Ultimate (Trimmed) x86"

    Install fist WAIK for Windows 7 to use imagex.exe!

    Because it seems when you have merged your images some descriptions deosn't match the architecture!

  5. I don't think it's imagex.exe, but W7T. Because when I use Imagex.exe /info all informations are displayed (also Displayname and Displaydescription)...But W7T display only Name and Description on the window and we can change Name and Description.

    However I used a new time WIM Manager for my Windows 7 AIO and changed Name and Description with French language.

    You can try imagex.exe /info with a clean install.wim image to see the result with your English version!

    Here is the [1].xml file and we can see there is only Name and Description changed! And same result using imagex.exe /info after all images are merged...Displayname and Displaydescription are removed.

    1.xml

  6. It's strange because [1].xml file and wininfo,txt aren't the same!

    It seems you used GImageX.exe to change : Name, Description, Displayname and Displaydescription.

    You can try to use W7T to change the values or use a new time imagex.exe /export

    First check the size about your images for x86 and amd64 and use imagex.exe /export:

    Example (adapt to your needs and chek the image size for x86 or amd64 images [Full and Trimmed]):


    imagex /export C:\Win7_AIO\sources\install.wim 1 .\install.wim "Windows 7 Ultimate (Full) x86"
    imagex /export C:\Win7_AIO\sources\install.wim 2 .\install.wim "Windows 7 Ultimate (Trimmed) x86"
    imagex /export C:\Win7_AIO\sources\install.wim 3 .\install.wim "Windows 7 Ultimate (Full) x64"
    imagex /export C:\Win7_AIO\sources\install.wim 4 .\install.wim "Windows 7 Ultimate (Trimmed) x64"

  7. You can use:

    imagex.exe /info %systemdrive%\Distribution_Folder\sources\install.wim

    And you will see where are the errors!

    Using imagex.exe /info is usefull to read all descriptions and architecture about images inside install.wim.

    I think it's not an error about Architecture but about: Name, Description and/or Displayname, Displaydescription.

    You can use 7zip and open the install.wim file...Copy the [1].xml file on a folder and open this one.

    The file [1].xml is read with imagex.exe /info

    <ARCH>0</ARCH> = Architecture x86

    <ARCH>9</ARCH> = Architecture amd64

    You can also use:

    Dism /Get-WimInfo /WimFile:"%systemdive%\Distribution_Folder\sources\install.wim"

    You can change the values with W7T !

    Images using W7T to change values:

    https://skydrive.liv...10&sc=documents

    *Edit: Please, attach your xml info!

  8. Yes, I tested disabling features by dism from command prompt and it works. Yay!

    But since I create an AIO disk, I seek to write a batch file in order to automate the process.

    I suppose I'll post a feature request to add the option of running a custom batch file upon finishing.

    Yes, of course you can add a request! :rolleyes:

  9. About DisplayName and DisplayDesciption with W7T.

    I see with W7T the image info is changed and two lines are removed :

    With imagex.exe /info


    <IMAGE INDEX="5">
    <DIRCOUNT>9742</DIRCOUNT>
    <FILECOUNT>49456</FILECOUNT>
    <TOTALBYTES>8459941983</TOTALBYTES>
    <CREATIONTIME>
    <HIGHPART>0x01CB8901</HIGHPART>
    <LOWPART>0xEF63352E</LOWPART>
    </CREATIONTIME>
    <LASTMODIFICATIONTIME>
    <HIGHPART>0x01CB8919</HIGHPART>
    <LOWPART>0x0295E945</LOWPART>
    </LASTMODIFICATIONTIME>
    <WINDOWS>
    <ARCH>0</ARCH>
    <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME>
    <EDITIONID>Ultimate</EDITIONID>
    <INSTALLATIONTYPE>Client</INSTALLATIONTYPE>
    <HAL>acpiapic</HAL>
    <PRODUCTTYPE>WinNT</PRODUCTTYPE>
    <PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
    <LANGUAGES>
    <LANGUAGE>fr-FR</LANGUAGE>
    <DEFAULT>fr-FR</DEFAULT>
    </LANGUAGES>
    <VERSION>
    <MAJOR>6</MAJOR>
    <MINOR>1</MINOR>
    <BUILD>7601</BUILD>
    <SPBUILD>17514</SPBUILD>
    <SPLEVEL>1</SPLEVEL>
    </VERSION>
    <SYSTEMROOT>WINDOWS</SYSTEMROOT>
    </WINDOWS>
    <NAME>Windows 7 ULTIMATE</NAME>
    <DESCRIPTION>Windows 7 ULTIMATE</DESCRIPTION>
    <FLAGS>Ultimate</FLAGS>
    <HARDLINKBYTES>3386864674</HARDLINKBYTES>
    <DISPLAYNAME>Windows 7 Édition Intégrale</DISPLAYNAME>
    <DISPLAYDESCRIPTION>Windows 7 Édition Intégrale</DISPLAYDESCRIPTION>
    </IMAGE>

    With W7T


    <IMAGE INDEX="4">
    <DIRCOUNT>13978</DIRCOUNT>
    <FILECOUNT>65682</FILECOUNT>
    <TOTALBYTES>11967913150</TOTALBYTES>
    <CREATIONTIME>
    <HIGHPART>0x01CA0446</HIGHPART>
    <LOWPART>0xE89FF88A</LOWPART>
    </CREATIONTIME>
    <LASTMODIFICATIONTIME>
    <HIGHPART>0x01CCB6B9</HIGHPART>
    <LOWPART>0x77601622</LOWPART>
    </LASTMODIFICATIONTIME>
    <WINDOWS>
    <ARCH>9</ARCH>
    <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME>
    <EDITIONID>Ultimate</EDITIONID>
    <INSTALLATIONTYPE>Client</INSTALLATIONTYPE>
    <HAL>acpiapic</HAL>
    <PRODUCTTYPE>WinNT</PRODUCTTYPE>
    <PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
    <LANGUAGES>
    <LANGUAGE>fr-FR</LANGUAGE>
    <DEFAULT>fr-FR</DEFAULT>
    </LANGUAGES>
    <VERSION>
    <MAJOR>6</MAJOR>
    <MINOR>1</MINOR>
    <BUILD>7600</BUILD>
    <SPBUILD>16385</SPBUILD>
    <SPLEVEL>0</SPLEVEL>
    </VERSION>
    <SYSTEMROOT>WINDOWS</SYSTEMROOT>
    </WINDOWS>
    <NAME>Windows 7 ULTIMATE x64</NAME>
    <DESCRIPTION>Windows 7 ULTIMATE</DESCRIPTION>
    <FLAGS>Ultimate</FLAGS>
    <HARDLINKBYTES>4890682346</HARDLINKBYTES>
    </IMAGE>

    Could you keep those two lines to have the display name and description for the localized version?

    Thanks

    PS: Sorry, it's not the right request topic! Thanks to move it.

  10. @mooms

    I think it's using imagex.exe using export command:

    http://technet.micro...447(WS.10).aspx

    However you can Edit the image names and decriptions with the button at bottom left!

    @Legolash2o

    Could you check if it's possible to change and keep the foreign descriptions using imagex.exe with W7T ! Thanks in advance.

    I do like this:


    imagex /export C:\Win7_AIO\x86\install.wim 1 .\install.wim "Windows 7 STARTER (x86)"
    imagex /export C:\Win7_AIO\x86\install.wim 2 .\install.wim "Windows 7 HOMEBASIC (x86)"
    imagex /export C:\Win7_AIO\x86\install.wim 3 .\install.wim "Windows 7 HOMEPREMIUM (x86)"
    imagex /export C:\Win7_AIO\x86\install.wim 4 .\install.wim "Windows 7 PROFESSIONAL (x86)"
    imagex /export C:\Win7_AIO\x86\install.wim 5 .\install.wim "Windows 7 ULTIMATE (x86)"
    imagex /export C:\Win7_AIO\x64\install.wim 1 .\install.wim "Windows 7 HOMEBASIC (x64)"
    imagex /export C:\Win7_AIO\x64\install.wim 2 .\install.wim "Windows 7 HOMEPREMIUM (x64)"
    imagex /export C:\Win7_AIO\x64\install.wim 3 .\install.wim "Windows 7 PROFESSIONAL (x64)"
    imagex /export C:\Win7_AIO\x64\install.wim 4 .\install.wim "Windows 7 ULTIMATE (x64)"

    And displayed names are in French for my localized version!

    Images (changing image names and descriptions manually with W7T):

    https://skydrive.liv...12&sc=documents

  11. Thanks!

    Already tested...but unfortunatly doesn't work, because all passes are proceded and the batch files will be launched two times: for x86 and amd64 passes.

    Even if the batch is correct with this particular Autounattend.xml file, the best method is to create different batch files for each architecture, like shown with my example above.

    However may works for 32-bit selected Editions, but not for 64-bit selected Editions and the installation fails!

    https://skydrive.liv...98&sc=documents

  12. Yes, I think we can improve this batch file!

    Or, we can also do like this:


    @echo off
    echo.
    if exist "%SystemDrive%\Windows\SysWOW64" set Arch9=AMD64 && goto :Cpu64
    if not exist "%SystemDrive%\Windows\SysWOW64" goto :exit
    echo.
    :Cpu64
    cmd /c 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:\wpi\wpi.exe start %%i:\wpi\wpi.exe
    echo.
    :exit

    Could you show here your example, please? Thanks

  13. @RicaNeaga

    Thanks ;)

    @ar_seven_am

    About Autounattend.xml AIO (x86/amd64).

    I made many, many tests...

    - First, I see that all passes are proceded, even when they are reversed (first amd64 and after x86).

    (We can see that inside: C:\Windows\Panther\unattend.xml)

    - Second: If the same batch is used, it will be launched two times and the installation may fails.

    A workaround is to use different batches for each version (x86 and amd64) using "RunSynchronousCommand" and/or "FirstLogonCommand"

    Example working fine for me with Autounattend.xml AIO (x86/amd64):

    Tested successfully with my DVD Windows 7 AIO for image 32-bit and image 64-bit ! No errors. :)

    Autounattend.xml (using default key for Windows 7 Ultimate. The name is fictitious...)


    <?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>fr-FR</UILanguage>
    </SetupUILanguage>
    <InputLocale>100c:0000100c</InputLocale>
    <SystemLocale>fr-CH</SystemLocale>
    <UILanguage>fr-FR</UILanguage>
    <UserLocale>fr-CH</UserLocale>
    </component>
    <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>fr-FR</UILanguage>
    </SetupUILanguage>
    <InputLocale>100c:0000100c</InputLocale>
    <SystemLocale>fr-CH</SystemLocale>
    <UILanguage>fr-FR</UILanguage>
    <UserLocale>fr-CH</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">
    <Diagnostics>
    <OptIn>false</OptIn>
    </Diagnostics>
    <DiskConfiguration>
    <WillShowUI>OnError</WillShowUI>
    <Disk wcm:action="add">
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    <CreatePartitions>
    <CreatePartition wcm:action="add">
    <Order>1</Order>
    <Type>Primary</Type>
    <Size>100</Size>
    </CreatePartition>
    <CreatePartition wcm:action="add">
    <Order>2</Order>
    <Type>Primary</Type>
    <Extend>true</Extend>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <ModifyPartition wcm:action="add">
    <Active>true</Active>
    <Format>NTFS</Format>
    <Label>system</Label>
    <Order>1</Order>
    <PartitionID>1</PartitionID>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <Format>NTFS</Format>
    <Label>SEVEN</Label>
    <Letter>C</Letter>
    <Order>2</Order>
    <PartitionID>2</PartitionID>
    </ModifyPartition>
    </ModifyPartitions>
    </Disk>
    </DiskConfiguration>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1280</HorizontalResolution>
    <VerticalResolution>1024</VerticalResolution>
    <RefreshRate>60</RefreshRate>
    </Display>
    <DynamicUpdate>
    <Enable>false</Enable>
    <WillShowUI>Never</WillShowUI>
    </DynamicUpdate>
    <ImageInstall>
    <OSImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>2</PartitionID>
    </InstallTo>
    <WillShowUI>OnError</WillShowUI>
    <InstallToAvailablePartition>false</InstallToAvailablePartition>
    </OSImage>
    </ImageInstall>
    <UserData>
    <ProductKey>
    <WillShowUI>OnError</WillShowUI>
    <Key>D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV</Key>
    </ProductKey>
    <AcceptEula>true</AcceptEula>
    <FullName>Paul Dupont</FullName>
    <Organization>particulier</Organization>
    </UserData>
    <EnableFirewall>true</EnableFirewall>
    </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">
    <Diagnostics>
    <OptIn>false</OptIn>
    </Diagnostics>
    <DiskConfiguration>
    <WillShowUI>OnError</WillShowUI>
    <Disk wcm:action="add">
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    <CreatePartitions>
    <CreatePartition wcm:action="add">
    <Order>1</Order>
    <Type>Primary</Type>
    <Size>100</Size>
    </CreatePartition>
    <CreatePartition wcm:action="add">
    <Order>2</Order>
    <Type>Primary</Type>
    <Extend>true</Extend>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <ModifyPartition wcm:action="add">
    <Active>true</Active>
    <Format>NTFS</Format>
    <Label>system</Label>
    <Order>1</Order>
    <PartitionID>1</PartitionID>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <Format>NTFS</Format>
    <Label>SEVEN</Label>
    <Letter>C</Letter>
    <Order>2</Order>
    <PartitionID>2</PartitionID>
    </ModifyPartition>
    </ModifyPartitions>
    </Disk>
    </DiskConfiguration>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1280</HorizontalResolution>
    <VerticalResolution>1024</VerticalResolution>
    <RefreshRate>60</RefreshRate>
    </Display>
    <DynamicUpdate>
    <Enable>false</Enable>
    <WillShowUI>Never</WillShowUI>
    </DynamicUpdate>
    <ImageInstall>
    <OSImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>2</PartitionID>
    </InstallTo>
    <WillShowUI>OnError</WillShowUI>
    <InstallToAvailablePartition>false</InstallToAvailablePartition>
    </OSImage>
    </ImageInstall>
    <UserData>
    <ProductKey>
    <WillShowUI>OnError</WillShowUI>
    <Key>D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV</Key>
    </ProductKey>
    <AcceptEula>true</AcceptEula>
    <FullName>Paul Dupont</FullName>
    <Organization>particulier</Organization>
    </UserData>
    <EnableFirewall>true</EnableFirewall>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Security-SPP-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-Security-SPP-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-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>Paul-PC</ComputerName>
    <TimeZone>W. Europe Standard Time</TimeZone>
    </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">
    <ComputerName>Paul-PC</ComputerName>
    <TimeZone>W. Europe Standard Time</TimeZone>
    </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 %SystemDrive%\Install\SPTDinst_x86.cmd</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </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 %SystemDrive%\Install\SPTDinst_x64.cmd</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </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">
    <InputLocale>100c:0000100c</InputLocale>
    <UILanguage>fr-FR</UILanguage>
    <UserLocale>fr-CH</UserLocale>
    </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>100c:0000100c</InputLocale>
    <UILanguage>fr-FR</UILanguage>
    <UserLocale>fr-CH</UserLocale>
    </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>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1280</HorizontalResolution>
    <VerticalResolution>1024</VerticalResolution>
    <RefreshRate>60</RefreshRate>
    </Display>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Home</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    </OOBE>
    <AutoLogon>
    <Enabled>true</Enabled>
    <LogonCount>9999999</LogonCount>
    <Username>Paul</Username>
    </AutoLogon>
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <Description>Post Setup Installation</Description>
    <CommandLine>cmd /c %SystemDrive%\Install\FirstLog_x86.cmd</CommandLine>
    <Order>9</Order>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    </FirstLogonCommands>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value></Value>
    <PlainText>true</PlainText>
    </Password>
    <DisplayName>Paul</DisplayName>
    <Name>Paul</Name>
    <Group>Administrators</Group>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    </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">
    <TimeZone>W. Europe Standard Time</TimeZone>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1280</HorizontalResolution>
    <VerticalResolution>1024</VerticalResolution>
    <RefreshRate>60</RefreshRate>
    </Display>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Home</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    </OOBE>
    <AutoLogon>
    <Enabled>true</Enabled>
    <LogonCount>9999999</LogonCount>
    <Username>Paul</Username>
    </AutoLogon>
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <Description>Post Setup Installation</Description>
    <CommandLine>cmd /c %SystemDrive%\Install\FirstLog_x64.cmd</CommandLine>
    <Order>9</Order>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    </FirstLogonCommands>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value></Value>
    <PlainText>true</PlainText>
    </Password>
    <DisplayName>Paul</DisplayName>
    <Name>Paul</Name>
    <Group>Administrators</Group>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    </component>
    </settings>
    </unattend>
    <!--Customized by myselfidem. Only for One Image Windows 7 Ultimate (x86 and amd64). Adapt the values to your needs.-->

    In this example I created 4 batch files:

    SPTDinst_x86.cmd


    @echo off
    echo.
    if not exist "%SystemDrive%\Windows\SysWOW64" set Arch0=x86 && goto :Cpu86
    if exist "%SystemDrive%\Windows\SysWOW64" goto :exit
    echo.
    :Cpu86
    cmd /c %SystemDrive%\Install\Apps\Daemon\86\SPTDinst-x86.exe add /q
    :exit

    SPTDinst_x64.cmd


    @echo off
    echo.
    if exist "%SystemDrive%\Windows\SysWOW64" set Arch9=AMD64 && goto :Cpu64
    :Cpu64
    cmd /c %SystemDrive%\Install\Apps\Daemon\64\SPTDinst-x64.exe add /q
    :exit

    FirstLog_x86.cmd


    @echo off
    echo.
    if not exist "%SystemDrive%\Windows\SysWOW64" set Arch0=x86 && goto :Cpu86
    if exist "%SystemDrive%\Windows\SysWOW64" goto :exit
    :Cpu86
    cmd /c 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:\wpi\wpi.exe start %%i:\wpi\wpi.exe
    :exit

    FirstLog_x64.cmd


    @echo off
    echo.
    if exist "%SystemDrive%\Windows\SysWOW64" set Arch9=AMD64 && goto :Cpu64
    :Cpu64
    cmd /c 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:\wpi\wpi.exe start %%i:\wpi\wpi.exe
    :exit

    *Edit: SetProductKey.rar updated with this new example and the batch files as examples. You can adapt the batch files to your needs!

  14. Yes, I understand. Many thanks.

    I haven't this problem.

    Missing inside your Autounattend.xml file AIO the first lines:


    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">

    I will make an test with your values BUT adding subfolders (x86 and x64) for RunSynchronousCommands and FirstLogonCommands.

    Examples:


    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <CommandLine>hidcon %SystemDrive%\Install\x64\FirstLog_x64.cmd</CommandLine>
    <Description>Post Setup Installation</Description>
    <Order>1</Order>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    </FirstLogonCommands>


    <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>%SystemDrive%\Install\Apps\Daemon\x86\SPTDinst-x86.exe add /q</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>

×
×
  • Create New...