home *** CD-ROM | disk | FTP | other *** search
/ Thomson (Residential) / TGSTPv7203.iso / mac / QIW / scenario.xml < prev   
Extensible Markup Language  |  2008-02-07  |  5KB  |  133 lines

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!--!DOCTYPE scenario SYSTEM "scenario.dtd"-->
  3. <scenario>
  4.     <!-- Add the language code to the conditions, this is used by the country selection list on the safety page -->
  5.     <!-- If only one product is used on the CD, add the product conditions specified in the productSelection pageLayout file -->
  6.     <startConditions>%lang_iso%</startConditions>
  7.     <variablesList>
  8.         <!--
  9.                 ****************************************************************************************************************************
  10.                 ****************************************************** VARIABLES ******************************************************
  11.                 ****************************************************************************************************************************
  12.                 Here you can define a number of variables that can be used in
  13.                 - Content files
  14.                 - Pagelayout Files
  15.                 To use a variable, use following syntax: %<variable name>%. For example %applicationname%.
  16.  
  17.                 Folowing variables are created by the application itself:
  18.                 - drive: Returns the drive from where running.
  19.                 - path: Returns the full path of the folder the application is running from.
  20.  
  21.                 You can override the values via the command line. syntax: STQIW.exe -<variable name>=<variable value>
  22.                 Reserved words:
  23.                 - scen
  24.                 - path
  25.         -->
  26.         <variable>            
  27.             <name>lang_iso</name>
  28.             <value>en</value>
  29.         </variable>
  30.         <variable>
  31.             <name>setuppath</name>
  32.             <value>../</value>
  33.         </variable>
  34.         <variable>
  35.             <name>HIWpath</name>
  36.             <value>HIW</value>
  37.         </variable>
  38.         <variable>
  39.             <!-- REQUIRED -->
  40.             <name>applicationname</name>
  41.             <value>tr(Setup Wizard)</value>
  42.         </variable>
  43.         <variable>
  44.             <name>companyname01</name>
  45.             <value>Thomson</value>
  46.         </variable>
  47.         <variable>
  48.             <name>productname01</name>
  49.             <value>Thomson Gateway</value>
  50.         </variable>
  51.         <variable>
  52.             <name>productname02</name>
  53.             <value>Thomson TG</value>
  54.         </variable>
  55.           <variable>
  56.             <name>companycolor01</name>
  57.             <value>0x7962AA</value>
  58.         </variable>
  59.         <variable>
  60.             <name>companycolor02</name>
  61.             <value>0x807F83</value>
  62.         </variable>
  63.         <variable>
  64.             <name>companycolor03</name>
  65.             <value>0x731472</value>
  66.         </variable>
  67.           <variable>
  68.             <name>backgroundcolor01</name>
  69.             <value>0xFAFAFB</value>
  70.         </variable>
  71.     </variablesList>
  72.     <initActions>
  73.         <getFromRootLibrary>
  74.             <!-- On Mac, we are using this preference list to find out which language the QIW should use -->
  75.             <location>com.Thomson.menu.plist</location>
  76.             <valueName>ProgramLanguage</valueName>
  77.             <saveTo>lang_iso</saveTo>
  78.         </getFromRootLibrary>
  79.     </initActions>    
  80.     <!--
  81.                 ****************************************************************************************************************************
  82.                 ******************************************************* MODULES *******************************************************
  83.                 ****************************************************************************************************************************
  84.                 Here you can define how the pages will look like and what content they will display
  85.     -->
  86.     <modules>
  87.         <!-- Displays a welcome text -->    
  88.         <module>
  89.             <name>welcomePage</name>
  90.             <!-- Hide the back button -->
  91.             <actions>Actions/hideBackButton.xml</actions> 
  92.             <pageLayout>PageLayouts/textOnly.xml</pageLayout>
  93.             <content>Content/%lang_iso%/welcome.xml</content>
  94.         </module>
  95.         <module>
  96.             <name>productSelection</name>
  97.             <!-- Hide the next button. Next button is defined in the pageLayout and will be enabled as soon as you select a product -->
  98.             <actions>Actions/hideNextButton.xml</actions>
  99.             <pageLayout>PageLayouts/productSelection.xml</pageLayout>
  100.             <content>Content/%lang_iso%/productSelection.xml</content>
  101.         </module>
  102.         <module>
  103.             <name>Safety</name>
  104.             <!-- Hide the next button.  Next button is defined in the pageLayout and will be enabled as soon as you confirm the safety instructions -->
  105.             <actions>Actions/hideNextButton.xml</actions>
  106.             <pageLayout>PageLayouts/safety.xml</pageLayout>
  107.             <content splitChapter="false">../Safety_and_Regulatory/XML/STGEN_SafetyRegulatory_%lang_iso%.xml</content>
  108.         </module>
  109.         <module>
  110.             <name>placeDevice</name>
  111.             <pageLayout>PageLayouts/textOnly.xml</pageLayout>
  112.             <content>Content/%lang_iso%/placeDevice.xml</content>
  113.         </module>
  114.         <module>
  115.             <name>connections</name>
  116.             <pageLayout>PageLayouts/textAndGraphs.xml</pageLayout>
  117.             <content>Content/%lang_iso%/connections.xml</content>
  118.         </module>
  119.         <module>
  120.             <name>prepareConfig</name>
  121.             <pageLayout>PageLayouts/textOnly.xml</pageLayout>
  122.             <content>Content/%lang_iso%/prepareConfig.xml</content>
  123.         </module>
  124.         <module>
  125.             <!-- Completion screen  -->
  126.             <name>Completion</name>
  127.             <!-- Save settings for the HIW -->
  128.             <actions>Actions/completionPage.xml</actions>
  129.             <pageLayout>PageLayouts/completion.xml</pageLayout>
  130.             <content>Content/%lang_iso%/completion.xml</content>
  131.         </module>
  132.     </modules>
  133. </scenario>