Inno Setup Install Ftdi Driver
Hi All, I am trying to install driver using INF file from command line using rundll32.exe. Following is the command which I am using: rundll32 setupapi, InsatllHinfSection DefaultInstall 132.inf But it is failing consistantly with message boc 'Installation Failed'. If I right-click on the same INF file and 'Install', then driver is installed properly. Btc Mouse And Trackpad here. If I use this same command on x86 platform then also it works fine. After searching I came to know that this is the same command which I need to use to install driver using INF on Windows 64 bit version. Am I doing something wrong? Please help me out in this.
Thanks in advance. -Satej PrabhuPatkar. Greetings, I've learned a lot about this particular method.
In short, starting in Vista, DefaultInstall sections will need to be platform specific if the platform is specific:) DefaultInstalls which fail with 'Installation Failed' will succeed if the section is decorated (e.g. DefaultInstall.amd64) However, it should be understood, you can't actually install a driver this way.
DefaultInstall is a legacy method which will only (1) copy files and (2) create a service section. Nothing else (for the most part). Driver Installation is more complicated than this and indeed, DefaultInstall also has no concept of what a signed driver is and the CAT file will never be properly moved over the the CATDB. FYI (See: ) and Note The INF file of a must not contain an INF DefaultInstall section if the driver package is to be digitally signed.
Signed Driver Walkthrough. Pete Batard edited this page Jan 1, 2018 18 revisions. Can be referenced from the Inno Setup/NSIS installer.