Keep in mind that people can have multiple installations that may not be
identified in the registry.  You can use the registry keys (below) to
see if you can detect an existing installation, but you should also give
people the opportunity to confirm/change the path.

-Eric


Steam Install Path (for Mods)
=============================
HKEY_CURRENT_USER\Software\Valve\Steam\ModInstallPath

Half-Life
=============================
HKEY_CURRENT_USER\Software\Valve\Half-Life\InstallPath
HKEY_LOCAL_MACHINE\SOFTWARE\Sierra OnLine\Setup\HALFLIFE\Directory
HKEY_LOCAL_MACHINE\SOFTWARE\Valve\Half-Life\InstallPath

Counter-Strike Retail
=============================
HKEY_CURRENT_USER\Software\Valve\Counter-Strike\InstallPath
HKEY_LOCAL_MACHINE\SOFTWARE\Sierra OnLine\Setup\CSTRIKE\Directory

Day of Defeat Retail
=============================
HKEY_CURRENT_USER\SOFTWARE\Valve\DOD\InstallPath
HKEY_LOCAL_MACHINE\SOFTWARE\Valve\DOD\InstallPath



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cale 'Mazor'
Dunlap
Sent: Tuesday, December 02, 2003 10:17 PM
To: [EMAIL PROTECTED]
Subject: [hlcoders] Registry values for installs and other things

This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ] Can someone tell me
what values the Valve installers use from the registry for both WON and
Steam installers?

I'm trying to make a quick little command line tool that moves the
firearms content into the proper folders for Steam from WON. I've gotten
it to work with the HL retail version, but I'm not sure if it'll work
for the platinum pack, CS, or DoD retail boxes. Could someone please
tell me?

-Cale 'Mazor' Dunlap
Programmer
Firearms Half-Life
http://www.firearmsmod.com/


--



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to