Help - Search - Members - Calendar
Full Version: cant install apps during setup
MSFN Forums > Unattended Windows Discussion & Support > Unattended Windows Vista/Server 2008

   


Google Internet Forums Unattended CD/DVD Guide
amit_talkin
ah....i have tried all i can do...changed Autounattend.xml many times to get proper settings...but no luck....all other setups like auto admin logon, skip oobe, etc is fully working automatically...just i cant install apps in audit mode....i have followed FireGeier's guide..but still no luck.....here is my xml file

CODE
<?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>0409:00000409</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-US</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">
            <UserData>
                <ProductKey>
                    <WillShowUI>OnError</WillShowUI>
                    <Key>XXXX</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>Amit</FullName>
                <Organization>Heaven</Organization>
            </UserData>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows Vista ULTIMATE</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 &quot;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&quot;</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>5</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <TimeZone>India Standard Time</TimeZone>
        </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>1</Order>
                    <Path>cmd /c %AppsRoot%Install\Acrobet Reader\AdobeReader80.exe /sAll /rs</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>2</Order>
                    <Path>cmd /c %AppsRoot%Install\Firefox\Firefox2.exe -ms</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>3</Order>
                    <Path>cmd /c %AppsRoot%Install\Daemon Tools\dt4091_143_x86.exe</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>4</Order>
                    <Path>cmd /c %AppsRoot%Install\java\java6.exe</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>5</Order>
                    <Path>cmd /c %AppsRoot%Install\Klite\KLiteCodecPackMega201.exe /VERYSILENT /SP-</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>6</Order>
                    <Path>cmd /c %AppsRoot%Install\Msn\WLM.exe</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>7</Order>
                    <Path>cmd /c %AppsRoot%Install\Notepad\Notepad402.exe /S</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>8</Order>
                    <Path>cmd /c %AppsRoot%Install\Yahoo\yahoo81.exe /s</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>9</Order>
                    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:h:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>



i have put Appzroot.txt in root of DVD...and all paths to install folder are correct.....setup even never told me tht path not found or etc...
and as i told..other unattended setups are working fine...so thr isnt any problem in placement of autounattend.xml file.
i couldnt figure out whts the problem...so i m asking for help frm u ppl...i hope some of u know better thn me. newwink.gif

Thnx
AMIT
FireGeier
Hello Amit!

Do you use an OEM DVD?

Regards,
Martin
maxXPsoft
your doing your SETX in <settings pass="specialize">
but yet you run the Apps in <settings pass="auditUser">
I would move the SETX to same Pass
amit_talkin
@Martin aka FireGeier , no bro. its a retail DVD....and i have created answer file as the way u have guided in ur guide sad.gif did i do any mistake? as "maxxpsoft" saying, SETX should be in audit pass, but as far ur guide, it is created in specialize pass.

@ maxxpsoft, thnx bro. i will do changes as u told and will post updated info. here . thumbup.gif

thnx to both of u guys for ur replies.

Regards
AMIT
amit_talkin
@maxxpsoft....bro. i have tried settings as u told me....but it still not working...here is my new answer file

CODE
<?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>0409:00000409</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-US</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">
            <UserData>
                <ProductKey>
                    <WillShowUI>OnError</WillShowUI>
                    <Key>XXXX</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>Amit</FullName>
                <Organization>Heaven</Organization>
            </UserData>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows Vista ULTIMATE</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>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </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>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:\AppzRoot.txt SETX AppzRoot %i: -m";</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>2</Order>
                    <Path>cmd /c %AppzRoot%install\Acrobat Reader\AdobeReader80.exe /sAll /rs</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>3</Order>
                    <Path>cmd /c %AppzRoot%install\Firefox\Firefox2.exe -ms</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>4</Order>
                    <Path>cmd /c %AppzRoot%install\Daemon Tools\dt4091_143_x86.exe</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>5</Order>
                    <Path>cmd /c %AppzRoot%install\java\java6.exe</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>6</Order>
                    <Path>cmd /c %AppzRoot%install\Klite\KLiteCodecPackMega201.exe /VERYSILENT /SP-</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>7</Order>
                    <Path>cmd /c %AppzRoot%install\Msn\WLM.exe</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>8</Order>
                    <Path>cmd /c %AppzRoot%install\Notepad\Notepad402.exe /S</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>9</Order>
                    <Path>cmd /c %AppzRoot%install\Yahoo\yahoo81.exe /s</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>10</Order>
                    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</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>5</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <TimeZone>India Standard Time</TimeZone>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:h:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


