diff options
Diffstat (limited to 'Tools/msi/exe/exe.wxs')
-rw-r--r-- | Tools/msi/exe/exe.wxs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Tools/msi/exe/exe.wxs b/Tools/msi/exe/exe.wxs new file mode 100644 index 0000000..154cee5 --- /dev/null +++ b/Tools/msi/exe/exe.wxs @@ -0,0 +1,33 @@ +<?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)"> + <Package InstallerVersion="300" Compressed="yes" InstallScope="perUser" Platform="$(var.Platform)" /> + <MediaTemplate EmbedCab="yes" CompressionLevel="high" /> + + <PropertyRef Id="UpgradeTable" /> + <PropertyRef Id="REGISTRYKEY" /> + + <Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> + <ComponentGroupRef Id="exe_python" Primary="yes" /> + <ComponentGroupRef Id="exe_txt" /> + <ComponentGroupRef Id="exe_icons" /> + <ComponentRef Id="OptionalFeature" /> + </Feature> + + <Feature Id="Shortcuts" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> + <ComponentGroupRef Id="exe_python" /> + <Component Id="exe_shortcut" Directory="MenuDir" Guid="*"> + <Shortcut Id="python.exe" + Target="[#python.exe]" + Name="!(loc.ShortcutName)" + Description="!(loc.ShortcutDescription)" + WorkingDirectory="InstallDirectory" /> + <RemoveFolder Id="Remove_MenuDir" Directory="MenuDir" On="uninstall" /> + <RegistryKey Root="HKMU" Key="[REGISTRYKEY]"> + <RegistryValue Key="InstallPath\InstallGroup" Type="string" Value="!(loc.ProductName)" KeyPath="yes" /> + <RegistryValue Key="InstalledFeatures" Name="Shortcuts" Type="string" Value="$(var.Version)" /> + </RegistryKey> + </Component> + </Feature> + </Product> +</Wix> |