InstallShield 2010 Premiere: 64 bit & 32 bit driver installation

driverinstallationinstallshieldwindows-installer

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?

Best Answer

Well, as I failed to find a proper solution using the InstallShield wizard, I came back to my own custom actions which called the DPInst.exe instead. Each Custom action is triggered conditionally depending on the type of the operating system. 64bit custom action will call the DPInst.exe 64bit version and the same goes for 32bit.

Related Topic