Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7020247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:17:37+00:00 2026-05-27T23:17:37+00:00

I have a Wix project from which I would like to install 32-bit drivers

  • 0

I have a Wix project from which I would like to install 32-bit drivers when built with the x86 release configuration and 64-bit drivers when built with x64.

The way I am doing this just now is with two identical projects but one referencing difxapp_x86 and the other referencing difxapp_x64. Can I improve on this?

Also, if I reference difxapp_x86 and build the 64 bit version, then unsurprisingly I get the msi error:

“DIFXAPP: ERROR – You need to use the 64-bit version of DIFXAPP.DLL to install drivers on this machine.”

Is it possible to reference these conditionally based on the selected build configuration?

Thanks,
Alan

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:17:38+00:00Added an answer on May 27, 2026 at 11:17 pm

    I managed to find a solution to this which involved manually editing the project file.

    I changed the following part:

    <ItemGroup>
      <WixLibrary Include="difxapp_x86">
        <HintPath>C:\Program Files\Windows Installer XML v3.5\bin\difxapp_x86.wixlib</HintPath>
        <Name>difxapp_x86</Name>
      </WixLibrary>
    </ItemGroup>
    

    To the following:

    <ItemGroup>
      <WixLibrary Include="difxapp_$(Platform)">
        <HintPath>C:\Program Files\Windows Installer XML v3.5\bin\difxapp_$(Platform).wixlib</HintPath>
        <Name>difxapp_x86</Name>
      </WixLibrary>
    </ItemGroup>
    

    Now the path to the reference will be determined by state of the Platform variable. Hope it helps others with the same requirement.

    Alan

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I have a Wix (Votive) Visual Studio project which creates an MSI from
I have a WiX installer that I would like to check for .Net 3.5,
I have a WIX Installer project, which installs my product. The code was not
I have inherited a WiX project from a contractor that recently left. When I
I have a wix setup project, I build it and install it using following
We currently have a Database Project, which we wrote a WIX Installer for to
I have a an installer that is created from a setup project and built
I am using WIX for my application's setup project, I have to install device
I have a WiX project that I am working on which includes a Windows
I have a WiX (Windows installer XML) v3, project which contains references to other

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.