Hi,
as for Innosetup examples, in [Source] I have:
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
and in [Files] I have:
DestDir: “{app}”;
yet the Wizard makes the installation into Program Files.
Is there a way so that the Wizard for Destination automatically selects Program Files (x86), instead of the user having to manually browse to Program Files (x86)?
To answer your original question, to install into Program Files (x86) you need to change the flag that indicates what architecture your installer is going to install. ArchitecturesAllowed=x86 x64
You also need to remove the directive ArchitecturesInstallIn64BitMode=x64