vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 1 | android_winusb.inf file contained in this folder must be used to install
|
| 2 | WinUsb framework on customers machines. In order to build installation
|
| 3 | package that is compliant with android_winusb.inf, you need to create
|
| 4 | the following tree:
|
| 5 |
|
| 6 | Root of the installation folder must contain:
|
| 7 | * File android_winusb.inf - Installation file
|
| 8 | * File androidwinusb86.cat - Signed catalog for 32-bit package
|
| 9 | * File androidwinusba64.cat - Signed catalog for AMD 64-bit package
|
| 10 | * Subfolder i386 containing files for 32-bit installation:
|
| 11 | * WdfCoInstaller01007.dll
|
| 12 | * WinUSBCoInstaller.dll
|
| 13 | * WUDFUpdate_01007.dll
|
| 14 | * Subfolder amd64 containing files for AMD 64-bit installation:
|
| 15 | * WdfCoInstaller01007.dll
|
| 16 | * WinUSBCoInstaller.dll
|
| 17 | * WUDFUpdate_01007.dll
|
Raphael Moll | c9533ad | 2012-08-27 09:25:24 -0700 | [diff] [blame] | 18 |
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 19 | File contained in i386 and amd64 subfolders are Microsoft distributives needed
|
| 20 | to install WinUsb framework. These files can be obtained from WDK 'redist'
|
| 21 | folder, respectively to the OS: copy x86 files to i386 subfolder, and amd64
|
| 22 | files to amd64 subfolder.
|
| 23 |
|
| 24 | android_winusb.inf file can be modified in order to provide support for the
|
| 25 | devices that were not available when Android SDK was shipped. To do that,
|
| 26 | modify [Google.NTx86], [Google.NTamd64], and [Strings] sections of .inf
|
| 27 | file to add descriptions for new devices and interfaces. Note that when .inf
|
| 28 | file is modified, .cat files must be rebuilt and resigned in order to keep
|
| 29 | integrity of the installation. Failure to rebuild and resign .cat files will
|
| 30 | not break the installation, but it will cause security warnings (that can be
|
| 31 | dismissed) to pop up at the installation time.
|
| 32 |
|
| 33 | As an alternative to modification, android_winusb.inf file can be used as a
|
| 34 | template to create new .inf file for new devices. Note that you also need
|
| 35 | to build and sign new .cat files for that custom .inf file of yours.
|
| 36 |
|
| 37 | The simplest way to create .cat files would be using inf2cat.exe utility,
|
| 38 | available in WDK at bin\SelfSign folder. To use this utility you will need to
|
| 39 | create an installation folder a sdesribed at the beginning of this document,
|
| 40 | and run inf2cat.exe on .inf file at the root of installation folder.
|