blob: 7e462e26e9c1880ef674c52d8a50fb2fd181317f [file] [log] [blame]
Steve Dowerbb240872015-02-05 22:08:48 -08001<?xml version="1.0" encoding="UTF-8"?>
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3 <Product Id="*" Language="!(loc.LCID)" Name="!(loc.Title)" Version="$(var.Version)" Manufacturer="!(loc.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
4 <Package InstallerVersion="300" Compressed="yes" InstallScope="perUser" Platform="$(var.Platform)" />
5
6 <PropertyRef Id="UpgradeTable" />
7 <PropertyRef Id="REGISTRYKEY" />
8
9 <Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
10 <Component Id="PrependPath_CU" Directory="InstallDirectory" Guid="*">
11 <Condition>NOT ALLUSERS=1</Condition>
12 <RegistryValue KeyPath="yes" Root="HKCU" Key="[REGISTRYKEY]\PrependPath" Value="1" Type="integer" />
13
14 <CreateFolder Directory="Scripts" />
15 <RemoveFolder Id="Remove_Scripts_CU" Directory="Scripts" On="uninstall" />
16
17 <Environment Id="PATH_CU" Action="set" Name="PATH" Part="first" Value="[InstallDirectory]" />
18 <Environment Id="SCRIPTS_PATH_CU" Action="set" Name="PATH" Part="first" Value="[Scripts]" />
19 </Component>
20 <Component Id="PrependPath_LM" Directory="InstallDirectory" Guid="*">
21 <Condition>ALLUSERS=1</Condition>
22 <RegistryValue KeyPath="yes" Root="HKLM" Key="[REGISTRYKEY]\PrependPath" Value="1" Type="integer" />
23
24 <CreateFolder Directory="Scripts" />
25 <RemoveFolder Id="Remove_Scripts_LM" Directory="Scripts" On="uninstall" />
26
27 <Environment Id="PATH_LM" Action="set" Name="PATH" Part="first" Value="[InstallDirectory]" System="yes" />
28 <Environment Id="SCRIPTS_PATH_LM" Action="set" Name="PATH" Part="first" Value="[Scripts]" System="yes" />
29 <Environment Id="PY_PATHEXT_LM" Action="set" Name="PATHEXT" Part="last" Value=".PY" System="yes" />
30 <Environment Id="PYW_PATHEXT_LM" Action="set" Name="PATHEXT" Part="last" Value=".PYW" System="yes" />
31 </Component>
32 </Feature>
33 </Product>
34</Wix>
35