SOG-Helpcenter Logo SOG Business - Software

Strukturdatei


Hier wird der Aufbau der Strukturdatei des Filesystembuilders beschrieben.

Root

    <?xml version="1.0"?>
    <FilesystemBuilderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        ...
    </FilesystemBuilderParameter>


Innerhalb des Root sind zwei Elementtypen 0..n mal vorhanden:


Condition

TreeRoot


Komplettes Beispiel





<?xml version="1.0"?>
<FilesystemBuilderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <Version>14.13.1230.1</Version>
   <Condition>
       <Value>FileHelper:UseActiveSkin32</Value>
       <ConditionValue>
           <Name>ActiveSkinBitExe</Name>
           <MatchingValue>true</MatchingValue>
           <ResultValue>${PROJ}\bin\SOGERP\hhpxProjWinFrame32.exe</ResultValue>
       </ConditionValue>
       <ConditionValue>
           <Name>ActiveSkinBitExe</Name>
           <MatchingValue>false</MatchingValue>
           <ResultValue>${PROJ}\bin\SOGERP\hhpxProjWinFrame.exe</ResultValue>
       </ConditionValue>
   </Condition>

   <Condition>
       <Value>env:CreateIconNAS</Value>
       <ConditionValue>
           <Name>NoAutostart</Name>
           <MatchingValue>1</MatchingValue>
       </ConditionValue>
   </Condition>

   <Condition>
       <Value>ERPHelper:EnumerateFirmen</Value>
       <ConditionValue>
           <Name>Firmen</Name>
       </ConditionValue>
   </Condition>

   <Condition>
       <Value>env:hhproj</Value>
       <ConditionValue>
           <Name>Projektname</Name>
           <MatchingValue>Vacos</MatchingValue>
           <ResultValue>SOGERP</ResultValue>
       </ConditionValue>
       <ConditionValue>
           <Name>Projektname</Name>
           <MatchingValue>#ELSE</MatchingValue>
           <ResultValue>${hhproj}</ResultValue>
       </ConditionValue>
   </Condition>

   <TreeRoot>

       <!-- http://msdn.microsoft.com/de-De/library/system.environment.specialfolder.aspx
      Programs : Benutzerbezogen
      CommonPrograms: Global
   -->
       <Name>CommonPrograms</Name>
       <IsSpecialFolder>true</IsSpecialFolder>
       <Folder>
           <Name>%{Projektname}</Name>
           <ForEach>
               <Delim>;</Delim>
               <ItemName>Firma</ItemName>
               <MatchCondition>Firmen</MatchCondition>

               <!-- Standard Icons -->
               <Shortcut>
                   <Description>%{Projektname} - %{Firma}</Description>
                   <Name>%{Projektname} - %{Firma}</Name>
                   <Target>${SOGWT}\bin\hhexew.exe</Target>
                   <WorkingFolder>${SOGWT}</WorkingFolder>
                   <Arguments>-asstartcond -hhproj ${hhproj} -hhfirm %{Firma} %{ActiveSkinBitExe}</Arguments>
               </Shortcut>

               <Shortcut>
                   <MatchCondition>NoAutostart</MatchCondition>
                   <Description>%{Projektname} - %{Firma} ohne Autostart</Description>
                   <Name>%{Projektname} - %{Firma} ohne Autostart</Name>
                   <Target>${SOGWT}\bin\hhexew.exe</Target>
                   <WorkingFolder>${PROJ}</WorkingFolder>
                   <Arguments>-asstartcond -hhproj ${hhproj} -hhfirm %{Firma} %{ActiveSkinBitExe} -nas</Arguments>
               </Shortcut>

               <Shortcut>
                   <Enabled>false</Enabled>
                   <Description>%{Projektname} - %{Firma} Mobil</Description>
                   <Name>%{Projektname} - %{Firma} Mobil</Name>
                   <Target>${SOGWT}\bin\hhexew.exe</Target>
                   <WorkingFolder>${SOGWT}</WorkingFolder>
                   <Arguments>-asstartcond -hhproj ${hhproj} -hhfirm %{Firma} %{ActiveSkinBitExe} -mskvar mobil -nas</Arguments>
               </Shortcut>


               <!-- Englische Icons -->
               <Shortcut>
                   <Enabled>false</Enabled>
                   <Description>%{Projektname} - %{Firma} (eng)</Description>
                   <Name>%{Projektname} - %{Firma} (eng)</Name>
                   <Target>${SOGWT}\bin\hhexew.exe</Target>
                   <WorkingFolder>${SOGWT}</WorkingFolder>
                   <Arguments>-asstartcond -hhproj ${hhproj} -hhfirm %{Firma} %{ActiveSkinBitExe} -SetUserLang eng -dateLang eng -numlang eng</Arguments>
               </Shortcut>

               <Shortcut>
                   <Enabled>false</Enabled>
                   <MatchCondition>NoAutostart</MatchCondition>
                   <Description>%{Projektname} - %{Firma} (eng) no autostart</Description>
                   <Name>%{Projektname} - %{Firma} (eng) no autostart</Name>
                   <Target>${SOGWT}\bin\hhexew.exe</Target>
                   <WorkingFolder>${SOGWT}</WorkingFolder>
                   <Arguments>-asstartcond -hhproj ${hhproj} -hhfirm %{Firma} %{ActiveSkinBitExe} -nas -SetUserLang eng -datelang eng -numlang eng</Arguments>
               </Shortcut>

               <Shortcut>
                   <Enabled>false</Enabled>
                   <Description>%{Projektname} - %{Firma} (eng) mobile</Description>
                   <Name>%{Projektname} - %{Firma} (eng) mobile</Name>
                   <Target>${SOGWT}\bin\hhexew.exe</Target>
                   <WorkingFolder>${SOGWT}</WorkingFolder>
                   <Arguments>-asstartcond -hhproj ${hhproj} -hhfirm %{Firma} %{ActiveSkinBitExe} -mskvar mobil -nas -SetUserLang eng -datelang eng -numlang eng</Arguments>
               </Shortcut>



               <!-- Holländische Icons -->
               <Shortcut>
                   <Enabled>false</Enabled>
                   <Description>%{Projektname} - %{Firma} (ned)</Description>
                   <Name>%{Projektname} - %{Firma} (ned)</Name>
                   <Target>${SOGWT}\bin\hhexew.exe</Target>
                   <WorkingFolder>${SOGWT}</WorkingFolder>
                   <Arguments>-asstartcond -hhproj ${hhproj} -hhfirm %{Firma} %{ActiveSkinBitExe} -SetUserLang eng -datelang ger -numlang ger</Arguments>
               </Shortcut>

               <Shortcut>
                   <Enabled>false</Enabled>
                   <MatchCondition>NoAutostart</MatchCondition>
                   <Description>%{Projektname} - %{Firma} (ned) no autostart</Description>
                   <Name>%{Projektname} - %{Firma} (ned) no autostart</Name>
                   <Target>${SOGWT}\bin\hhexew.exe</Target>
                   <WorkingFolder>${SOGWT}</WorkingFolder>
                   <Arguments>-asstartcond -hhproj ${hhproj} -hhfirm %{Firma} %{ActiveSkinBitExe} -nas -SetUserLang eng -datelang ger -numlang ger</Arguments>
               </Shortcut>

               <Shortcut>
                   <Enabled>false</Enabled>
                   <Description>%{Projektname} - %{Firma} (ned) mobile</Description>
                   <Name>%{Projektname} - %{Firma} (ned) mobile</Name>
                   <Target>${SOGWT}\bin\hhexew.exe</Target>
                   <WorkingFolder>${SOGWT}</WorkingFolder>
                   <Arguments>-asstartcond -hhproj ${hhproj} -hhfirm %{Firma} %{ActiveSkinBitExe} -mskvar mobil -nas -SetUserLang eng -datelang ger -numlang ger</Arguments>
               </Shortcut>

           </ForEach>

           <Folder>
               <Name>Tools</Name>

               <Shortcut>
                   <Description>SOGSql</Description>
                   <Name>%{Projektname} SOGSql</Name>
                   <Target>${PROJ}\bin\SOGERP\sogsql.exe</Target>
                   <WorkingFolder>${PROJ}</WorkingFolder>
               </Shortcut>

               <Shortcut>
                   <Description>SOGTSPrint</Description>
                   <Name>%{Projektname} SOGTSPrint</Name>
                   <Target>${PROJ}\bin\SOGERP\SOGTsPrint.exe</Target>
                   <WorkingFolder>${PROJ}</WorkingFolder>
               </Shortcut>

               <Shortcut>
                   <Description>Entwicklungsumgebung</Description>
                   <Name>%{Projektname} Entwicklungsumgebung</Name>
                   <Target>${SOGWT}\bin\sogcmdgui.exe</Target>
                   <WorkingFolder>${PROJ}</WorkingFolder>
               </Shortcut>

               <Shortcut>
                   <Description>Logbuch</Description>
                   <Name>%{Projektname} Logbuch</Name>
                   <Target>${SOGWT}\bin\hhdsplg4.exe</Target>
                   <WorkingFolder>${PROJ}</WorkingFolder>
               </Shortcut>

               <Shortcut>
                   <Description>SOGPSetup</Description>
                   <Name>%{Projektname} Druckereinstellungen</Name>
                   <Target>${PROJ}\bin\SOGERP\SOGPSetup.exe</Target>
                   <WorkingFolder>${PROJ}</WorkingFolder>
               </Shortcut>

           </Folder>

       </Folder>
   </TreeRoot>

    <TreeRoot>
        <Action>delete</Action>
        <Name>CommonPrograms</Name>
        <IsSpecialFolder>true</IsSpecialFolder>
        <Folder>
            <Name>Vacos</Name>
        </Folder>
        <Folder>
            <Name>SOG Windows Tools</Name>
        </Folder>
        <Folder>
            <Name>${hhproj}</Name>
        </Folder>
    </TreeRoot>

    <TreeRoot>
        <Action>delete</Action>
        <Name>Programs</Name>
        <IsSpecialFolder>true</IsSpecialFolder>
        <Folder>
            <Name>Vacos</Name>
        </Folder>
        <Folder>
            <Name>SOG Windows Tools</Name>
        </Folder>
        <Folder>
            <Name>${hhproj}</Name>
        </Folder>
    </TreeRoot>

</FilesystemBuilderParameter>