cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Cris_Moore
Level 5

DIFxDriverPackageInstall() fails in Windows 7 Beta

I use DIFxDriverPackageInstall() in an InstallShield script to install custom USB drivers. This call has been working fine in W2K, XP(32bit), and Vista(32bit) for some time.

When testing the install on Windows 7 Beta, the DIFxDriverPackageInstall() call fails with the following error:

ISERR_WIN_BASE + ERROR_BAD_ENVIRONMENT
The Windows version on which this call was made does not support this operation.


Does anyone know if this is an InstallShield issue or a Window 7 Beta issue?

BTW, I am able to install the drivers manually on Win 7, so I know it isn't the drivers.

Thanks.
Labels (1)
0 Kudos
(3) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

If there is a newer version of difxapi.dll in the Windows Driver Kit for Windows 7, you can replace the file in C:\Program Files\Macrovision\IS2008\Redist\Language Independent\i386 (64-bit versions in the x64 and ia64 folders) and rebuild your project.
0 Kudos
Cris_Moore
Level 5

Thanks. I'll give that a try.

joshstechnij wrote:
If there is a newer version of difxapi.dll in the Windows Driver Kit for Windows 7, you can replace the file in C:\Program Files\Macrovision\IS2008\Redist\Language Independent\i386 (64-bit versions in the x64 and ia64 folders) and rebuild your project.
0 Kudos
Cris_Moore
Level 5

That fixed it. Thanks!
0 Kudos