inkey
Posts: 1
Joined: Mon Dec 07, 2020 4:22 am

Single `.exe` for each architecture (x86, x64, arm, arm64)

I have one version for each architecture, say:

- MyProgram_x64.exe
- MyProgram_x86.exe
- MyProgram_arm.exe
- MyProgram_arm64.exe

It one is for one architecture. How I can create one installer (MSIX) for each one? There's a option to create one installer for each architecture (in the "Build" page), but it doesn't have a option to specify what is the `.exe` for each one.

--------------

I would like to have one installer for each `.exe`, say `installer_x64` will install the `MyProgram_x64.exe` and `installer_x86` will install the `MyProgram_x86.exe`. Also, each installer will only have their own `.exe`(to save bandwidth).

---------------

I'm using the free version, the Advanced Installer Express.
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Single `.exe` for each architecture (x86, x64, arm, arm64)

Hello and welcome to our forums,

Yes, it is possible to achieve what you want.

In order to achieve this, you can make use of the MSIX Bundle.

Here are the steps you can follow:

- in "Builds" page, add an "MSIX Build"

- select the required "Architectures"

- under "Package" section, please select "Create a bundle with individual packages inside" option

- now we will need to use the "Edit Source Path Per Build"

In order to better understand this, let's work on an example. Let's say we have two executables: sample.exe and sample_x64.exe

In "Files and Folders" page, we add sample.exe. We then add the MSIX Build in "Builds" page and configure it accordingly:

BuildsPage.png
BuildsPage.png (46.18 KiB) Viewed 2107 times

In "Files and Folders" page, double click on the "sample.exe".

EditSource.png
EditSource.png (100.47 KiB) Viewed 2107 times

In the "Edit Source Path per Build" dialog, we can see that "sample.exe" is attached to the x86 build.

If we want to attach sample_x64.exe to the x64 build, we can proceed as it follows:

- expand the "Build" drop-down button and select the "x64" build

- select the "Use specific path" option and point to the x64 exe

- click "Ok"

Hope this helps!

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

Return to “Building Installers”