PDA

View Full Version : Registry key in .cpr file


gert_beekman
7th May 2009, 01:53 PM
Does anyone know how to refere to a registry in a .cpr file.

For example, if I want to add a text on my titanium plugin, and in my registry it's in located in HKLM\Software\whatever\text1, how can I get the .cpr to read the value inside that string?

For some reason wm6.5 knows that it can get values from the HKLM\Software\Microsoft\CHome key, but how can I get it from another key?

Would be realy awesome if someone could help, that way there would be quite a bit more to edit in wm6.5...

gert_beekman
8th May 2009, 11:54 AM
Does nobody have any idea?
I read that it is the same language as in .xml files, so how do I add a registry value to a text line?

Rudegar
8th May 2009, 01:09 PM
don't know the format or the program which use cpr files
but if the cpr file include the "HKLM\Software\Microsoft\CHome"
then I would change it

if not then the program which interp the cpr files prob have
the parth hard-coded in it's binary code

gert_beekman
13th May 2009, 12:24 PM
don't know the format or the program which use cpr files
but if the cpr file include the "HKLM\Software\Microsoft\CHome"
then I would change it

if not then the program which interp the cpr files prob have
the parth hard-coded in it's binary code

I know the reg. path is in the binary code of a program,
but can't read or edit that.
But, my question is if someone knows the .xml code to read from a registery value.
fe: the code for a picture is [ source="\Windows\photo1.png" ]
to read something from a .dll file is [ InnerTextType="Resource" Text="shellresapps.dll,18149" ]