DeployAnywhere is properly detecting critical and non-critical drivers but the drivers are not being installed to the destination OS (%systemdrive% issue)

Article:TECH197032  |  Created: 2012-09-20  |  Updated: 2012-11-29  |  Article URL http://www.symantec.com/docs/TECH197032
Article Type
Technical Solution

Environment

Issue



DeployAnywhere is properly detecting critical and non-critical drivers but the drivers are not being installed to the destination OS. (%systemdrive%)


Error



When this occurs with critical drivers the system will not boot into production.


Environment



All DS 7.x versions


Cause



The %systemdrive% variable that is being used in the unattend.xml file is not being properly resolved by Microsoft's Minisetup utility


Solution



Before implementing this solution consult with Symantec Technical support to ensure that the DeployAnywhere (DA) being used is the latest version and that DA is properly finding the drivers.  If the above has been checked and the drivers are still not being installed please do the following:

  1. Create a Deploy Image Job with two tasks:
    1.  Deploy Image - with 'Include DeployAnywhere for hardware independent imaging' checked
    2.  Run Script-  Set the 'Script type' to 'vbscript' and paste the following into the task:

' Modify varSysDrive to be the actual Windows "drive" letter as seen in

' production after rebooting.  c:\ will generally suffice

varSysDrive = "c:"

 

' Modify varAutoProdDrive to be the production drive as "seen" in automation.

' Automation uses X and production is usually c, but you may need to verify.

' If the OS is Windows 7 and a System Recovery partition is on the hard drive the drive will be 'd:\'

 

varAutoProdDrive = "d:"

 varUnattend = varAutoProdDrive & "\Windows\Panther\Unattend.xml"

'msgbox varUnattend

Set objFSO = CreateObject("Scripting.FileSystemObject")

Set objFile = objFSO.OpenTextFile(varUnattend, 1)

 

strText = objFile.ReadAll

objFile.Close

strNewText = Replace(strText, "%SystemDrive%", varSysDrive)

'msgbox strNewText

 Set objFile = objFSO.OpenTextFile(varUnattend, 2)

objFile.WriteLine strNewText

objFile.Close

 

c.      Modify the script as noted in the script to match your environment

 

Note:  As this is a Microsoft issue Symantec is working with them to address this issue in a more permanent way.


Supplemental Materials

SourceETrack
Value2731470
Description

   DeployAnywhere is unable to retarget an Intel video card on an Compaq 8100 Elite SFF.



Article URL http://www.symantec.com/docs/TECH197032


Terms of use for this information are found in Legal Notices