| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <HTML> |
| <head> |
| <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252"> |
| <TITLE></TITLE> |
| <META NAME="GENERATOR" CONTENT="StarOffice 7 (Win32)"> |
| <META NAME="AUTHOR" CONTENT="Ingo Schmidt"> |
| <META NAME="CREATED" CONTENT="20020419;13085671"> |
| <META NAME="CHANGED" CONTENT="20040205;15270227"> |
| </head> |
| <body LANG="de-DE" DIR="LTR"> |
| <P ALIGN=LEFT STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif"><FONT SIZE=6>Definition |
| of a RegistryItem</FONT></FONT></P> |
| <P><BR> |
| </P> |
| <P><FONT FACE="Verdana, sans-serif">The keyword for a RegistyItem |
| definition is <B>RegistryItem</B>. A global ID of a RegistyItem |
| should begin with <B>gid_Regitem </B>or <B>gid_Registryitem</B>. |
| RegistyItems have to be assigned to modules. The assigned module has |
| to be listed in the definition block of the RegistryItem. |
| RegistyItems represent entries into the Windows registry. A typical |
| definition of a RegistyItem in the scp projects looks like:</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">RegistryItem |
| gid_Regitem_Soffice_Starcalcdocument_6_Defaulticon<BR>ModuleID = |
| gid_Module_Abc;<BR>ParentID = PREDEFINED_HKEY_CLASSES_ROOT;<BR>Subkey |
| = "soffice.StarCalcDocument.6\DefaultIcon";<BR>Value = |
| "<progpath>\program\soffice.exe,3";<BR>End</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">The |
| RegistryItem definition needs a ParentID, a Subkey and a Value. The |
| ParentID is one of the Windows registry sections, in this case the |
| PREDEFINED_HKEY_CLASSES_ROOT. The subkey is created, if he does not |
| exist. This means in this example that below the folder |
| soffice.StarCalcDocument.6 a key DefaultIcon is created. And this key |
| gets the value <progpath>\program\soffice.exe,3, where |
| <progpath> is a variable, substituted by the setup. </FONT> |
| </P> |
| <P><FONT FACE="Verdana, sans-serif"> |
| It is also possible to add the flag PATCH to a RegistryItem. In this |
| case it will be included into a patch. For more information about the PATCH flag please have a look at |
| <A HREF="understanding_the_patch_flag.html">Understanding the PATCH flag</A>. |
| </FONT> |
| </P><BR><BR> |
| </body> |
| </HTML> |