contrib/wix/templates.wxs
changeset 41920 c68a1df5c79a
parent 41919 3dbd3cdfe0d6
child 41921 4371f543efda
equal deleted inserted replaced
41919:3dbd3cdfe0d6 41920:c68a1df5c79a
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
       
     3 
       
     4   <?include guids.wxi ?>
       
     5   <?include defines.wxi ?>
       
     6 
       
     7   <Fragment>
       
     8     <ComponentGroup Id="templatesFolder">
       
     9 
       
    10       <ComponentRef Id="templates.root" />
       
    11 
       
    12       <ComponentRef Id="templates.atom" />
       
    13       <ComponentRef Id="templates.coal" />
       
    14       <ComponentRef Id="templates.gitweb" />
       
    15       <ComponentRef Id="templates.json" />
       
    16       <ComponentRef Id="templates.monoblue" />
       
    17       <ComponentRef Id="templates.paper" />
       
    18       <ComponentRef Id="templates.raw" />
       
    19       <ComponentRef Id="templates.rss" />
       
    20       <ComponentRef Id="templates.spartan" />
       
    21       <ComponentRef Id="templates.static" />
       
    22 
       
    23     </ComponentGroup>
       
    24   </Fragment>
       
    25 
       
    26   <Fragment>
       
    27     <DirectoryRef Id="INSTALLDIR">
       
    28 
       
    29       <Directory Id="templatesdir" Name="templates" FileSource="$(var.SourceDir)">
       
    30 
       
    31         <Component Id="templates.root" Guid="$(var.templates.root.guid)" Win64='$(var.IsX64)'>
       
    32           <File Name="map-cmdline.changelog" KeyPath="yes" />
       
    33           <File Name="map-cmdline.compact" />
       
    34           <File Name="map-cmdline.default" />
       
    35           <File Name="map-cmdline.show" />
       
    36           <File Name="map-cmdline.bisect" />
       
    37           <File Name="map-cmdline.xml" />
       
    38           <File Name="map-cmdline.status" />
       
    39           <File Name="map-cmdline.phases" />
       
    40         </Component>
       
    41 
       
    42         <Directory Id="templates.jsondir" Name="json">
       
    43           <Component Id="templates.json" Guid="$(var.templates.json.guid)" Win64='$(var.IsX64)'>
       
    44             <File Id="json.changelist.tmpl" Name="changelist.tmpl" KeyPath="yes" />
       
    45             <File Id="json.graph.tmpl"      Name="graph.tmpl" />
       
    46             <File Id="json.map"             Name="map" />
       
    47           </Component>
       
    48         </Directory>
       
    49 
       
    50         <Directory Id="templates.atomdir" Name="atom">
       
    51           <Component Id="templates.atom" Guid="$(var.templates.atom.guid)" Win64='$(var.IsX64)'>
       
    52             <File Id="atom.changelog.tmpl"      Name="changelog.tmpl" KeyPath="yes" />
       
    53             <File Id="atom.changelogentry.tmpl" Name="changelogentry.tmpl" />
       
    54             <File Id="atom.error.tmpl"          Name="error.tmpl" />
       
    55             <File Id="atom.filelog.tmpl"        Name="filelog.tmpl" />
       
    56             <File Id="atom.header.tmpl"         Name="header.tmpl" />
       
    57             <File Id="atom.map"                 Name="map" />
       
    58             <File Id="atom.tagentry.tmpl"       Name="tagentry.tmpl" />
       
    59             <File Id="atom.tags.tmpl"           Name="tags.tmpl" />
       
    60             <File Id="atom.branchentry.tmpl"    Name="branchentry.tmpl" />
       
    61             <File Id="atom.branches.tmpl"       Name="branches.tmpl" />
       
    62             <File Id="atom.bookmarks.tmpl"      Name="bookmarks.tmpl" />
       
    63             <File Id="atom.bookmarkentry.tmpl"  Name="bookmarkentry.tmpl" />
       
    64           </Component>
       
    65         </Directory>
       
    66 
       
    67         <Directory Id="templates.coaldir" Name="coal">
       
    68           <Component Id="templates.coal" Guid="$(var.templates.coal.guid)" Win64='$(var.IsX64)'>
       
    69             <File Id="coal.header.tmpl" Name="header.tmpl" KeyPath="yes" />
       
    70             <File Id="coal.map"         Name="map" />
       
    71           </Component>
       
    72         </Directory>
       
    73 
       
    74         <Directory Id="templates.gitwebdir" Name="gitweb">
       
    75           <Component Id="templates.gitweb" Guid="$(var.templates.gitweb.guid)" Win64='$(var.IsX64)'>
       
    76             <File Id="gitweb.branches.tmpl"       Name="branches.tmpl" KeyPath="yes" />
       
    77             <File Id="gitweb.bookmarks.tmpl"      Name="bookmarks.tmpl" />
       
    78             <File Id="gitweb.changelog.tmpl"      Name="changelog.tmpl" />
       
    79             <File Id="gitweb.changelogentry.tmpl" Name="changelogentry.tmpl" />
       
    80             <File Id="gitweb.changeset.tmpl"      Name="changeset.tmpl" />
       
    81             <File Id="gitweb.error.tmpl"          Name="error.tmpl" />
       
    82             <File Id="gitweb.fileannotate.tmpl"   Name="fileannotate.tmpl" />
       
    83             <File Id="gitweb.filecomparison.tmpl" Name="filecomparison.tmpl" />
       
    84             <File Id="gitweb.filediff.tmpl"       Name="filediff.tmpl" />
       
    85             <File Id="gitweb.filelog.tmpl"        Name="filelog.tmpl" />
       
    86             <File Id="gitweb.filerevision.tmpl"   Name="filerevision.tmpl" />
       
    87             <File Id="gitweb.footer.tmpl"         Name="footer.tmpl" />
       
    88             <File Id="gitweb.graph.tmpl"          Name="graph.tmpl" />
       
    89             <File Id="gitweb.graphentry.tmpl"     Name="graphentry.tmpl" />
       
    90             <File Id="gitweb.header.tmpl"         Name="header.tmpl" />
       
    91             <File Id="gitweb.index.tmpl"          Name="index.tmpl" />
       
    92             <File Id="gitweb.manifest.tmpl"       Name="manifest.tmpl" />
       
    93             <File Id="gitweb.map"                 Name="map" />
       
    94             <File Id="gitweb.notfound.tmpl"       Name="notfound.tmpl" />
       
    95             <File Id="gitweb.search.tmpl"         Name="search.tmpl" />
       
    96             <File Id="gitweb.shortlog.tmpl"       Name="shortlog.tmpl" />
       
    97             <File Id="gitweb.summary.tmpl"        Name="summary.tmpl" />
       
    98             <File Id="gitweb.tags.tmpl"           Name="tags.tmpl" />
       
    99             <File Id="gitweb.help.tmpl"           Name="help.tmpl" />
       
   100             <File Id="gitweb.helptopics.tmpl"     Name="helptopics.tmpl" />
       
   101           </Component>
       
   102         </Directory>
       
   103 
       
   104         <Directory Id="templates.monobluedir" Name="monoblue">
       
   105           <Component Id="templates.monoblue" Guid="$(var.templates.monoblue.guid)" Win64='$(var.IsX64)'>
       
   106             <File Id="monoblue.branches.tmpl"       Name="branches.tmpl" KeyPath="yes" />
       
   107             <File Id="monoblue.bookmarks.tmpl"      Name="bookmarks.tmpl" />
       
   108             <File Id="monoblue.changelog.tmpl"      Name="changelog.tmpl" />
       
   109             <File Id="monoblue.changelogentry.tmpl" Name="changelogentry.tmpl" />
       
   110             <File Id="monoblue.changeset.tmpl"      Name="changeset.tmpl" />
       
   111             <File Id="monoblue.error.tmpl"          Name="error.tmpl" />
       
   112             <File Id="monoblue.fileannotate.tmpl"   Name="fileannotate.tmpl" />
       
   113             <File Id="monoblue.filecomparison.tmpl" Name="filecomparison.tmpl" />
       
   114             <File Id="monoblue.filediff.tmpl"       Name="filediff.tmpl" />
       
   115             <File Id="monoblue.filelog.tmpl"        Name="filelog.tmpl" />
       
   116             <File Id="monoblue.filerevision.tmpl"   Name="filerevision.tmpl" />
       
   117             <File Id="monoblue.footer.tmpl"         Name="footer.tmpl" />
       
   118             <File Id="monoblue.graph.tmpl"          Name="graph.tmpl" />
       
   119             <File Id="monoblue.graphentry.tmpl"     Name="graphentry.tmpl" />
       
   120             <File Id="monoblue.header.tmpl"         Name="header.tmpl" />
       
   121             <File Id="monoblue.index.tmpl"          Name="index.tmpl" />
       
   122             <File Id="monoblue.manifest.tmpl"       Name="manifest.tmpl" />
       
   123             <File Id="monoblue.map"                 Name="map" />
       
   124             <File Id="monoblue.notfound.tmpl"       Name="notfound.tmpl" />
       
   125             <File Id="monoblue.search.tmpl"         Name="search.tmpl" />
       
   126             <File Id="monoblue.shortlog.tmpl"       Name="shortlog.tmpl" />
       
   127             <File Id="monoblue.summary.tmpl"        Name="summary.tmpl" />
       
   128             <File Id="monoblue.tags.tmpl"           Name="tags.tmpl" />
       
   129             <File Id="monoblue.help.tmpl"           Name="help.tmpl" />
       
   130             <File Id="monoblue.helptopics.tmpl"     Name="helptopics.tmpl" />
       
   131           </Component>
       
   132         </Directory>
       
   133 
       
   134         <Directory Id="templates.paperdir" Name="paper">
       
   135           <Component Id="templates.paper" Guid="$(var.templates.paper.guid)" Win64='$(var.IsX64)'>
       
   136             <File Id="paper.branches.tmpl"      Name="branches.tmpl" KeyPath="yes" />
       
   137             <File Id="paper.bookmarks.tmpl"     Name="bookmarks.tmpl" />
       
   138             <File Id="paper.changeset.tmpl"     Name="changeset.tmpl" />
       
   139             <File Id="paper.diffstat.tmpl"      Name="diffstat.tmpl" />
       
   140             <File Id="paper.error.tmpl"         Name="error.tmpl" />
       
   141             <File Id="paper.fileannotate.tmpl"  Name="fileannotate.tmpl" />
       
   142             <File Id="paper.filecomparison.tmpl" Name="filecomparison.tmpl" />
       
   143             <File Id="paper.filediff.tmpl"      Name="filediff.tmpl" />
       
   144             <File Id="paper.filelog.tmpl"       Name="filelog.tmpl" />
       
   145             <File Id="paper.filelogentry.tmpl"  Name="filelogentry.tmpl" />
       
   146             <File Id="paper.filerevision.tmpl"  Name="filerevision.tmpl" />
       
   147             <File Id="paper.footer.tmpl"        Name="footer.tmpl" />
       
   148             <File Id="paper.graph.tmpl"         Name="graph.tmpl" />
       
   149             <File Id="paper.graphentry.tmpl"    Name="graphentry.tmpl" />
       
   150             <File Id="paper.header.tmpl"        Name="header.tmpl" />
       
   151             <File Id="paper.index.tmpl"         Name="index.tmpl" />
       
   152             <File Id="paper.manifest.tmpl"      Name="manifest.tmpl" />
       
   153             <File Id="paper.map"                Name="map" />
       
   154             <File Id="paper.notfound.tmpl"      Name="notfound.tmpl" />
       
   155             <File Id="paper.search.tmpl"        Name="search.tmpl" />
       
   156             <File Id="paper.shortlog.tmpl"      Name="shortlog.tmpl" />
       
   157             <File Id="paper.shortlogentry.tmpl" Name="shortlogentry.tmpl" />
       
   158             <File Id="paper.tags.tmpl"          Name="tags.tmpl" />
       
   159             <File Id="paper.help.tmpl"          Name="help.tmpl" />
       
   160             <File Id="paper.helptopics.tmpl"    Name="helptopics.tmpl" />
       
   161           </Component>
       
   162         </Directory>
       
   163 
       
   164         <Directory Id="templates.rawdir" Name="raw">
       
   165           <Component Id="templates.raw" Guid="$(var.templates.raw.guid)" Win64='$(var.IsX64)'>
       
   166             <File Id="raw.changeset.tmpl"    Name="changeset.tmpl" KeyPath="yes" />
       
   167             <File Id="raw.error.tmpl"        Name="error.tmpl" />
       
   168             <File Id="raw.fileannotate.tmpl" Name="fileannotate.tmpl" />
       
   169             <File Id="raw.filediff.tmpl"     Name="filediff.tmpl" />
       
   170             <File Id="raw.graph.tmpl"        Name="graph.tmpl" />
       
   171             <File Id="raw.graphedge.tmpl"    Name="graphedge.tmpl" />
       
   172             <File Id="raw.graphnode.tmpl"    Name="graphnode.tmpl" />
       
   173             <File Id="raw.index.tmpl"        Name="index.tmpl" />
       
   174             <File Id="raw.manifest.tmpl"     Name="manifest.tmpl" />
       
   175             <File Id="raw.map"               Name="map" />
       
   176             <File Id="raw.notfound.tmpl"     Name="notfound.tmpl" />
       
   177             <File Id="raw.search.tmpl"       Name="search.tmpl" />
       
   178             <File Id="raw.logentry.tmpl"     Name="logentry.tmpl" />
       
   179             <File Id="raw.changelog.tmpl"    Name="changelog.tmpl" />
       
   180           </Component>
       
   181         </Directory>
       
   182 
       
   183         <Directory Id="templates.rssdir" Name="rss">
       
   184           <Component Id="templates.rss" Guid="$(var.templates.rss.guid)" Win64='$(var.IsX64)'>
       
   185             <File Id="rss.changelog.tmpl"      Name="changelog.tmpl" KeyPath="yes" />
       
   186             <File Id="rss.changelogentry.tmpl" Name="changelogentry.tmpl" />
       
   187             <File Id="rss.error.tmpl"          Name="error.tmpl" />
       
   188             <File Id="rss.filelog.tmpl"        Name="filelog.tmpl" />
       
   189             <File Id="rss.filelogentry.tmpl"   Name="filelogentry.tmpl" />
       
   190             <File Id="rss.header.tmpl"         Name="header.tmpl" />
       
   191             <File Id="rss.map"                 Name="map" />
       
   192             <File Id="rss.tagentry.tmpl"       Name="tagentry.tmpl" />
       
   193             <File Id="rss.tags.tmpl"           Name="tags.tmpl" />
       
   194             <File Id="rss.bookmarks.tmpl"      Name="bookmarks.tmpl" />
       
   195             <File Id="rss.bookmarkentry.tmpl"  Name="bookmarkentry.tmpl" />
       
   196             <File Id="rss.branchentry.tmpl"    Name="branchentry.tmpl" />
       
   197             <File Id="rss.branches.tmpl"       Name="branches.tmpl" />
       
   198           </Component>
       
   199         </Directory>
       
   200 
       
   201         <Directory Id="templates.spartandir" Name="spartan">
       
   202           <Component Id="templates.spartan" Guid="$(var.templates.spartan.guid)" Win64='$(var.IsX64)'>
       
   203             <File Id="spartan.branches.tmpl"       Name="branches.tmpl" KeyPath="yes" />
       
   204             <File Id="spartan.changelog.tmpl"      Name="changelog.tmpl" />
       
   205             <File Id="spartan.changelogentry.tmpl" Name="changelogentry.tmpl" />
       
   206             <File Id="spartan.changeset.tmpl"      Name="changeset.tmpl" />
       
   207             <File Id="spartan.error.tmpl"          Name="error.tmpl" />
       
   208             <File Id="spartan.fileannotate.tmpl"   Name="fileannotate.tmpl" />
       
   209             <File Id="spartan.filediff.tmpl"       Name="filediff.tmpl" />
       
   210             <File Id="spartan.filelog.tmpl"        Name="filelog.tmpl" />
       
   211             <File Id="spartan.filelogentry.tmpl"   Name="filelogentry.tmpl" />
       
   212             <File Id="spartan.filerevision.tmpl"   Name="filerevision.tmpl" />
       
   213             <File Id="spartan.footer.tmpl"         Name="footer.tmpl" />
       
   214             <File Id="spartan.graph.tmpl"          Name="graph.tmpl" />
       
   215             <File Id="spartan.graphentry.tmpl"     Name="graphentry.tmpl" />
       
   216             <File Id="spartan.header.tmpl"         Name="header.tmpl" />
       
   217             <File Id="spartan.index.tmpl"          Name="index.tmpl" />
       
   218             <File Id="spartan.manifest.tmpl"       Name="manifest.tmpl" />
       
   219             <File Id="spartan.map"                 Name="map" />
       
   220             <File Id="spartan.notfound.tmpl"       Name="notfound.tmpl" />
       
   221             <File Id="spartan.search.tmpl"         Name="search.tmpl" />
       
   222             <File Id="spartan.shortlog.tmpl"       Name="shortlog.tmpl" />
       
   223             <File Id="spartan.shortlogentry.tmpl"  Name="shortlogentry.tmpl" />
       
   224             <File Id="spartan.tags.tmpl"           Name="tags.tmpl" />
       
   225           </Component>
       
   226         </Directory>
       
   227 
       
   228         <Directory Id="templates.staticdir" Name="static">
       
   229           <Component Id="templates.static" Guid="$(var.templates.static.guid)" Win64='$(var.IsX64)'>
       
   230             <File Id="static.background.png"     Name="background.png" KeyPath="yes" />
       
   231             <File Id="static.coal.file.png"      Name="coal-file.png" />
       
   232             <File Id="static.coal.folder.png"    Name="coal-folder.png" />
       
   233             <File Id="static.followlines.js"     Name="followlines.js" />
       
   234             <File Id="static.mercurial.js"       Name="mercurial.js" />
       
   235             <File Id="static.hgicon.png"         Name="hgicon.png" />
       
   236             <File Id="static.hglogo.png"         Name="hglogo.png" />
       
   237             <File Id="static.style.coal.css"     Name="style-extra-coal.css" />
       
   238             <File Id="static.style.gitweb.css"   Name="style-gitweb.css" />
       
   239             <File Id="static.style.monoblue.css" Name="style-monoblue.css" />
       
   240             <File Id="static.style.paper.css"    Name="style-paper.css" />
       
   241             <File Id="static.style.css"          Name="style.css" />
       
   242             <File Id="static.feed.icon"          Name="feed-icon-14x14.png" />
       
   243           </Component>
       
   244         </Directory>
       
   245 
       
   246       </Directory>
       
   247 
       
   248     </DirectoryRef>
       
   249   </Fragment>
       
   250 
       
   251  </Wix>