cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How identify driver locations

I am trying to package ActiveSync 7.1. The package works but when I plug in the PocketPC it can't find the location of the driver. I have to manually point it to C:\Program Files\Microsoft ActiveSync\drivers.

I already did a comparison using snapshop from the original install.

There has to be a way to tell it where to look but I don't know.
(4) Replies
I am not sure if this helps or not I need a few more details but it sounds like the function you need is build in to Adminstudio under System Searches.

Here is the blurb from the Help file.

InstallShield DevStudio provides the Windows Installer capability in the System Search view to locate a particular file, folder, registry key, or .ini value on a target system prior to installation. Essentially, this feature allows you to perform application, version, and configuration data searches.
When Windows is looking for plug and play drivers it looks under all the locations set in;
HKLM\Software\Microsoft\Windows\CurrentVersion DevicePath
Thanks, I found that earlier too but now my problem is how to add to the exisiting paths in that registry entry.

Any Ideas?
Yep I have used a custom action and system search for this.

SystemSearch for the DevicePath regkey, store it in a property named DEVICEPATH.
Launch the following vbscript CA in the execute sequence after AppSearch;

Function Append
newDP = Property("DEVICEPATH") & ";%ProgramFiles%\someFolder"
Property("DEVICEPATH") = newDP
End Function

with a condition of Not Installed.
Top Kudoed Authors