zedlex
Posts: 8
Joined: Wed Dec 19, 2018 6:21 pm

ARM64 Driver Install Failure

Hello,

I have a ARM64 installer package with a directive to install an ARM64 driver but I get:

DIFXAPP: ENTER: ProcessDriverPackages()
DIFXAPP: ERROR - You need to use the 64-bit version of DIFXAPP.DLL to install drivers on this machine.
CustomAction MsiProcessDrivers returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:00:37: MsiProcessDrivers. Return value 3.

When I try to install. I've confirmed all the architectures are correct for all files so this seems to be an Advanced Installer problem - it seems to be trying to use the wrong DLL for driver install in ARM64 packages. Please let me know if I've done something wrong here, but I do believe this may be a bug. Running the latest release.
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: ARM64 Driver Install Failure

Hello,

The tool that we used for installing drivers (difx) has been long deprecated now.

Microsoft themselves recommend not installing drivers with installation packages anymore, but through online images.

Difx does not support installing drivers on ARM64 and that's why we are seeing an error here.

What I would suggest here is trying to install the driver manually using the pnputil.exe tool: PnPUtil

PnPUtil Command Syntax

PnPUtil examples

If the installation works from the command line, then we can create a custom action (e.g. a Launch File custom action) that launches pnputil.exe with the required parameters in order to install your driver.

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
zedlex
Posts: 8
Joined: Wed Dec 19, 2018 6:21 pm

Re: ARM64 Driver Install Failure

Thanks Catalin, this is actually the method we ended up going with. Appreciate the reply! Hope this helps someone else in the future.
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: ARM64 Driver Install Failure

You are always welcome! :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”