PageRenderTime 23ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/win32/wix/templates.wxs

https://bitbucket.org/tortoisehg/hgtk/
WiX source | 213 lines | 193 code | 20 blank | 0 comment | 0 complexity | 172c37eb476117075395921aa294630f MD5 | raw file
  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.monoblue" />
 16      <ComponentRef Id="templates.paper" />
 17      <ComponentRef Id="templates.raw" />
 18      <ComponentRef Id="templates.rss" />
 19      <ComponentRef Id="templates.spartan" />
 20      <ComponentRef Id="templates.static" />
 21
 22    </ComponentGroup>
 23  </Fragment>
 24
 25  <Fragment>
 26    <DirectoryRef Id="INSTALLDIR">
 27
 28      <Directory Id="templatesdir" Name="templates" FileSource="$(var.SourceDir)">
 29
 30        <Component Id="templates.root" Guid="$(var.templates.root.guid)" Win64='$(var.IsX64)'>
 31          <File Name="map-cmdline.changelog" KeyPath="yes" />
 32          <File Name="map-cmdline.compact" />
 33          <File Name="map-cmdline.default" />
 34          <File Name="map-cmdline.xml" />
 35          <File Name="template-vars.txt" />
 36        </Component>
 37
 38        <Directory Id="templates.atomdir" Name="atom">
 39          <Component Id="templates.atom" Guid="$(var.templates.atom.guid)" Win64='$(var.IsX64)'>
 40            <File Id="atom.changelog.tmpl"      Name="changelog.tmpl" KeyPath="yes" />
 41            <File Id="atom.changelogentry.tmpl" Name="changelogentry.tmpl" />
 42            <File Id="atom.error.tmpl"          Name="error.tmpl" />
 43            <File Id="atom.filelog.tmpl"        Name="filelog.tmpl" />
 44            <File Id="atom.header.tmpl"         Name="header.tmpl" />
 45            <File Id="atom.map"                 Name="map" />
 46            <File Id="atom.tagentry.tmpl"       Name="tagentry.tmpl" />
 47            <File Id="atom.tags.tmpl"           Name="tags.tmpl" />
 48          </Component>
 49        </Directory>
 50
 51        <Directory Id="templates.coaldir" Name="coal">
 52          <Component Id="templates.coal" Guid="$(var.templates.coal.guid)" Win64='$(var.IsX64)'>
 53            <File Id="coal.header.tmpl" Name="header.tmpl" KeyPath="yes" />
 54            <File Id="coal.map"         Name="map" />
 55          </Component>
 56        </Directory>
 57
 58        <Directory Id="templates.gitwebdir" Name="gitweb">
 59          <Component Id="templates.gitweb" Guid="$(var.templates.gitweb.guid)" Win64='$(var.IsX64)'>
 60            <File Id="gitweb.branches.tmpl"       Name="branches.tmpl" KeyPath="yes" />
 61            <File Id="gitweb.changelog.tmpl"      Name="changelog.tmpl" />
 62            <File Id="gitweb.changelogentry.tmpl" Name="changelogentry.tmpl" />
 63            <File Id="gitweb.changeset.tmpl"      Name="changeset.tmpl" />
 64            <File Id="gitweb.error.tmpl"          Name="error.tmpl" />
 65            <File Id="gitweb.fileannotate.tmpl"   Name="fileannotate.tmpl" />
 66            <File Id="gitweb.filediff.tmpl"       Name="filediff.tmpl" />
 67            <File Id="gitweb.filelog.tmpl"        Name="filelog.tmpl" />
 68            <File Id="gitweb.filerevision.tmpl"   Name="filerevision.tmpl" />
 69            <File Id="gitweb.footer.tmpl"         Name="footer.tmpl" />
 70            <File Id="gitweb.graph.tmpl"          Name="graph.tmpl" />
 71            <File Id="gitweb.header.tmpl"         Name="header.tmpl" />
 72            <File Id="gitweb.index.tmpl"          Name="index.tmpl" />
 73            <File Id="gitweb.manifest.tmpl"       Name="manifest.tmpl" />
 74            <File Id="gitweb.map"                 Name="map" />
 75            <File Id="gitweb.notfound.tmpl"       Name="notfound.tmpl" />
 76            <File Id="gitweb.search.tmpl"         Name="search.tmpl" />
 77            <File Id="gitweb.shortlog.tmpl"       Name="shortlog.tmpl" />
 78            <File Id="gitweb.summary.tmpl"        Name="summary.tmpl" />
 79            <File Id="gitweb.tags.tmpl"           Name="tags.tmpl" />
 80            <File Id="gitweb.help.tmpl"           Name="help.tmpl" />
 81            <File Id="gitweb.helptopics.tmpl"     Name="helptopics.tmpl" />
 82          </Component>
 83        </Directory>
 84
 85        <Directory Id="templates.monobluedir" Name="monoblue">
 86          <Component Id="templates.monoblue" Guid="$(var.templates.monoblue.guid)" Win64='$(var.IsX64)'>
 87            <File Id="monoblue.branches.tmpl"       Name="branches.tmpl" KeyPath="yes" />
 88            <File Id="monoblue.changelog.tmpl"      Name="changelog.tmpl" />
 89            <File Id="monoblue.changelogentry.tmpl" Name="changelogentry.tmpl" />
 90            <File Id="monoblue.changeset.tmpl"      Name="changeset.tmpl" />
 91            <File Id="monoblue.error.tmpl"          Name="error.tmpl" />
 92            <File Id="monoblue.fileannotate.tmpl"   Name="fileannotate.tmpl" />
 93            <File Id="monoblue.filediff.tmpl"       Name="filediff.tmpl" />
 94            <File Id="monoblue.filelog.tmpl"        Name="filelog.tmpl" />
 95            <File Id="monoblue.filerevision.tmpl"   Name="filerevision.tmpl" />
 96            <File Id="monoblue.footer.tmpl"         Name="footer.tmpl" />
 97            <File Id="monoblue.graph.tmpl"          Name="graph.tmpl" />
 98            <File Id="monoblue.header.tmpl"         Name="header.tmpl" />
 99            <File Id="monoblue.index.tmpl"          Name="index.tmpl" />