ummmm...dont know wht is the mistake ( or mistakes? ) in answer file...
maxXPsoft
<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:\AppzRoot.txt SETX AppzRoot %i: -m";</Path>

you see them ; at each end of your command, dont think they should be there
first remove those and see if you get any better then

must be a way to check if AppzRoot is getting set. I don't install my apps there but wait till the desktop where I can see whats going on. You might put that in a cmd file and call it and put a pause in it. When it pauses hit shift F10 and type Set and see if your variable is setting.
amit_talkin
ummm...well..i am testing whole setup on VMware each time i m making changes in answer file....above settings didnt work for me yet.....do u know any other way to install appz? i mean using a batch command which execute all setups....!
maxXPsoft
well yes I do but not as you said
amit_talkin
oh yes..i have seen it in ur VistaUA....its nice and easy..thnx for it .. smile.gif.but i want to learn manual editing for installing appz...can u explain it?
FireGeier
QUOTE
your doing your SETX in <settings pass="specialize">
but yet you run the Apps in <settings pass="auditUser">
I would move the SETX to same Pass


That's not the problem. SETX sets it to system environment (Registry), if everything is working properly. I've always been using the SETX command during specialize pass without any probs.

But amit is not the first, having problems with the command. Just can't figure out why so far, cause I've to less feedback.


@amit:
First remove the ";" like maxXP said. Than please make sure, to move the command back to specialize pass!

If you're using

CODE
SETX AppzRoot %%i: -m


than your command to call the installer must look like this:

cmd /c %AppzRoot%\install\Acrobat Reader\AdobeReader80.exe /sAll /rs



If you're using

CODE
SETX AppzRoot %%i:\ -m


than you have to use

b]cmd /c %AppzRoot%install\Acrobat Reader\AdobeReader80.exe /sAll /rs
[/b]


In your actual Autounattend.xml you're setting AppzRoot without a "\", that means it will set AppzRoot=E: for example.

Than you're calling the apps installers without a "\", so your actual call looks like this for example:

cmd /c E:install\Acrobat Reader\AdobeReader80.exe /sAll /rs

That means there is a missing "\" and setup can't find the path.



If this still should not trouble shoot it, try that:

Put all the commands into one single cmd file called run.cmd for example and than let run this batch from first logon command. Use the commads without cmd /c at the beginning. Look here for more details.


Could you please check if Appsroot variable is set at all. In your final Vista installation click on Start, type cmd and in the opening command prompt type:

CODE
set


please let me know, if you find an entry called Appsroot.

Regards,
Martin
amit_talkin
thnx martin....u got the point...thts whr i did mistake.... path was set to "AppzRoot %%i: -m" and i was using command "..%AppzRoot%install\.." instead of "..%AppzRoot%\install\.."...grrr...how noob question frm me ...lol...anyways...i hope this will fix the problem....will let u know again wht happens nxt...


thnx to both of u guys for proper replies and guidance smile.gif

Regards
AMIT
amit_talkin
Hi martin...i fixed tht error....but still it didnt install appz....here is log of unattended setup..

