x64 - Helmut-Ortmann/EnterpriseArchitect_hoTools GitHub Wiki

x64 Add-Ins

EA 16. supports 64Bit (x64). AddIns have to run as 64Bit (x64) AddIns. This guide shows you how to migrate your Visual Studio AddIn which uses a WIX setup project.

With VS2019 and WIX I can build, debug and run my AddIns for x86 and x64. Two WIX/VS installation projects which refer to the same code, the same WIX file definitions, compiled and build to x86 or x64. The work is doing VS2019 and WIX. EA loads the x86 or the x64 Addin. You may install both at the same time.

The differences are:

  • Target Configuration x86/x64, settings in VS/WIX
  • Change the path to the registration of AddIn (EAAddins64, instead of EAAddins)
  • New installation folder to distinguish between x86 and x64
  • Give the Wix output in the two WIX setup-projects, a different name (MyAddin.msi and e.g. MyAddin64.msi)

The procedure:

  • Make a configuration for x64
  • Make a new WIX Setup-Project for x64
  • I copied the existing and modified the project GUID (new) and the X86 entry to X64, giving the installation project a new name
  • Changed the installation folder to "MyFolderX64" or so
  • Replaced the EA Add-In registration by EAAddins64, instead of EAAddins
  • Build for the target environment (x86 or x64)

References