100            <File Id="monoblue.manifest.tmpl"       Name="manifest.tmpl" />
101            <File Id="monoblue.map"                 Name="map" />
102            <File Id="monoblue.notfound.tmpl"       Name="notfound.tmpl" />
103            <File Id="monoblue.search.tmpl"         Name="search.tmpl" />
104            <File Id="monoblue.shortlog.tmpl"       Name="shortlog.tmpl" />
105            <File Id="monoblue.summary.tmpl"        Name="summary.tmpl" />
106            <File Id="monoblue.tags.tmpl"           Name="tags.tmpl" />
107            <File Id="monoblue.help.tmpl"           Name="help.tmpl" />
108            <File Id="monoblue.helptopics.tmpl"     Name="helptopics.tmpl" />
109          </Component>
110        </Directory>
111
112        <Directory Id="templates.paperdir" Name="paper">
113          <Component Id="templates.paper" Guid="$(var.templates.paper.guid)" Win64='$(var.IsX64)'>
114            <File Id="paper.branches.tmpl"      Name="branches.tmpl" KeyPath="yes" />
115            <File Id="paper.changeset.tmpl"     Name="changeset.tmpl" />
116            <File Id="paper.error.tmpl"         Name="error.tmpl" />
117            <File Id="paper.fileannotate.tmpl"  Name="fileannotate.tmpl" />
118            <File Id="paper.filediff.tmpl"      Name="filediff.tmpl" />
119            <File Id="paper.filelog.tmpl"       Name="filelog.tmpl" />
120            <File Id="paper.filelogentry.tmpl"  Name="filelogentry.tmpl" />
121            <File Id="paper.filerevision.tmpl"  Name="filerevision.tmpl" />
122            <File Id="paper.footer.tmpl"        Name="footer.tmpl" />
123            <File Id="paper.graph.tmpl"         Name="graph.tmpl" />
124            <File Id="paper.header.tmpl"        Name="header.tmpl" />
125            <File Id="paper.index.tmpl"         Name="index.tmpl" />
126            <File Id="paper.manifest.tmpl"      Name="manifest.tmpl" />
127            <File Id="paper.map"                Name="map" />
128            <File Id="paper.notfound.tmpl"      Name="notfound.tmpl" />
129            <File Id="paper.search.tmpl"        Name="search.tmpl" />
130            <File Id="paper.shortlog.tmpl"      Name="shortlog.tmpl" />
131            <File Id="paper.shortlogentry.tmpl" Name="shortlogentry.tmpl" />
132            <File Id="paper.tags.tmpl"          Name="tags.tmpl" />
133            <File Id="paper.help.tmpl"          Name="help.tmpl" />
134            <File Id="paper.helptopics.tmpl"    Name="helptopics.tmpl" />
135          </Component>
136        </Directory>
137
138        <Directory Id="templates.rawdir" Name="raw">
139          <Component Id="templates.raw" Guid="$(var.templates.raw.guid)" Win64='$(var.IsX64)'>
140            <File Id="raw.changeset.tmpl"    Name="changeset.tmpl" KeyPath="yes" />
141            <File Id="raw.error.tmpl"        Name="error.tmpl" />
142            <File Id="raw.fileannotate.tmpl" Name="fileannotate.tmpl" />
143            <File Id="raw.filediff.tmpl"     Name="filediff.tmpl" />
144            <File Id="raw.index.tmpl"        Name="index.tmpl" />
145            <File Id="raw.manifest.tmpl"     Name="manifest.tmpl" />
146            <File Id="raw.map"               Name="map" />
147            <File Id="raw.notfound.tmpl"     Name="notfound.tmpl" />
148          </Component>
149        </Directory>
150
151        <Directory Id="templates.rssdir" Name="rss">
152          <Component Id="templates.rss" Guid="$(var.templates.rss.guid)" Win64='$(var.IsX64)'>
153            <File Id="rss.changelog.tmpl"      Name="changelog.tmpl" KeyPath="yes" />
154            <File Id="rss.changelogentry.tmpl" Name="changelogentry.tmpl" />
155            <File Id="rss.error.tmpl"          Name="error.tmpl" />
156            <File Id="rss.filelog.tmpl"        Name="filelog.tmpl" />
157            <File Id="rss.filelogentry.tmpl"   Name="filelogentry.tmpl" />
158            <File Id="rss.header.tmpl"         Name="header.tmpl" />
159            <File Id="rss.map"                 Name="map" />
160            <File Id="rss.tagentry.tmpl"       Name="tagentry.tmpl" />
161            <File Id="rss.tags.tmpl"           Name="tags.tmpl" />
162          </Component>
163        </Directory>
164
165        <Directory Id="templates.spartandir" Name="spartan">
166          <Component Id="templates.spartan" Guid="$(var.templates.spartan.guid)" Win64='$(var.IsX64)'>
167            <File Id="spartan.branches.tmpl"       Name="branches.tmpl" KeyPath="yes" />
168            <File Id="spartan.changelog.tmpl"      Name="changelog.tmpl" />
169            <File Id="spartan.changelogentry.tmpl" Name="changelogentry.tmpl" />
170            <File Id="spartan.changeset.tmpl"      Name="changeset.tmpl" />
171            <File Id="spartan.error.tmpl"          Name="error.tmpl" />
172            <File Id="spartan.fileannotate.tmpl"   Name="fileannotate.tmpl" />
173            <File Id="spartan.filediff.tmpl"       Name="filediff.tmpl" />
174            <File Id="spartan.filelog.tmpl"        Name="filelog.tmpl" />
175            <File Id="spartan.filelogentry.tmpl"   Name="filelogentry.tmpl" />
176            <File Id="spartan.filerevision.tmpl"   Name="filerevision.tmpl" />
177            <File Id="spartan.footer.tmpl"         Name="footer.tmpl" />
178            <File Id="spartan.graph.tmpl"          Name="graph.tmpl" />
179            <File Id="spartan.header.tmpl"         Name="header.tmpl" />
180            <File Id="spartan.index.tmpl"          Name="index.tmpl" />
181            <File Id="spartan.manifest.tmpl"       Name="manifest.tmpl" />
182            <File Id="spartan.map"                 Name="map" />
183            <File Id="spartan.notfound.tmpl"       Name="notfound.tmpl" />
184            <File Id="spartan.search.tmpl"         Name="search.tmpl" />
185            <File Id="spartan.shortlog.tmpl"       Name="shortlog.tmpl" />
186            <File Id="spartan.shortlogentry.tmpl"  Name="shortlogentry.tmpl" />
187            <File Id="spartan.tags.tmpl"           Name="tags.tmpl" />
188          </Component>
189        </Directory>
190
191        <Directory Id="templates.staticdir" Name="static">
192          <Component Id="templates.static" Guid="$(var.templates.static.guid)" Win64='$(var.IsX64)'>
193            <File Id="static.background.png"     Name="background.png" KeyPath="yes" />
194            <File Id="static.coal.file.png"      Name="coal-file.png" />
195            <File Id="static.coal.folder.png"    Name="coal-folder.png" />
196            <File Id="static.excanvas.js"        Name="excanvas.js" />
197            <File Id="static.graph.js"           Name="graph.js" />
198            <File Id="static.hgicon.png"         Name="hgicon.png" />
199            <File Id="static.hglogo.png"         Name="hglogo.png" />
200            <File Id="static.style.coal.css"     Name="style-coal.css" />
201            <File Id="static.style.gitweb.css"   Name="style-gitweb.css" />
202            <File Id="static.style.monoblue.css" Name="style-monoblue.css" />
203            <File Id="static.style.paper.css"    Name="style-paper.css" />
204            <File Id="static.style.css"          Name="style.css" />
205          </Component>
206        </Directory>
207
208      </Directory>
209
210    </DirectoryRef>
211  </Fragment>
212
213 </Wix>