Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

XP shortcut


2 replies to this topic

Tyler Curtis

Tyler Curtis
  • Full Members
  • 24 posts

Posted 13 February 2004 - 01:31

I would like to determine when the os is xp, then install an XP shortcut and set the compatibility tab.

Does anyone know how to do this?

Thanks!

Thanks!
Tyler Curtis
Craftsman Book Company

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 February 2004 - 10:16

Detecting XP is easy (VersionNT=501) but I don't know how to set the compatibility settings.

Tyler Curtis

Tyler Curtis
  • Full Members
  • 24 posts

Posted 24 February 2004 - 00:11

biggrin.gif
Here is how to set the application compatibility mode tab of Windows XP by writing to the registry.

Using the HKEY_CURRENT_USER\Software\Microsoft\Windows(space) NT\CurrentVersion\AppCompatFlags\Layers key, set the "name" to the full absolute path of the executable, such as "C:\Windows\Notepad.exe" (minus the quotes), and the "value" to a string value of either WIN95, WIN98, NT4SP5 or WIN2000. Note: WIN98 is also used for ME.

Many thanks to MindVision Knowledge Database at mindvision.com

And thanks, Stefan, for your reply!
Thanks!
Tyler Curtis
Craftsman Book Company