CODE
...................
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: 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:\AppzRoot.txt SETX AppzRoot %i: -m"]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found RunSynchronous command: [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:\AppzRoot.txt SETX AppzRoot %i: -m"]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: credentials = { domain is not specified, username is not specified, password info not logged }
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: will continue execution without examining exit code
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: path = [cmd /c %AppzRoot%\install\Acrobat Reader\AdobeReader80.exe /sAll /rs]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found RunSynchronous command: [cmd /c %AppzRoot%\install\Acrobat Reader\AdobeReader80.exe /sAll /rs]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: credentials = { domain is not specified, username is not specified, password info not logged }
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: will continue execution without examining exit code
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: path = [cmd /c %AppzRoot%\install\Firefox\Firefox2.exe -ms]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found RunSynchronous command: [cmd /c %AppzRoot%\install\Firefox\Firefox2.exe -ms]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: credentials = { domain is not specified, username is not specified, password info not logged }
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: will continue execution without examining exit code
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: path = [cmd /c %AppzRoot%\install\Daemon Tools\dt4091_143_x86.exe]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found RunSynchronous command: [cmd /c %AppzRoot%\install\Daemon Tools\dt4091_143_x86.exe]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: credentials = { domain is not specified, username is not specified, password info not logged }
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: will continue execution without examining exit code
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: path = [cmd /c %AppzRoot%\install\java\java6.exe]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found RunSynchronous command: [cmd /c %AppzRoot%\install\java\java6.exe]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: credentials = { domain is not specified, username is not specified, password info not logged }
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: will continue execution without examining exit code
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: path = [cmd /c %AppzRoot%\install\Klite\KLiteCodecPackMega201.exe /VERYSILENT /SP-]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found RunSynchronous command: [cmd /c %AppzRoot%\install\Klite\KLiteCodecPackMega201.exe /VERYSILENT /SP-]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: credentials = { domain is not specified, username is not specified, password info not logged }
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: will continue execution without examining exit code
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: path = [cmd /c %AppzRoot%\install\Msn\WLM.exe]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found RunSynchronous command: [cmd /c %AppzRoot%\install\Msn\WLM.exe]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: credentials = { domain is not specified, username is not specified, password info not logged }
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: will continue execution without examining exit code
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: path = [cmd /c %AppzRoot%\install\Notepad\Notepad402.exe /S]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found RunSynchronous command: [cmd /c %AppzRoot%\install\Notepad\Notepad402.exe /S]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: credentials = { domain is not specified, username is not specified, password info not logged }
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: will continue execution without examining exit code
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: path = [cmd /c %AppzRoot%\install\Yahoo\yahoo81.exe /s]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found RunSynchronous command: [cmd /c %AppzRoot%\install\Yahoo\yahoo81.exe /s]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: credentials = { domain is not specified, username is not specified, password info not logged }
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: will continue execution without examining exit code
2007-04-27 23:52:28, Info                         [setupugc.exe] Found run command in registry: path = [%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot]
2007-04-27 23:52:28, Info                         [setupugc.exe] Found RunSynchronous command: [%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot]
2007-04-27 23:52:29, Info                         [setupugc.exe] Finished executing [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:\AppzRoot.txt SETX AppzRoot %i: -m"] synchronously
2007-04-27 23:52:29, Info                         [setupugc.exe] Process returned with exit code 0x0
2007-04-27 23:52:29, Info                         [setupugc.exe] Finished executing [cmd /c %AppzRoot%\install\Acrobat Reader\AdobeReader80.exe /sAll /rs] synchronously
2007-04-27 23:52:29, Info                         [setupugc.exe] Process returned with exit code 0x1
2007-04-27 23:52:29, Info                         [setupugc.exe] Finished executing [cmd /c %AppzRoot%\install\Firefox\Firefox2.exe -ms] synchronously
2007-04-27 23:52:29, Info                         [setupugc.exe] Process returned with exit code 0x1
2007-04-27 23:52:29, Info                         [setupugc.exe] Finished executing [cmd /c %AppzRoot%\install\Daemon Tools\dt4091_143_x86.exe] synchronously
2007-04-27 23:52:29, Info                         [setupugc.exe] Process returned with exit code 0x1
2007-04-27 23:52:29, Info                         [setupugc.exe] Finished executing [cmd /c %AppzRoot%\install\java\java6.exe] synchronously
2007-04-27 23:52:29, Info                         [setupugc.exe] Process returned with exit code 0x1
2007-04-27 23:52:29, Info                         [setupugc.exe] Finished executing [cmd /c %AppzRoot%\install\Klite\KLiteCodecPackMega201.exe /VERYSILENT /SP-] synchronously
2007-04-27 23:52:29, Info                         [setupugc.exe] Process returned with exit code 0x1
2007-04-27 23:52:29, Info                         [setupugc.exe] Finished executing [cmd /c %AppzRoot%\install\Msn\WLM.exe] synchronously
2007-04-27 23:52:29, Info                         [setupugc.exe] Process returned with exit code 0x1
2007-04-27 23:52:29, Info                         [setupugc.exe] Finished executing [cmd /c %AppzRoot%\install\Notepad\Notepad402.exe /S] synchronously
2007-04-27 23:52:29, Info                         [setupugc.exe] Process returned with exit code 0x1
2007-04-27 23:52:29, Info                         [setupugc.exe] Finished executing [cmd /c %AppzRoot%\install\Yahoo\yahoo81.exe /s] synchronously
2007-04-27 23:52:29, Info                         [setupugc.exe] Process returned with exit code 0x1
2007-04-27 23:52:36, Info                         [setupugc.exe] Finished executing [%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot] synchronously
2007-04-27 23:52:36, Info                         [setupugc.exe] Process returned with exit code 0x40010004
2007-04-27 23:52:59, Info                         [windeploy.exe] ------------------------------------------------
.............................


it says process returned with exit code 0x1...it mean it failed? if yes...thn why? sad.gif
FireGeier
Hello Amit!

Have you put the FOR loop back to specialize pass?

Regards,
Martin
amit_talkin
sorry.. i have no idea of it! wht u mean to say?
FireGeier
Hello amit!

Sorry, I'm talking about that command here:

CODE
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:\AppzRoot.txt SETX AppzRoot %i: -m"


Where do you put this command to? Specialize pass or audit pass? If you put it into audit pass, than please put it back to sepcialize pass.

Regards,
Martin
amit_talkin
oops...yeah i have put it in audit path....but why it wont work in audit path? confused.gif will move it to specialize path...though i just want to know why it wont work in audit mode?
FireGeier
QUOTE
but why it wont work in audit path?


Well, can't tell for sure. But AFAIK system envrionment variables a loaded to the system environment only once - when the session starts. So if you let run the command in audit pass, than the session has already be started. SETX will set the AppzRoot variable to the registry than, but it will be present in during session after next logon.

This is the reason, why I put it to specialize pass. The system will reboot, before logon to audit pass, so the session is started again and AppzRoot variable is present.

Regards,
Martin
amit_talkin
oh ...it mean a reboot is needed to start autoapps session. thnx for providing info martin....atleast i got some more knowledge caz of this apps error biggrin.gif lol
FireGeier
Well, I don't know for sure if a complete reboot is necessary and you don't have to set one. Please don't missunderstand.

But system will logon to audit passes. That means from my point of view, that a new session is started and system environment is reloaded. Cause first it will run auditSystem pass and second auditUser when booting to audit mode.

But I don't know everything. So might be wrong.

Regards,
Martin
amit_talkin
Finally it worked....smile.gif thnx to martin & maxxpsoft for all ur helps....
i will keep u in mind, martin. thr are many things to learn from u ...hope u dont mind smile.gif

Regards
AMIT
FireGeier
You're welcome AMIT!

Good to hear, that my guide isn't such bad and you got it working! thumbup.gif

It was easy, wasn't it. newwink.gif

Regards,
Martin
amit_talkin
QUOTE (FireGeier @ Apr 28 2007, 01:51 AM) *
You're welcome AMIT!

Good to hear, that my guide isn't such bad and you got it working! thumbup.gif

It was easy, wasn't it. newwink.gif

Regards,
Martin


yes, guide is so easy, i was not interested in vista deployment caz i didnt know how to use Windows SIM mad.gif but after reading ur guide it became easy to understand terms of SIM ..thnx to you bro. thumbup.gif
amit_talkin
Hi martin...i have another question, while installing appz, installation is showin box as below


but i dont want installation to show full path, just want to show appz title only...like

CODE
Windows is now settting up following items:

Adobe Reader
Firefox
Daemon Tools
......


can i do tht? and how?

Regards
AMIT
FireGeier
Hello Amit!

You need to set a Description in WSIM for all these synchronous commands, than you will see the Description only instead of full path. If you don't use the description, it seems to be that setup creates one by path info.

Regards,
Martin
maxXPsoft
CODE
                <RunSynchronousCommand wcm:action="add">
                    <Order>2</Order>
                    <Path>cmd /c %AppzRoot%install\Acrobat Reader\AdobeReader80.exe /sAll /rs</Path>
                    <Description>Acrobat Reader</Description>
                </RunSynchronousCommand>
Yurek3
AMIT You can show here goodone your Autounattend.xml PLEASE

I will very glad
Yurek3
Guys check plese this autounattended.xml will workin or not

CODE
<?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>0415:00000415</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-US</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">
            <UserData>
                <ProductKey>
                    <WillShowUI>OnError</WillShowUI>
                    <Key>XXXX</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>Yurek</FullName>
                <Organization>Heaven</Organization>
            </UserData>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows Vista ULTIMATE</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>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </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>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:\AppzRoot.txt SETX AppzRoot %i: -m";</Path>
                    <Order>2</Order>
                    <Path>cmd /c %AppzRoot%GROM\WPI\WPI.hta /sAll /rs</Path>
                                <Description>Open WPI</Description>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>10</Order>
                    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</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>5</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <TimeZone>Central Time (US&Canada)</TimeZone>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:h:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
FireGeier
Hello Yurek!

Change this here inside Autounattend.xml,

CODE
<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:\AppzRoot.txt SETX AppzRoot %i: -m";</Path>


to:

CODE
<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:\AppzRoot.txt SETX AppzRoot %i: -m"</Path>


The ";" supposed not to be there. Don't know for the moment where it's comming from, but just remove it manually from your Autounattend.xml.

Regards,
Martin
Yurek3
THX i will try thisone script now
Yurek3
UA Vista Work perfectly but i do not now why do not open WPI.exe.
After installation do klik wpi.hata is ok work.
I will try with othet aplikations.
Yurek3
Thisone do not do install application too

CODE
<?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>0415:00000415</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-US</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">
            <UserData>
                <ProductKey>
                    <WillShowUI>OnError</WillShowUI>
                    <Key>6F2D7-2PCG6-YQQTB-FWK9V-932CC</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>Yurek</FullName>
                <Organization>Heaven</Organization>
            </UserData>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows Vista ULTIMATE</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>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </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>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:\AppzRoot.txt SETX AppzRoot %i: -m"</Path>
                    <Order>2</Order>
                    <Path>cmd /c %AppzRoot%GROM\office.exe /sAll /rs</Path>
                                <Description>Office 2007</Description>
                                        <Order>3</Order>
                    <Path>cmd /c %AppzRoot%GROM\AR8_ENG.exe /sAll /rs</Path>
                                <Description>Adobe Acrobat 8.0</Description>
                                        <Order>4</Order>
                    <Path>cmd /c %AppzRoot%GROM\Ashampoo.exe /sAll /rs</Path>
                                <Description>Ashampoo</Description>
                                        <Order>5</Order>
                    <Path>cmd /c %AppzRoot%GROM\NOD32.EXE /sAll /rs</Path>
                                <Description>NOD32</Description>
                                        <Order>6</Order>
                    <Path>cmd /c %AppzRoot%GROM\TUNEUPUTILITIES2007.EXE /sAll /rs</Path>
                                <Description>TUNEUPUTILITIES2007.EXE</Description>
                                        <Order>7</Order>
                    <Path>cmd /c %AppzRoot%GROM\Nero-7.5.9.0A.exe /sAll /rs</Path>
                                <Description>Nero-7.5.9.</Description>
                                        <Order>8</Order>
                    <Path>cmd /c %AppzRoot%GROM\PERFECT_DISK_8.EXE /sAll /rs</Path>
                                <Description>PERFECT_DISK_8.0</Description>
                                        <Order>9</Order>
                    <Path>cmd /c %AppzRoot%GROM\Privacy.Shield.v3.0.39.9.exe /sAll /rs</Path>
                                <Description>Privacy.Shield.v3.0.</Description>
                                        <Order>10</Order>
                    <Path>cmd /c %AppzRoot%GROM\TC.EXE /sAll /rs</Path>
                                <Description>Total Comander</Description>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>11</Order>
                    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</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>5</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <TimeZone>Central Time (US&Canada)</TimeZone>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:h:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
MAVERICKS CHOICE
@Yurek3

I take it you have a zero byte file in your root drive called Appzroot.txt? also your app dir "Grom" in the same root as well?
Yurek3
Directory GORM i haved now i did txt file Appzroot.txt in root too
CODE
boot
boot.images
elfi
GROM
sources
suport
bootmgr
setup.exe
Autounattended.xml
autorun
Appzroot.txt


thisone file Appzroot.txt should be emty
MAVERICKS CHOICE
Thats right, can't see why it won't work for you there?
Yurek3
thisone file Appzroot.txt should be emty

CODE
<?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>0415:00000415</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-US</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">
            <UserData>
                <ProductKey>
                    <WillShowUI>OnError</WillShowUI>
                    <Key>6F2D7-2PCG6-YQQTB-FWK9V-932CC</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>Yurek</FullName>
                <Organization>Heaven</Organization>
            </UserData>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows Vista ULTIMATE</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>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </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>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:\AppzRoot.txt SETX AppzRoot %i: -m"</Path>
                    <Order>2</Order>
                                        <Path>cmd /c %AppzRoot%GROM\WPI\\WPI.exe /sAll /rs</Path>
                                        <Description>Open WPI</Description>
                    <Order>3</Order>
                    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</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>5</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <TimeZone>Central Time (US&Canada)</TimeZone>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:h:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


One more time check all please
Yurek3
Now show me VMWare can not faund unattended.xml file and instalation do not be completed
MAVERICKS CHOICE
@Yurek3

No the Autounattend.xml file should reside both in the root of your dvd & in the sources folder.
Appzroot.txt is simply a 'zero byted" text file.(You need to make this with your favorite editor & name it Appzroot.txt) this identifies your appz location that tell windows where to install from.

I'm sorry can't explain this any simpler than that.
Yurek3
Should be lkie this

CODE
boot
boot.images
elfi
GROM
sources---------------------Autounattended.xml --and--Appzroot.txt there
suport
bootmgr
setup.exe
autorun


You can write likie i do both good
FireGeier
Hello Yurek!

Please look here. You'veexactly the same problem like AMIT have had.

Regards,
Martin
Yurek3
I think now should be work


CODE
<?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>0415:00000415</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-US</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">
            <UserData>
                <ProductKey>
                    <WillShowUI>OnError</WillShowUI>
                    <Key>XXXX</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>Amit</FullName>
                <Organization>Heaven</Organization>
            </UserData>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows Vista ULTIMATE</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>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </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>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:\AppzRoot.txt SETX CDROM %i: -m";</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>2</Order>
                    <Path>cmd /c %CDROM%GROM\WPI\WPI.exe /sAll /rs</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>3</Order>
                    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</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>5</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>85</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <TimeZone>Central Time US Canada</TimeZone>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:h:/vistaua/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Yurek3
Work PERFECT both do not starting WPI
I do not why
FireGeier
Hello Yurek3!

Do you have adapted wpi files to use them with Vista like described here?

Note:
You're using %AppzRoot%, so you need to change that to %AppzRoot% for WPI, too.

Regards,
Martin
Yurek3
No i useig %CDROM%

THX i will change my WPI .js Scripts

Both i think i need put to change some .reg flie
amit_talkin
QUOTE (Yurek3 @ May 16 2007, 04:28 AM) *
No i useig %CDROM%

THX i will change my WPI .js Scripts

Both i think i need put to change some .reg flie


dude...you did mistake here

you are using variable for your path
CODE
<Path>cmd /c %CDROM%GROM\WPI\WPI.exe /sAll /rs</Path>


now instead of
CODE
<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:\AppzRoot.txt SETX CDROM %i: -m";</Path>


use
CODE
<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:\AppzRoot.txt SETX CDROM %i:\ -m";</Path>


now it will work for sure.

AMIT
atolica
Hi Firegeier

I have the same problem as Amit when running a windows 7 unattended installation. I built my Autounattend.xml using the latest WAIK (WSIM). For some reason the audituser pass runsynchronous commands for installing applications don't start at all. The setup just skips that audituser step and passes to "oobeSystem".

this is what I have in specialize pass:

CODE
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"


The latest WAIK and Windows 7 introduced some changes. For start, the builtin Administrator account is disabled by default, not like in vista, where it was enabled. So I deleted the Administrator autlogon pass from "auditSystem" , and I added the "Reseal" command instead of "sysprep /audit /quiet" which hangs. The help file says the Reseal with audit option does the same thing, and this is the new way of sysprepping the system and entering the audit mode. it doesn't work. I tried letting the Administrator account and still doesn't work.

Anyways, the RunSynchronous commands don't start at all in "audituser" pass.

The system just logs on using the user I created afterwards.

I'm going to attach two versions of my Autounattend.xml, one without the Administrator autologon account.

I think that the runsynchronous commands don't start because there is no Administrator account logged on. I created one and testing it next. Let's see how it goes.

edit: didn't work. It doesn't autologon to the Administrator account. It didn't even create it.

edit2: i uploaded the original autounattend.xml, the one with the administrator account autologon. i made it starting from Firegeier's vista guide. As I already said, the administrator account is disabled by default. I cant install te applications in audit mode and sysprep. All I can do is install the apps in oobe phase, logged as a normal user. then I can't sysprep generalize no more.

I've read here on this forum that this can be done with the help of another xml file, unattend.xml used togheter with Autounattend.xml. Can't find the post. Do you know how that is done?

Greets




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.