I'm using InstallShield 2010 Premiere.

I have a basic MSI project that install an application and a 32 bit driver using the Driver wizard and DifxApp.

I'm trying to add a 64 bit driver that will be installed if the system is 64 bit. However, when adding this 64 bit driver, the installation (On a 32 bit system) fails, and the only thing I found in the MSI log was:

> 
> MSIProcessDrivers return value 3.
> 
> 
> 

I didn't even get to try it on a 64 bit system.

Is there a way of accomplishing this using a single installer file?

EDIT:
I've noticed that the problem is with the DifxApp.dll. The installshield holds only 1 dll according to the LAST architecture selected for a driver: If I have 2 drivers and I set one of them to target x64, the DifxApp.dll would be the one of the x64, and the other way around when selecting x32.

I can manually insert both x64 & x32 DifxApp.dll, but I can't figure out a way to make the custom actions created by Installshield to conditionally take the x32 or the x64 dll.

Any ideas?