even with ArchitecturesInstallIn64BitMode=x64 the installer tries to install into programs x86 on Windows 11 ARM

209 views
Skip to first unread message

Matthias Rebbe

unread,
Oct 3, 2022, 6:25:36 PM10/3/22
to innosetup
Hi,
i've created an installer for a native 64bit Windows app using the ArchitecturesInstallIn64BitMode=x64 option.
When installing on a Windows 64bit system  the target path is correctly set to "program files", but when i try use the installer on Windows 11 ARM then the target folder is set to "program files x86".

So my question is, is this the correct target path, or where should a native x64 app be installed in on Windows ARM64? And is there anything i have to add to the .iss script?

Regards,
Matthias

Gavin Lambert

unread,
Oct 3, 2022, 8:40:54 PM10/3/22
to inno...@googlegroups.com
On 4/10/2022 11:25, Matthias Rebbe wrote:
> i've created an installer for a native 64bit Windows app using the
> ArchitecturesInstallIn64BitMode=x64 option.
> When installing on a Windows 64bit system  the target path is correctly
> set to "*/program files/*", but when i try use the installer on Windows
> 11 ARM then the target folder is set to "*/program files x86/*".

If you also support native 64-bit ARM, then add "arm64" to the
ArchitecturesInstallIn64BitMode, as documented. You may also need to
add checks to your [Files] to install the appropriate ones.

Jernej Simončič

unread,
Oct 4, 2022, 5:04:08 AM10/4/22
to Matthias Rebbe on [innosetup]

On Tuesday, October 4, 2022, 00:25:36, Matthias Rebbe wrote:


So my question is, is this the correct target path, or where should a native x64 app be installed in on Windows ARM64? And is there anything i have to add to the .iss script?

Inno Setup does not yet detect support for running x64 programs on ARM64 Windows 11.

 

-- 
< Jernej Simončič ><><><><>< https://eternallybored.org/ >


History doesn't repeat itself -- historians merely repeat each other.
       -- First Rule of History

Matthias Rebbe

unread,
Oct 4, 2022, 8:06:17 AM10/4/22
to innosetup
Hi and thanks for your answers.

So, then i will live with it, that the x64 program is installed in Program Files x86 on Windows 11 ARM64.

Regards,
Matthias

David Hollman

unread,
Nov 1, 2022, 10:35:23 AM11/1/22
to innosetup
On Tuesday, October 4, 2022 at 5:04:08 AM UTC-4 Jernej Simončič wrote:

Inno Setup does not yet detect support for running x64 programs on ARM64 Windows 11. 


Is this something that is in the works for some future Inno Setup version ?
Reply all
Reply to author
Forward
0 new messages