| <!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;14570335"> |
| </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 Directory </FONT></FONT> |
| </P> |
| <P><BR><BR> |
| </P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">The |
| keyword for a directory definition is <B>Directory</B>. A global ID |
| of a directory should begin with <B>gid_Dir </B>. Directories have to |
| be assigned to modules in the definition block of the module. If a |
| directory is not assigned to any module, it is automatically assigned |
| to the root module by the scplinker. A typical definition of a |
| directory in the scp projects looks like:</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">Directory |
| gid_Dir_Autotext<BR>ParentID = gid_Dir_Share;<BR>DosName = |
| "autotext";<BR>End</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">Directory |
| gid_Dir_Share_Autocorr<BR>ParentID = gid_Dir_Share;<BR>DosName = |
| "autocorr";<BR>Styles = (CREATE);<BR>End</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">As |
| you can see, the definition of a directory is very simple. A |
| directory has a name (DosName) and a parent. Every directory has a |
| parent, resulting in a directory tree. For the most directories, the |
| ParentID is a global ID, which is defined in the script before. Some |
| directories of course have to be defined by the setup. The most |
| important is the directory:</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">PREDEFINED_PROGDIR |
| </FONT> |
| </P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">which |
| is for example used in the definition:</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">Directory |
| gid_Dir_Program<BR>ParentID = PREDEFINED_PROGDIR;<BR>DosName = |
| "program";<BR>End</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">The |
| directory program is created below the Office installation root. And |
| this is described by the PREDEFINED_PROGDIR, which has to be found by |
| the setup. By the way, the PREDEFINED_PROGDIR is defined by the user, |
| during the installation process. </FONT> |
| </P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">Further |
| predefined directories are:</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif"><B>PREDEFINED_HOMEDIR |
| </B>: The user's home directory</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif"><B>PREDEFINED_CONFIGDIR</B>: |
| The system's configuration directory</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif"><B>PREDEFINED_OSSHELLNEWDIR</B>: |
| The shellnew directory for Windows</FONT></P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif"><B>PREDEFINED_OSSYSTEMFONTDIR</B>: |
| The system font directory</FONT></P> |
| <P><BR><BR> |
| </P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">A |
| directory is created, if it is necessary to create it. This means: |
| For example we take a file gid_File_A, that belongs to gid_Module_B, |
| and has to be installed into directory gid_Dir_C. If the module is |
| selected in the user defined installation, the file has to be |
| installed. Then it is necessary for the setup, to create the |
| directory gid_Dir_C. If the module is not selected, the file has not |
| to be installed and, if there is no other file in gid_Dir_C, this |
| gid_Dir_C must no be created. </FONT> |
| </P> |
| <P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">Some |
| directories have to be created empty. As in the example above the |
| directory gid_Dir_Share_Autocorr has the flag <B>CREATE</B>. This |
| flag means, that the directory shall be created, even though there is |
| no file in it.</FONT></P> |
| <P><BR><BR> |
| </P> |
| </body> |
| </HTML> |