2015-02-06 02:08:48 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
|
|
|
<Product Id="*" Language="!(loc.LCID)" Name="!(loc.Title)" Version="$(var.Version)" Manufacturer="!(loc.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
|
2022-01-28 12:48:06 -04:00
|
|
|
<Package InstallerVersion="500" Compressed="yes" InstallScope="perUser" />
|
2022-03-07 13:23:11 -04:00
|
|
|
|
|
|
|
<PropertyRef Id="DetectTargetDir" />
|
2015-02-06 02:08:48 -04:00
|
|
|
<PropertyRef Id="UpgradeTable" />
|
|
|
|
<PropertyRef Id="REGISTRYKEY" />
|
|
|
|
|
|
|
|
<Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
|
|
|
|
<Component Id="PrependPath_CU" Directory="InstallDirectory" Guid="*">
|
|
|
|
<Condition>NOT ALLUSERS=1</Condition>
|
2015-07-09 00:18:44 -03:00
|
|
|
<RegistryKey Root="HKCU" Key="[REGISTRYKEY]">
|
|
|
|
<RegistryValue KeyPath="yes" Key="InstalledFeatures" Name="$(var.OptionalFeatureName)" Value="$(var.Version)" Type="string" />
|
|
|
|
</RegistryKey>
|
2015-02-06 02:08:48 -04:00
|
|
|
|
|
|
|
<CreateFolder Directory="Scripts" />
|
|
|
|
<RemoveFolder Id="Remove_Scripts_CU" Directory="Scripts" On="uninstall" />
|
|
|
|
|
|
|
|
<Environment Id="PATH_CU" Action="set" Name="PATH" Part="first" Value="[InstallDirectory]" />
|
|
|
|
<Environment Id="SCRIPTS_PATH_CU" Action="set" Name="PATH" Part="first" Value="[Scripts]" />
|
|
|
|
</Component>
|
|
|
|
<Component Id="PrependPath_LM" Directory="InstallDirectory" Guid="*">
|
|
|
|
<Condition>ALLUSERS=1</Condition>
|
2015-07-09 00:18:44 -03:00
|
|
|
<RegistryKey Root="HKLM" Key="[REGISTRYKEY]">
|
|
|
|
<RegistryValue KeyPath="yes" Key="InstalledFeatures" Name="$(var.OptionalFeatureName)" Value="$(var.Version)" Type="string" />
|
|
|
|
</RegistryKey>
|
2015-02-06 02:08:48 -04:00
|
|
|
|
|
|
|
<CreateFolder Directory="Scripts" />
|
|
|
|
<RemoveFolder Id="Remove_Scripts_LM" Directory="Scripts" On="uninstall" />
|
|
|
|
|
|
|
|
<Environment Id="PATH_LM" Action="set" Name="PATH" Part="first" Value="[InstallDirectory]" System="yes" />
|
|
|
|
<Environment Id="SCRIPTS_PATH_LM" Action="set" Name="PATH" Part="first" Value="[Scripts]" System="yes" />
|
|
|
|
<Environment Id="PY_PATHEXT_LM" Action="set" Name="PATHEXT" Part="last" Value=".PY" System="yes" />
|
|
|
|
<Environment Id="PYW_PATHEXT_LM" Action="set" Name="PATHEXT" Part="last" Value=".PYW" System="yes" />
|
|
|
|
</Component>
|
|
|
|
</Feature>
|
|
|
|
</Product>
|
|
|
|
</Wix>
|
|
|
|
|