Windows compatibility mode

From ISXKB

(Difference between revisions)
Jump to: navigation, search
(HKCU changed to HKLM)
Line 4: Line 4:
<pre>
<pre>
[Registry]
[Registry]
-
Root: HKCU; Subkey: "Software\Microsoft\Windows
+
Root: HKLM; Subkey: "Software\Microsoft\Windows
   NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName:
   NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName:
   "{app}\program.exe"; ValueData: "WIN98"; Flags: Uninsdeletekey
   "{app}\program.exe"; ValueData: "WIN98"; Flags: Uninsdeletekey

Revision as of 23:50, 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.

Personal tools
Ads: