From: Pete Batard <pbatard@gm...> - 2013-11-12 18:48:38
[copying the list, as I forgot to do so with earlier reply]
-------- Original Message --------
Subject: Re: [libwdi-devel] installer_x86.exe from Zadig extract files
fails on Windows 7 32bit
Date: Mon, 11 Nov 2013 21:22:52 +0000
From: Pete Batard
To: Ben Skelton
On 2013.11.11 08:53, Ben Skelton wrote:
> I hope that this is the correct forum to ask user questions.
Yes it is.
> I have downloaded Zadig and I am able to install drivers from the
> application. However, I need to be able to use the extracted files
> running installer_x86.exe
No you don't. installer_x86.exe is an *internal* libwdi application that
is not meant to be used as a standalone installer.
If you want a driver installer that you can run from the commandline,
then you should use one of wdi_simple or zadic, from the libwdi examples
directory, or create your own command line sample around libwdi.
> I can extract the files to the default location and then open a shell
> and call installer_x86.exe. The expected dialog asking to escalate
> permissions is shown and I select OK, or yes or whatever the option is.
> A window opens quickly running installer_x86.exe (something is
> displayed, but it flashes too fast for me to see what it says). After
> the window disappears, a window called Program Compatibility Assistant
> opens saying that the program might not have installed correctly.
> Choosing any of the options it presents does not help.
Again, that's because neither installer_x86.exe or installer_x64.exe are
meant to be run from the commandline.
> I have tried working with libwdi attempting to build it on my system.
Good. You will need that to use the commandline samples above.
> When I downloaded and installed WDK 7.1.0 (7600.16385), I saw that it
> installed files like ./wdf/x86/WdfCoInstaller01009.dll. Running
> ./configure --with-ddkdir pointing to the WDK fails with configure
> cmplaining that it cannot find 01011 versions?
Add a --with-wdfver=1009 (or run ./configure --help)
The default configure is set to build for Windows Vista or later (in
which case you'll need the 1011 WinUSB files from the Windows 8 WDK).
If you need XP support, or use an earlier WDK, you need to use 1009.
See the note at the top of
> WDK did not install these.
If you install the Windows 8 WDK (or the WDK redist - can't remember
right now), you will get these.