The installer: LifeCam1_3VX.exe extracts itself to a randomly named folder in the root of C:\ and exposes three components of this installation:
- DirectX 9
- Windows Media Format 11 Runtime
- LifeCam driver software
Ok you just performed the first step in untangling the driver software!
You might notice that the LifeCam driver software is a .msi. But there are some issues with it, this msi won't install if not run from the setup.exe. When forced by adding LIFECAMGUID="C1751519BDE8403dB8A46BF319EFD5ED" to the "msiexec /i" command line it would try to install, but initiate a rollback at the end of the installation.. :-( I was able to trace it to a custom action dll returning an error code but I wasn't able to fix this.
So I decided to repackage the driver software. I wanted a clean msi without the DirectX and WMF 11 Runtime so here is what I did:
1. Manually install the DirectX9 provided in the installation (This is the october2006 release and not the standard DirectX9c!)
2. Manually install the wmf11dist.exe provided in the installation
3. Start the Wise capture and initiate the first snapshot
4. Install the complete LifeCam software by starting setup.exe. This will install DirectX and WMF 11 again but this won't be included in the capture for those files where already installed. You might need to turn off smartmonitor for a clean capture.
5. Take the second snapshot and filter out the modified DirectX and WMF 11 stuff. If you're not shure you can check what installation modified the entry by capturing a second DirectX installation or WMF 11 installation. All HKCU keys can be removed. Also, the HKLM\Software\Microsoft\Windows\CurrentVersion\Run\ key has little use.
Ok so now you can make three packages for each component. Lifecam works with the DirectX9-Feb2007 release so I packaged that. For help see elsewhere on appdeploy (DirectX 9 page), I encapsulated the installer in a msi and used a custom action to install it silently with the /silent parameter. The same I did for the latest WMFDist11-WindowsXP-X86-ENU.exe. This one installs silently with the /Q:A parameter.
Now you can install LifeCam by installing the three packages. The original installer used this order: DirectX -> Wmf -> LifeCam.
I successfully managed to deploy LifeCam 1.4 without recapturing the software. Create an admin point of the MSI, then manually copy over the DIFxAPI subfolder from the original supplied source files as the admin install misses this folder. Ensure the following properties are added to the MST:
If like us you just wish to install the drivers and not all the software follow the instruction above to get the installation folder contents. Navigate down through to find the drivers32 VX1000 Vx3000 which ever camera you have.
Copy this folder to somewhere and copy microsoft dpinst.exe which is apart of the microsoft driver install framework. Don't have the link to hand but a quick google will find it.
Run the dpinst.exe from within the driver folder with a '/s' and drivers installed.