summaryrefslogtreecommitdiffstats
path: root/Tools/msi/tcltk/tcltk.wixproj
blob: e1addd9ed54e1cb25d4f70533005d6d8121f71ad (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
54
55
56
57
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
        <ProjectGuid>{DB350600-186C-4E52-BA98-26A7CECB067F}</ProjectGuid>
        <SchemaVersion>2.0</SchemaVersion>
        <OutputName>tcltk</OutputName>
        <OutputType>Package</OutputType>
    </PropertyGroup>
    <PropertyGroup>
        <!-- Shortcut validation is not necessary -->
        <SuppressICEs>ICE43</SuppressICEs>
    </PropertyGroup>
    <Import Project="..\msi.props" />
    <ItemGroup>
        <Compile Include="tcltk.wxs" />
        <Compile Include="tcltk_files.wxs" />
        <Compile Include="tcltk_reg.wxs" />
    </ItemGroup>
    <ItemGroup>
        <WxlTemplate Include="*.wxl_template" />
    </ItemGroup>
    <ItemGroup>
        <InstallFiles Include="$(tcltkDir)bin\*.dll" Exclude="$(tcltkDir)bin\*g.dll">
            <SourceBase>$(tcltkDir)</SourceBase>
            <Source>!(bindpath.tcltk)</Source>
            <TargetBase>$(tcltkDir)bin</TargetBase>
            <Target_>DLLs\</Target_>
            <Group>tcltk_dlls</Group>
        </InstallFiles>
        <InstallFiles Include="$(VCInstallDir)redist\$(Platform)\Microsoft.VC$(PlatformToolset.Substring(1)).CRT\vcruntime$(PlatformToolset.Substring(1)).dll">
            <SourceBase>$(VCInstallDir)redist\$(Platform)\</SourceBase>
            <Source>$(VCInstallDir)redist\$(Platform)\</Source>
            <TargetBase>$(VCInstallDir)redist\$(Platform)\</TargetBase>
            <Target_>DLLs\</Target_>
            <Group>tcltk_dlls</Group>
        </InstallFiles>

        <InstallFiles Include="$(tcltkDir)lib\**\*">
            <SourceBase>$(tcltkDir)</SourceBase>
            <Source>!(bindpath.tcltk)</Source>
            <TargetBase>$(tcltkDir)lib</TargetBase>
            <Target_>tcl\</Target_>
            <Group>tcltk_lib</Group>
        </InstallFiles>

        <InstallFiles Include="$(PySourcePath)Lib\tkinter\**\*;$(PySourcePath)Lib\idlelib\**\*;$(PySourcePath)Lib\turtledemo\**\*"
                      Exclude="$(PySourcePath)Lib\**\*.pyc;$(PySourcePath)Lib\**\*.pyo">
            <SourceBase>$(PySourcePath)</SourceBase>
            <Source>!(bindpath.src)</Source>
            <TargetBase>$(PySourcePath)</TargetBase>
            <Target_></Target_>
            <Group>tkinter_lib</Group>
        </InstallFiles>
    </ItemGroup>
    
    <Import Project="..\msi.targets" />
</Project>