Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

DeployAnywhere error: A test that safeguards the integrity of the program failed unexpectedly.

Created: 19 Aug 2009
KeithBrownGDC4S's picture
0 0 Votes
Login to vote
When running DeployAnywhere on a newly loaded image, I get the following error:
Error executing Deploy Anywhere:
A test that safeguards the integrity of the program failed unexpectedly. CHECK failed, WinDeviceDriverRetargeterWin32::FindSystemInfDirectory: .\WinDeviceDriverRetargeterWin32.cpp (722): i != infDirs.end().
 
The command I used was this: X:\GHOST\GhDplyAw32.exe /target=C:\WINDOWS /ddb=E:\GhostDrivers
 
Here is what I did leading up to this:
1. Load an image that was created on another platform
2. Create a boot disk with the Deploy Anywhere DB on it
3. Eval the target using the following command:
X:\GHOST\GhDplyAw32.exe /target=C:\WINDOWS /eval /ddb=E:\GhostDrivers
This returned the following missing driver:
   type = NETWORK DEVICE
   PCI ID = PCI\VEN_8086&DEV_4229&SUBSYS_11008086&REV_61
4. I went to www.pcidatabase.com and found the Intel Driver
5. I added it to my Pre OS and created a new boot disk with the Deploy Anywhere DB included
6. With the new boot disk, I evaluatedthe target again:
X:\GHOST\GhDplyAw32.exe /target=C:\WINDOWS /eval /ddb=E:\WINDRIVERS
This only returned the message "Existing Sysprep answer file will be modified if retargeting is performed." So I assumed it liked the driver.
7. I copied the drivers from the boot disk to my custom load disk, and just to check, I redid the eval using my new disk. I got the same message, so I assumed all was well.
8. I let my load script continue. When it got to the retarget command above, I got the error.
 
Perhaps the one "strange" thing I am doing is creating my own Deploy Anywhere disk.  I am doing this because I have a script that copies other drivers (video, touchpad, etc.) into the image so that Windows will pick up the drivers of the new hardware.  The script then executes the GhDplyAw to retarget using the drivers I copied from a boot disk created from the Boot Wizard.  I wanted to keep it all on one disk to minimize disk swapping for the user. 

Perhaps there is a better way to do all this, but this process worked when loading my image onto a different piece of hardware.