1d0f000ef2e2b4e0e0ba1ea9c5a430993c8d9b8e
[openafs.git] / src / WINNT / install / NSIS / vcruntime.wxs
1 <?xml version="1.0" ?>
2 <Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
3
4   <?ifndef Config?>
5     <?define Config=Debug?>
6   <?endif?>
7
8     <Product
9        Id="????????-????-????-????-????????????"
10        Codepage="1252"
11        Language="1033"
12        Manufacturer="Microsoft Corporation"
13        Name="Visual C++ 8.0 $(var.Config) ($(var.Platform)) Runtime"
14        UpgradeCode="1184DE9F-813A-4DB3-8533-BB7D4E51D695"
15        Version="0.1.0.0"
16        >
17       <Package
18          Id="????????-????-????-????-????????????"
19          AdminImage="no"
20          Comments="Copyright (C) Microsoft Corporation, All rights reserved."
21          Compressed="yes"
22          Description="Visual C++ 8.0 $(var.Config) ($(var.Platform)) WinSXS MSM"
23          InstallerVersion="300"
24          Keywords="Installer,VC,$(var.Config),Runtime"
25          Manufacturer="Microsoft Corporation"
26          Platforms="$(var.Platform)"
27          ShortNames="no"
28          SummaryCodepage="1252"
29          />
30
31       <Directory Id="TARGETDIR" Name="SourceDir">
32         <?ifdef env.CommonProgramFiles6432?>
33           <?define CPF="$(env.CommonProgramFiles(x86)"?>
34         <?else?>
35           <?define CPF="$(env.CommonProgramFiles)"?>
36         <?endif?>
37
38         <?if $(var.Platform) = "x64" ?>
39           <?if $(var.Config) = "Retail" ?>
40             <Merge Id="MSVCRT8MEM" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_CRT_x86_x64.msm"/>
41             <Merge Id="MSVCRT8POL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_CRT_x86_x64.msm"/>
42             <Merge Id="MSVCRT8MFC" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_MFC_x86_x64.msm"/>
43             <Merge Id="MSVCRT8PFC" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_MFC_x86_x64.msm"/>
44             <Merge Id="MSVCRT8MFL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_MFCLOC_x86_x64.msm"/>
45             <Merge Id="MSVCRT8PFL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_MFCLOC_x86_x64.msm"/>
46           <?else?>
47             <Merge Id="MSVCRT8MEM" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_DebugCRT_x86_x64.msm"/>
48             <Merge Id="MSVCRT8POL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_DebugCRT_x86_x64.msm"/>
49             <Merge Id="MSVCRT8MFC" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_DebugMFC_x86_x64.msm"/>
50             <Merge Id="MSVCRT8PFC" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_DebugMFC_x86_x64.msm"/>
51             <Merge Id="MSVCRT8MFL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_MFCLOC_x86_x64.msm"/>
52             <Merge Id="MSVCRT8PFL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_MFCLOC_x86_x64.msm"/>
53           <?endif?>
54         <?else?>
55           <?if $(var.Config) = "Retail" ?>
56             <Merge Id="MSVCRT8MEM" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_CRT_x86.msm"/>
57             <Merge Id="MSVCRT8POL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_CRT_x86.msm"/>
58             <Merge Id="MSVCRT8MFC" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_MFC_x86.msm"/>
59             <Merge Id="MSVCRT8PFC" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_MFC_x86.msm"/>
60             <Merge Id="MSVCRT8MFL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_MFCLOC_x86.msm"/>
61             <Merge Id="MSVCRT8PFL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_MFCLOC_x86.msm"/>
62           <?else?>
63             <Merge Id="MSVCRT8MEM" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_DebugCRT_x86.msm"/>
64             <Merge Id="MSVCRT8POL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_DebugCRT_x86.msm"/>
65             <Merge Id="MSVCRT8MFC" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_DebugMFC_x86.msm"/>
66             <Merge Id="MSVCRT8PFC" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_DebugMFC_x86.msm"/>
67             <Merge Id="MSVCRT8MFL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_MFCLOC_x86.msm"/>
68             <Merge Id="MSVCRT8PFL" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\policy_8_0_Microsoft_VC80_MFCLOC_x86.msm"/>
69           <?endif?>
70         <?endif?>
71       </Directory>
72
73       <Feature Id="FeatureAll" AllowAdvertise="no" Absent="disallow"
74                Description="Install VC ++ 8.0 Runtime" Display="expand" InstallDefault="local" Level="3"
75                Title="All">
76         <MergeRef Id="MSVCRT8MEM"/>
77         <MergeRef Id="MSVCRT8POL"/>
78         <MergeRef Id="MSVCRT8MFC"/>
79         <MergeRef Id="MSVCRT8PFC"/>
80         <MergeRef Id="MSVCRT8MFL"/>
81         <MergeRef Id="MSVCRT8PFL"/>
82       </Feature>  
83
84       <Media Id="1" Cabinet="disk1.cab" CompressionLevel="high" EmbedCab="yes" />
85
86       <Property Id="INSTALLLEVEL" Value="3" />
87
88     </Product>
89 </Wix>