Welcome to mirror list, hosted at ThFree Co, Russian Federation.

product.wxs « msi « tools - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 89a61295a1aca3f54ec4e20aab92450bac6a92de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

  <?define sourcedir="$(var.ProjectDir)..\..\$(var.Configuration)\" ?>

  <Product Id="cc6c176e-e26c-48ec-8970-f58bd1d046cf"
           Name="node.js"
           Language="1033"
           Version="$(var.ProductVersion)"
           Manufacturer="Joyent, Inc"
           UpgradeCode="1d60944c-b9ce-4a71-a7c0-0384eb884baa">

    <Package InstallerVersion="200" Compressed="yes" Platform="x86" />

    <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
    
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="NodeRoot" Name="nodejs">
          <Component Id="nodeexe" Guid="AEC0F08E-89B3-4C35-A286-8DB8598597F2">
            <File Id="filenodeexe" KeyPath="yes" Source="$(var.sourcedir)\node.exe" />
          </Component>
          <?if $(var.Configuration) = Debug ?>
          <Component Id="nodepdb" Guid="BEC0F08E-89B3-4C35-A286-8DB8598597F2">
            <File Id="filenodepdb" KeyPath="yes" Source="$(var.sourcedir)\node.pdb" />
          </Component>
          <?endif?>
          <Component Id="license" Guid="CEC0F08E-89B3-4C35-A286-8DB8598597F2">
            <File Id="filelicense" KeyPath="yes" Source="$(var.sourcedir)\..\LICENSE" />
          </Component>
        </Directory>
      </Directory>
    </Directory>

    <ComponentGroup Id="allfiles">
      <ComponentRef Id="nodeexe"/>
      <?if $(var.Configuration) = Debug ?>
      <ComponentRef Id="nodepdb"/>
      <?endif?>
      <ComponentRef Id="license"/>
    </ComponentGroup>

    <Feature Id="nodejs" Title="node.js engine" Level="1" Description="evented I/O for V8 javascript">
      <ComponentGroupRef Id="allfiles" />
      <ComponentGroupRef Id="Product.Generated" />
    </Feature>

    <WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\license.rtf" />
    <UIRef Id="WixUI_Minimal" />

  </Product>

</Wix>