Jump to content

What is wrong with it?


Recommended Posts

Hi, Everybody,

After working hard at it to make my first unattended vista ISO file tested in vmware perfect working like charm,

But whan I burn it to DVD and try to installed by DVD started OK and than give me this error

(Windows setup Encountered an internal error while loading or searching for an unattend answer file)

Here is my autounattend.xml file any one know where am I going wrong please let me know.

best regards.

:no:

<?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>en-us</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">

- <DiskConfiguration>

- <Disk wcm:action="add">

- <CreatePartitions>

- <CreatePartition wcm:action="add">

<Extend>true</Extend>

<Order>1</Order>

<Type>Primary</Type>

</CreatePartition>

</CreatePartitions>

- <ModifyPartitions>

- <ModifyPartition wcm:action="add">

<Active>true</Active>

<Format>NTFS</Format>

<Letter>C</Letter>

<Order>1</Order>

<PartitionID>1</PartitionID>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

</DiskConfiguration>

- <ImageInstall>

- <OSImage>

- <InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

</OSImage>

</ImageInstall>

- <UserData>

- <ProductKey>

<Key></Key>

</ProductKey>

<AcceptEula>true</AcceptEula>

<FullName>Mark Minasi</FullName>

<Organization>MR&D</Organization>

</UserData>

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

<ComputerName>*</ComputerName>

<TimeZone>Eastern Standard Time</TimeZone>

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

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

- <Password>

<Value></Value>

<PlainText>false</PlainText>

</Password>

<Description>test user</Description>

<DisplayName>Mark Minasi</DisplayName>

<Group>administrators;users</Group>

<Name>Mark</Name>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

- <OOBE>

<HideEULAPage>true</HideEULAPage>

<NetworkLocation>Work</NetworkLocation>

<ProtectYourPC>1</ProtectYourPC>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

</component>

</settings>

<cpi:offlineImage cpi:source="wim:f:/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

Link to comment
Share on other sites


Where do you have the xml reside in Sources dir or root of the dvd? When booting off the dvd generally needs to be in the root.

Thanks a lot for quick reply,

I Tryed it in both ways in the root dir and the Sources dir, and got the same error.

Link to comment
Share on other sites

Mine boots & installs off the dvd with the xml in both places. Naturally you have your machine bios set correctly i take it?

Thanks

MAVERICKS CHOICE,

Yes I put it in both places and it's working perfect, thanks again. Now I have to find best way to integrate it with WPI.

best regards.

:thumbup

Edited by 1to1
Link to comment
Share on other sites

No worries, I have wpi 5.6 working a treat you just have to alter the core.js with the following check your layout though..

/ %CDROM%

li = GetDriveLetters(4);

for (i=0; i<li.length; i++)

{

(FileExists(li+'\\WPI.HTA') || FileExists(li+'\\AppsRoot.txt') || FileExists(li+'\\sources\\install_Windows Vista (vLite) ULTIMATE.clg'))

NB: I'm using my ultimate catalogue file to identify wpi & put a zero byte txt file in the root of the dvd named "AppsRoot.txt" to get the relevant drive letter.

Then just include all the wpi dir's & put them in the root as you did in XP.

Add this to RunSynchronousCommand in the Specialize pass

<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<RunSynchronous>

<RunSynchronousCommand wcm:action="add">

<Order>1</Order>

<Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i:\ -m"</Path>

<Description>Path</Description>

</RunSynchronousCommand>

& with this to call WPI in SynchronousCommand during OOBE pass

</SynchronousCommand>

<SynchronousCommand wcm:action="add">

<CommandLine>%AppsRoot%WPI\WPI.hta</CommandLine>

<Description>WPI Application Installer</Description>

<Order>120</Order>

</SynchronousCommand>

You can easily alter XML ans file using the wim.

Edited by MAVERICKS CHOICE
Link to comment
Share on other sites

No worries, I have wpi 5.6 working a treat you just have to alter the core.js with the following check your layout though..
// %CDROM%

li = GetDriveLetters(4);

for (i=0; i<li.length; i++)

{

(FileExists(li+'\\WPI.HTA') || FileExists(li+'\\AppsRoot.txt') || FileExists(li+'\\sources\\install_Windows Vista (vLite) ULTIMATE.clg'))

cddrv = li;

}

if (cddrv=="")

{

a = fso.GetAbsolutePathName(".");

while (a.length>=3)

{

if (FileExists(a+'\\WPI.HTA'))

{

cddrv=a;

break;

}

if (a.length==3)

break;

a = a + "\\..";

a = fso.GetAbsolutePathName(a);

NB: I'm using my ultimate catalogue file to identify wpi & put a zero byte txt file in the root named "AppsRoot.txt" to get the relevant drive letter.

Then just include all the wpi dir's & put them in the root as you did in XP.

You also need to call wpi ideally from syncronous, oobe pass,

eg. first logon commands in your ans file easily done from with in the wim.

Thanks for the tip I am gone have go at it I will let you know how I am getting on with it.

kind regards.

Link to comment
Share on other sites

NB: My bad altered the above info now corrected.

Hi MC!

thanks for your help I've gotted working just right every thing unattenede installed vista and Wpi with all the apps,

my next job is to integrate device drivers,

regards.

Link to comment
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...