Jump to content

Need help please.


Recommended Posts

FOLDER STRUCTURE

D:\Distribution (shared on server as Distribution)

D:\Distribution\workfolder (Distribution Share)

Contains: $OEM$ Folders --> $1 --> office

Out-of-Box Drivers

Packages

D:\Distribution\source (Contents of Vista Business DVD)

D:\Distribution\configsets (Configsets Folder – created by Create Configuration Set)

Contains: $oem$ --> $OEM$ Folders --> $1 --> office

AutoUnattend_Files

AutoUnattend.xml

PROCEDURE

Boot target machine from a CD iso created by using the Oscdimg utility. At the command prompt, I map a drive to the Distribution folder on the server called WDS using the net use command. I then type in

y:\source\setup.exe /unattend:y:\configsets\autounattend.xml

I always receive this error: Windows cannot access the installation sources. Verify that the installation sources are accessible, and restart the installation. If I take out the FirstLogonCommands section, it will go through fine and start the windows installation with no errors.

I have tried:

%configsetroot%\office\setup.exe

C:\Install\office\setup.exe

D:\Distribution\configsets\$oem$\$OEM$ Folders\$1\office\setup.exe

I have tried to move the whole $oem$ folder under source\sources\ folder.

Please help me figure out what the file path is for installing an application.

CONTENTS OF AUTOUNATTEND.XML

<?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>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
<SystemLocale>en-US</SystemLocale>
</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">
- <ImageInstall>
- <OSImage>
- <InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>
- <UserData>
- <ProductKey>
<Key>ProductKey</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>User</FullName>
<Organization>Org</Organization>
</UserData>
- <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>
<Label>Local Disk</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<UseConfigurationSet>true</UseConfigurationSet>
<EnableFirewall>false</EnableFirewall>
<EnableNetwork>true</EnableNetwork>
</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>
- <Password>
<Value>password</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<RegisteredOrganization>Org</RegisteredOrganization>
<RegisteredOwner>User</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<StartPanelOff>false</StartPanelOff>
<TimeZone>My Timezone</TimeZone>
- <OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
<Order>1</Order>
[b]<CommandLine>%configsetroot%\office\setup.exe</CommandLine>[/b]
<Description>Office 2007</Description>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
<cpi:offlineImage cpi:source="wim://wds/distribution/source/sources/install.wim#Windows Vista BUSINESS" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Link to comment
Share on other sites

  • 2 weeks later...

I sense that some of the issue is to do with the long file path use and maybe needed to be encapsulated in "" to allow you access the "$oem$ folders" directory.

I'd recommend you use a data image or install directly from the server from a .cmd file that is called from the XML file and has the mapped paths to a share where you want to deploy from.

I see confuision in your post as well as you are using a d: path and you have a y: share and d: is being used as the main boot device / drive on the PC and hence as it goes through the install it loses the source location as you have hard coded it in your autounattend.xml file by what i can gather.

I hope that makes sense.

Gwido

Link to comment
Share on other sites

  • 5 months later...

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