32 Bit compatibility - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Ralphr
Posts: 2
Joined: Fri Aug 15, 2008 2:20 pm

32 Bit compatibility

I have some software that uses 3rd party dll's and it will only run on 64 bit XP or Vista if the shortcut is right-clicked and on the compatibility tab a 32 bit version of XP is selected.
Is it possible using Advanced installer to install on 64 bit PC's with compatibility for 32 bit set?

Thanks
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Re: 32 Bit compatibility

Hi,

I think you can create a REG_SZ registry value under the following keys (per-user):

Code: Select all

HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
(or per-machine):

Code: Select all

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
specifying the "Value" name as the full path of the executable and the "Data" field can be set to one of:

Code: Select all

WIN95 WIN98 NT4SP5 WIN2000 WINXPSP2 WINSRV03SP1
Additionally, depending on the operating system, you can also append one or more of the following (space separated, values supported in Vista):

Code: Select all

256COLOR 640X480 DIASBLETHEMES DISABLEDWM HIGHDPIAWARE RUNASADMIN
For instance, "RUNASADMIN" will enable the program to require elevation in Vista when it is launched through the shortcut.

An example project is attached. Look in the Registry page under the HKLM hive - you can drag-and-drop the whole registry branch starting with "Microsoft" under HKCU so that the settings are made per-user.

In the Organization page you can set a Condition for the "AppCompatReg" Component (for instance, use VersionNT64 such that the registry entry is created only on 64-bit Windows).

Hope this helps.

Regards,
Ionut
Attachments
ExampleAppCompat.zip
(1.91 KiB) Downloaded 442 times
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”