vijay
Posts: 26
Joined: Wed Feb 22, 2017 1:28 pm

Extract Drivers with "ExtractFilesFirst=1" property

Hi all,

I have created one .exe file that will install a driver(For x64 bit version). If I extract the driver files,it working fine on x64 bit platform. If we run the same .exe on x86 platform,getting "platform unsupported" error. But I need to extract the driver files on any of the platform. So Extraction of driver files should not be platform dependent. Is there any possibilities for this behavior?


Thanks,
Vijay.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Extract Drivers with "ExtractFilesFirst=1" property

Hello Vijay,

Indeed, when running a 64-bit package type on a x86 machine you will get the following error message:
x64 package.png
x64 package.png (19.08 KiB) Viewed 2645 times
You can read more about this in the Advanced Installer Package Types article.

When you are in need of creating only one setup package for 32-bit and 64-bit versions of your driver installation files (INF, DLL, CAT, etc.) then you need to create a mixed package type. This way, the package runs as a 32-bit package on 32-bit systems and as a 64-bit package on x64 systems.

The .MSI does not support mixed package type, thus the package type will be turned into an .EXE package type. The .EXE bootstrapper built by Advanced Installer is a 32 bit one, this contains the x86 and x64 MSI files as well as the files to be installed from the CAB. When launched the EXE checks for the operating system architecture and it launches the correct MSI.

For details, please check the How do I install drivers in a mixed package? article.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”