Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Аватара для CtrlSoft

Ветеран


Сообщения: 569
Благодарности: 169

Профиль | Сайт | Отправить PM | Цитировать


Комсомолец, в общем я изучил Boa Software Installer. Прога отличная! Также создал новый файл ответов.

Смотреть пример файла ответов
Код: Выделить весь код
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing></servicing>
    <settings pass="windowsPE">
        <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>
                    <Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key>
                    <WillShowUI>OnError</WillShowUI>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>Costin Ruslan</FullName>
                <Organization>CtrlSoft</Organization>
            </UserData>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1680</HorizontalResolution>
                <VerticalResolution>1050</VerticalResolution>
            </Display>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows Vista ULTIMATE</Value>
                        </MetaData>
                    </InstallFrom>
                </OSImage>
            </ImageInstall>
        </component>
        <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>ru-RU</UILanguage>
                <WillShowUI>OnError</WillShowUI>
            </SetupUILanguage>
            <InputLocale>0409:00010409</InputLocale>
            <SystemLocale>ru-RU</SystemLocale>
            <UILanguage>ru-RU</UILanguage>
            <UserLocale>ru-RU</UserLocale>
        </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">
            <OEMInformation>
                <Manufacturer>CtrlSoft</Manufacturer>
                <HelpCustomized>false</HelpCustomized>
                <SupportPhone>+37369482217</SupportPhone>
                <SupportURL>http://www.CtrlSoft.narod.ru</SupportURL>
                <Model>CtrlSoft Ultimate PC</Model>
                <SupportHours>11:00 - 17:00 </SupportHours>
            </OEMInformation>
            <AutoLogon>
                <Enabled>true</Enabled>
                <LogonCount>1</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <ComputerName>Ultra_PC</ComputerName>
            <TimeZone>(GMT+02:00) Афины, Бухарест, Стамбул</TimeZone>
            <CopyProfile>true</CopyProfile>
            <Display>
                <DPI>96</DPI>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1680</HorizontalResolution>
                <VerticalResolution>1050</VerticalResolution>
            </Display>
        </component>
        <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 M N O P Q R S T U V W X Y Z) DO IF EXIST %i:\PreSetupRoot.txt SETX PreSetupRoot %i: -m"</Path>
                    <Description>Установка переменной %PreSetupRoot%</Description>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>2</Order>
                    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
                    <Description>Загрузка в Режим Аудита</Description>
                </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">
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Group>Administrators</Group>
                        <Name>Costin Ruslan</Name>
                        <Description>Costin Ruslan</Description>
                        <DisplayName>Costin Ruslan</DisplayName>
                        <Password>
                            <PlainText>false</PlainText>
                            <Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
                        </Password>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1680</HorizontalResolution>
                <VerticalResolution>1050</VerticalResolution>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <TimeZone>(GMT+02:00) Афины, Бухарест, Стамбул</TimeZone>
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <Order>10</Order>
                    <CommandLine>REGEDIT /S %PreSetupRoot%\PreSetup\Регистрация_ПО.reg</CommandLine>
                    <Description>Регистрация ПО</Description>
                </SynchronousCommand>
            </FirstLogonCommands>
        </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">
            <UILanguage>ru-RU</UILanguage>
            <UserLocale>ru-RU</UserLocale>
            <SystemLocale>ru-RU</SystemLocale>
            <InputLocale>0409:00000409; 0407:00000407; 0418:00000418; 0419:00000419</InputLocale>
        </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>%PreSetupRoot%\PreSetup\presetup.exe</Path>
                    <Description>Запуск Bs Post Installer</Description>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>20</Order>
                    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>
                    <Description>Перезагрузка и возврат к oobe</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>
                <DPI>96</DPI>
                <ColorDepth>32</ColorDepth>
                <VerticalResolution>1050</VerticalResolution>
                <HorizontalResolution>1680</HorizontalResolution>
            </Display>
        </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>
                <LogonCount>1</LogonCount>
                <Username>Administrator</Username>
                <Enabled>true</Enabled>
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1680</HorizontalResolution>
                <VerticalResolution>1050</VerticalResolution>
            </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:e:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


Установка ПО идет из Boa Software Installer!

Как я сделал:


Создал файл PreSetupRoot.txt и SoftwareRoot.txt их кидаем в корень USB Flash или CD/DVD. PreSetupRoot.txt будет использован файлом ответов AutoUnattende.xml для создания переменной %PreSetupRoot% а SoftwareRoot.txt - файлом ответов PRESETUP.ini для создания переменной %SOURCE%.
Также в корень USB Flash или CD/DVD лежат папки PreSetup, Software и файл ответов AutoUnattende.xml. В папке PreSetup находятся все необходимые файлы для работы программы Boa Software Installer а также reg файл Регистрация_ПО.reg для регистрации прог (таких как UltraISO, CD Check etc), он применяется при первом входе пользователя в систему (не в режиме аудита, потому что в режим аудита регистрация выполняется только для Админа). В папке Software находятся программы.

Только вот окно при первом входе в режим аудита не знаю как скрыть. Она по верх Boa Software Installer!

=================================
Теперь я понимаю почему Бог любит людей.
Это сообщение посчитали полезным следующие участники:

Отправлено: 19:38, 10-05-2008 | #29