|
|
#1 |
|
Junior Member
|
Help woth InstallDirRegKey
I am reading this value, c:\valve\steam\steamapps\dygear@aol.com\half-life, from HKCU "Software\Valve\Steam" "ModInstallPath"
but i want to get, c:\valve\steam\steamapps\dygear@aol.com, is there a way to do that? -- Mark 'Dygear' Tomlin |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
Search the forum for *steam*. This question has been asked and answered several times already.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
|
I searched for InstallDirRegKey before I posted but did not find it, my bad.
-- Mark 'Dygear' Tomlin |
|
|
|
|
|
#4 |
|
Junior Member
|
Ok searched for Steam, and this is the most approte thread i could find. [link]
What i want to do is take the value from ModInstallPath and get the parent forlder. then set that to the Insall path. I am going to try and make up some code later, but in that time if you could help with this then that would be great, I will no doubt have some qustions on how to do this later. -- Mark 'Dygear' Tomlin |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
What's wrong with GetParent from that thread and from the documentation?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#6 |
|
Junior Member
|
That code seems over kill.
This is what i want to do.
I want to do back to the email address, not to [Drive:]/[DIR]/steam. -- Mark 'Dygear' Tomlin Last edited by Dygear; 20th June 2004 at 03:53. |
|
|
|
|
|
#7 |
|
Major Dude
Join Date: Mar 2003
Posts: 569
|
code: |
|
|
|
|
|
#8 |
|
Junior Member
|
code: Can some one tell me why this is not working? -- Mark 'Dygear' Tomlin |
|
|
|
|
|
#9 | |
|
Senior Member
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
|
change:
Quote:
PHP Code:
|
|
|
|
|
|
|
#10 |
|
Junior Member
|
code: This should work :fingerscrossed: Nope ... god this sucks. -- Mark 'Dygear' Tomlin |
|
|
|
|
|
#11 |
|
Junior Member
|
Heres my code ...
-- Mark 'Dygear' Tomlin |
|
|
|
|
|
#12 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#13 |
|
Junior Member
|
Thanks.
-- Mark 'Dygear' Tomlin |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|