contrib/wix/doc.wxs
changeset 10930 230ab9a23594
parent 10828 1aa9464ce9ae
child 13042 bd9bc4123920
equal deleted inserted replaced
10929:c2bf61e48f35 10930:230ab9a23594
     2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
     2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
     3 
     3 
     4   <?include guids.wxi ?>
     4   <?include guids.wxi ?>
     5 
     5 
     6   <Fragment>
     6   <Fragment>
       
     7     <ComponentGroup Id="docFolder">
       
     8       <ComponentRef Id="doc.hg.1.html" />
       
     9       <ComponentRef Id="doc.hgignore.5.html" />
       
    10       <ComponentRef Id="doc.hgrc.5.html" />
       
    11       <ComponentRef Id="doc.style.css" />
       
    12     </ComponentGroup>
       
    13   </Fragment>
       
    14 
       
    15   <Fragment>
     7     <DirectoryRef Id="INSTALLDIR">
    16     <DirectoryRef Id="INSTALLDIR">
     8       <Directory Id="docdir" Name="doc" />
    17       <Directory Id="docdir" Name="doc" FileSource="$(var.SourceDir)">
       
    18         <Component Id="doc.hg.1.html" Guid="$(var.doc.hg.1.html.guid)">
       
    19           <File Name="hg.1.html" KeyPath="yes">
       
    20             <Shortcut Id="hg1StartMenu" Directory="ProgramMenuDir"
       
    21                       Name="Mercurial Command Reference"
       
    22                       Icon="hgIcon.ico" IconIndex="0" Advertise="yes"
       
    23             />
       
    24           </File>
       
    25         </Component>
       
    26         <Component Id="doc.hgignore.5.html" Guid="$(var.doc.hgignore.5.html.guid)">
       
    27           <File Name="hgignore.5.html" KeyPath="yes">
       
    28             <Shortcut Id="hgignore5StartMenu" Directory="ProgramMenuDir"
       
    29                       Name="Mercurial Ignore Files"
       
    30                       Icon="hgIcon.ico" IconIndex="0" Advertise="yes"
       
    31             />
       
    32           </File>
       
    33         </Component>
       
    34         <Component Id="doc.hgrc.5.html" Guid="$(var.doc.hgrc.5.html)">
       
    35           <File Name="hgrc.5.html" KeyPath="yes">
       
    36             <Shortcut Id="hgrc5StartMenu" Directory="ProgramMenuDir"
       
    37                       Name="Mercurial Configuration Files"
       
    38                       Icon="hgIcon.ico" IconIndex="0" Advertise="yes"
       
    39             />
       
    40           </File>
       
    41         </Component>
       
    42         <Component Id="doc.style.css" Guid="$(var.doc.style.css)">
       
    43           <File Name="style.css" KeyPath="yes" />
       
    44         </Component>
       
    45       </Directory>
     9     </DirectoryRef>
    46     </DirectoryRef>
    10   </Fragment>
    47   </Fragment>
    11 
    48 
    12   <Fragment>
       
    13     <ComponentGroup Id="docFolder">
       
    14       <Component Id="doc.hg.1.html" Directory="docdir"
       
    15                  Guid="$(var.doc.hg.1.html.guid)"
       
    16       >
       
    17         <File Source="$(var.SourceDir)\hg.1.html" KeyPath="yes">
       
    18           <Shortcut Id="hg1StartMenu" Directory="ProgramMenuDir"
       
    19                     Name="Mercurial Command Reference"
       
    20                     Icon="hgIcon.ico" IconIndex="0" Advertise="yes"
       
    21           />
       
    22         </File>
       
    23       </Component>
       
    24       <Component Id="doc.hgignore.5.html" Directory="docdir"
       
    25                  Guid="$(var.doc.hgignore.5.html.guid)"
       
    26       >
       
    27         <File Source="$(var.SourceDir)\hgignore.5.html" KeyPath="yes">
       
    28           <Shortcut Id="hgignore5StartMenu" Directory="ProgramMenuDir"
       
    29                     Name="Mercurial Ignore Files"
       
    30                     Icon="hgIcon.ico" IconIndex="0" Advertise="yes"
       
    31           />
       
    32         </File>
       
    33       </Component>
       
    34       <Component Id="doc.hgrc.5.html" Directory="docdir" 
       
    35                  Guid="$(var.doc.hgrc.5.html)"
       
    36       >
       
    37         <File Source="$(var.SourceDir)\hgrc.5.html" KeyPath="yes">
       
    38           <Shortcut Id="hgrc5StartMenu" Directory="ProgramMenuDir"
       
    39                     Name="Mercurial Configuration Files"
       
    40                     Icon="hgIcon.ico" IconIndex="0" Advertise="yes"
       
    41           />
       
    42         </File>
       
    43       </Component>
       
    44       <Component Id="doc.style.css" Directory="docdir"
       
    45                  Guid="$(var.doc.style.css)"
       
    46       >
       
    47         <File Source="$(var.SourceDir)\style.css" KeyPath="yes" />
       
    48       </Component>
       
    49     </ComponentGroup>
       
    50   </Fragment>
       
    51 
       
    52 </Wix>
    49 </Wix>