Windows compatibility mode

From ISXKB

(Difference between revisions)
Jump to: navigation, search
(HKCU changed to HKLM)
Line 17: Line 17:
''Taken from Andrew Martins [http://news.jrsoftware.org/news/innosetup/msg29757.html post in the INNO news groups].''
''Taken from Andrew Martins [http://news.jrsoftware.org/news/innosetup/msg29757.html post in the INNO news groups].''
 +
 +
The same key structure is available under HKCU, but that should not be changed from an installer unless the installation works on a per-user basis.
[[Category:Applications]]
[[Category:Applications]]
[[Category:Windows Vista]]
[[Category:Windows Vista]]

Revision as of 23:51, 3 May 2009

Some applications do not run properly or look good when running under XP or Windows Vista. If you want to set the application compatibility mode you can use the following registry key:

[Registry]
Root: HKLM; Subkey: "Software\Microsoft\Windows
  NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName:
  "{app}\program.exe"; ValueData: "WIN98"; Flags: Uninsdeletekey

Replace the ValueName with the location and name of your program and the ValueData with the Windows version you want to use:

  • WIN95 - Windows 95
  • WIN98 - Windows 98 / Me
  • NT4SP5 - Windows NT4.0 (Service Pack 5)
  • WIN2000 - Windows 2000
  • WINXPSP2 - Windows XP (Service Pack 2)

Taken from Andrew Martins post in the INNO news groups.

The same key structure is available under HKCU, but that should not be changed from an installer unless the installation works on a per-user basis.

Personal tools
Ads: