Jump to content

Recommended Posts

Posted

Hi all,

 

Im not sure if this is the right place for this but here goes.

 

I recently purchased 30 cheapie cheap webcams to use around the school on various desktops and laptops, first ensuring they have signed drivers. The driver install (in .exe format) works fine on the workstation I am trying to build a package from (checking in Device Manager confirms they are indeed signed) but when allocated they only install under an Admin account and display as unsigned in Device Manager. I have since found that the RM Package builder (or in fact any .msi creation tool) removes the drivers signature during the build process. I have also tried searching for alternate drivers, extracting the drivers from the .exe and deploying the .exe rather than creating an .msi, all with no success.

 

Has anyone had a similar problem before and managed to overcome it?

 

Thanks,

Michael

Posted

They way I build signed driver packages is as follows:

 

  1. Get the raw driver files (i.e. the .sys, .inf, and .cat files that you would point to when installing using using the Add New Hardware wizard)
     
  2. Author a simple MSI using Advanced Installer that intalls these to a folder on the target machine
     
  3. Use Orca to add the DIFxApp merge module which sets that new directory up as a search location for the Add New Hardware wizard.

 

If the drivers are not signed by Microsoft (i.e. WHQL) then you may also need to add the signing signature as a Trusted Publisher. You can extract this as follows:

 

  1. Select the .cat file for the drivers, right-click, and select Properties
  2. Click the Digital Signatures tab
  3. Select the signer name and click Details
  4. Click View Certificate
  5. Select the Details tab and click Copy to File
  6. Follow the prompts to save as a DER encoded .cer file

 

You can then add this to Trusted Publishers on your domain via Group Policy. Not sure of the process for doing that on an RM network, and it sounds like that's what you're using. Hopefully someone with experience can clue you in, or even better if your drivers are WHQL signed this step will be unnecessary.

 

It took a bit of time to get all the required tools together from Microsoft as they don't give you a clear ideas of where to find them. I eventually found that the latest versions of Orca can be found in the Windows Installer 4.5 SDK download, but for the merge module itself you have to download the Windows Driver Kit from Microsoft Connect.

 

 

I'm well aware this does not like like the simplest way to go about it but I'm pretty familiar with Orca and the MSI database schema so it didn't take me too long to get working. Now that I have it all set up I can go from a driver package to deployed MSI in about 15 minutes, including testing. It works every time.

  • Thanks 4
Posted
@AngryTechnician - Great bit of information there, if ever there was something that desperatly wanted a wiki article it is this as it is one of the most poorly documented issues on the web. :)
Posted
When you say use Advanced Installer, is that just to create the original MSI? So if you have an MSI that puts the driver files somewhere all ready you can go straight to step 3?
Posted

Yes, and yes.

 

Advanced Installer is one of my favourite pieces of software because the Freeware version creates nice clean MSIs that are ripe for augmenting using Orca. I'd love to have the paid version, but it's quite pricey, and by now I've taught myself how to do most of the extra stuff I need (drivers, installing services, etc) by using Orca. I just hope Caphyon never find out how easy it is to do.

 

...oh wait. BUGGER.

  • 1 month 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



×
×
  • Create New...