Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Adding a USB driver installer to a setup and deploy project
 

Adding a USB driver installer to a setup and deploy project

I have been able to recertify some USB drivers and install them on Vista 64 and Windows 7 64 bit. These drivers are used by my Windows application and I have been able to package the windows application and the certified UBS drivers in one VS 2008 setup & deploy install package.

The issue is the new .msi is not certified so windows displays the “do you want to allow the following program from and unknown publisher to make changes to the computer?�/p>

Apparently if I create a install program with my application and the USB install it always is included I the .msi which means I cannot certify the .msi. From what I have read my only option is to use the BMG.

I have started reading the documentation and I am confused enough to ask if this is the correct path and if anyone has any hints on using the BMG to install a USB driver?


BarberColman  Tuesday, September 29, 2009 6:57 PM

You don't "certify" the setup - you sign it after building it. You'll needa certificate and a post-build step using signtool.exe.

After that it will display the publisher (the name on the certificate).


Phil Wilson
PhilWilson  Tuesday, September 29, 2009 11:45 PM
Sorry I was not clear. I have the certificate from signining the USB drivers and used it to sign the .msi. At this point it quite installing on Windows 7 x64. Either the signing caused an issue or I changed something. I am going back a few versions and retesting to see which caused the problem.

We signing a msi do anything to the signed drivers in the msi?
BarberColman  Wednesday, September 30, 2009 6:20 PM

Hi BarberColman,

You said: Either the signing caused an issue or I changed something. I am going back a few versions and retesting to see which caused the problem.

Could you please provide more information about the problem?

You can get more information about sign tool from:
http://msdn.microsoft.com/en-us/library/aa387764(VS.85).aspx

Regards,
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Thursday, October 01, 2009 8:02 AM

Hi,

We are changing the issue type to “General Discussion” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Wednesday, October 07, 2009 6:38 AM

You can use google to search for other answers

Custom Search

More Threads

• Servername parameter in custom action
• my app cannot find help files after installation
• Click once doesn't launch installer
• How to generate ClickOnce manifests with MSBuild off a folder with prebuilt WinFroms app
• setup project error in custom action
• Deploy strong-name assemblies as private assemblies
• ClickOnce Deployment of a Winforms Web Services Disributable App
• How to make Edit1Value Mandatory Field in Textboxes Dialog
• Delete user.config with deinstallation
• Optional Signing ClickOnce Manifest on Windows Vista Fails