Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


amit_talkin

cant install apps during setup

Recommended Posts

Thisone do not do install application too

<?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>

Share this post


Link to post
Share on other sites

@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?

Share this post


Link to post
Share on other sites

Directory GORM i haved now i did txt file Appzroot.txt in root too

boot
boot.images
elfi
GROM
sources
suport
bootmgr
setup.exe
Autounattended.xml
autorun
Appzroot.txt

thisone file Appzroot.txt should be emty

Edited by Yurek3

Share this post


Link to post
Share on other sites

thisone file Appzroot.txt should be emty

<?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

Edited by Yurek3

Share this post


Link to post
Share on other sites

Now show me VMWare can not faund unattended.xml file and instalation do not be completed

Edited by Yurek3

Share this post


Link to post
Share on other sites

@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.

Share this post


Link to post
Share on other sites

Should be lkie this

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

Share this post


Link to post
Share on other sites

I think now should be work

<?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>

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

No i useig %CDROM%

THX i will change my WPI .js Scripts

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

Share this post


Link to post
Share on other sites
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

<Path>cmd /c %CDROM%GROM\WPI\WPI.exe /sAll /rs</Path>

now instead of

<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

<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

Edited by amit_talkin

Share this post


Link to post
Share on other sites

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:

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

Autounattend.xml

Autounattend2.xml

Edited by atolica

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...