Add a ShibbolethPatchVersion variable to the MSI builds.
[shibboleth/cpp-sp.git] / msi / WiX / Installer.vcxproj
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
3   <ItemGroup Label="ProjectConfigurations">\r
4     <ProjectConfiguration Include="Debug|Win32">\r
5       <Configuration>Debug</Configuration>\r
6       <Platform>Win32</Platform>\r
7     </ProjectConfiguration>\r
8     <ProjectConfiguration Include="Debug|Win32">\r
9       <Configuration>Debug</Configuration>\r
10       <Platform>x64</Platform>\r
11     </ProjectConfiguration>\r
12     <ProjectConfiguration Include="Release|Win32">\r
13       <Configuration>Release</Configuration>\r
14       <Platform>Win32</Platform>\r
15     </ProjectConfiguration>\r
16     <ProjectConfiguration Include="Release|Win32">\r
17       <Configuration>Release</Configuration>\r
18       <Platform>x64</Platform>\r
19     </ProjectConfiguration>\r
20   </ItemGroup>\r
21   <PropertyGroup Label="Globals">\r
22     <ProjectGuid>{C2B1BB79-C88B-42B4-9AEC-170F91910F70}</ProjectGuid>\r
23     <Keyword>MakeFileProj</Keyword>\r
24   </PropertyGroup>\r
25   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
26   <PropertyGroup Label="Configuration">\r
27     <ConfigurationType>Makefile</ConfigurationType>\r
28     <UseDebugLibraries>false</UseDebugLibraries>\r
29   </PropertyGroup>\r
30   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
31   <ImportGroup Label="ExtensionSettings">\r
32   </ImportGroup>\r
33   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
34     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
35   </ImportGroup>\r
36   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
37     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
38   </ImportGroup>\r
39   <Import Project="..\..\..\BuildPath.props" />\r
40   <Import Project="$(ParentRoot)\Versions.props" />\r
41   <PropertyGroup Label="UserMacros" />\r
42   <PropertyGroup Condition="'$(Configuration)'=='Debug'">\r
43     <NMakeBuildCommandLine>nmake /f Installer.make clean</NMakeBuildCommandLine>\r
44     <NMakeCleanCommandLine>del *.wixobj *.msi *.wixlib</NMakeCleanCommandLine>\r
45     <NMakeReBuildCommandLine>nmake /f Installer.make clean</NMakeReBuildCommandLine>\r
46     <NMakePreprocessorDefinitions>WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>\r
47   </PropertyGroup>\r
48   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
49     <NMakeBuildCommandLine>nmake /f Installer.make BuildSP=$(BuildRoot) SolutionDir=$(SolutionDir) ShibbolethVersion=$(ShibbolethVersion) ShibbolethPatchVersion=$(ShibbolethPatchVersion) ShibbolethId32=$(ShibbolethId32) ShibbolethUpgradeCode=$(ShibbolethUpgradeCode) ShibbolethId32=$(ShibbolethId32) all32</NMakeBuildCommandLine>\r
50     <NMakeCleanCommandLine>del *86.wixobj\r
51 del *86.msi\r
52 del *.wixlib\r
53 del *x86.wixpdb</NMakeCleanCommandLine>\r
54     <NMakeReBuildCommandLine>nmake /f Installer.make BuildSP=$(BuildRoot) SolutionDir=$(SolutionDir) ShibbolethVersion=$(ShibbolethVersion) ShibbolethPatchVersion=$(ShibbolethPatchVersion) ShibbolethId32=$(ShibbolethId32) ShibbolethUpgradeCode=$(ShibbolethUpgradeCode) ShibbolethId32=$(ShibbolethId32) rebuild32</NMakeReBuildCommandLine>\r
55     <NMakePreprocessorDefinitions>\r
56     </NMakePreprocessorDefinitions>\r
57   </PropertyGroup>\r
58   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
59     <NMakeBuildCommandLine>nmake /f Installer.make BuildSP=$(BuildRoot) SolutionDir=$(SolutionDir) ShibbolethVersion=$(ShibbolethVersion) ShibbolethPatchVersion=$(ShibbolethPatchVersion) ShibbolethId64=$(ShibbolethId64) ShibbolethUpgradeCode=$(ShibbolethUpgradeCode) ShibbolethId64=$(ShibbolethId64) all64</NMakeBuildCommandLine>\r
60     <NMakeCleanCommandLine>del *64.wixobj\r
61 del *64.msmi\r
62 del *.wixlib\r
63 del *64.wixpdb</NMakeCleanCommandLine>\r
64     <NMakeReBuildCommandLine>nmake /f Installer.make BuildSP=$(BuildRoot) SolutionDir=$(SolutionDir) ShibbolethVersion=$(ShibbolethVersion) ShibbolethPatchVersion=$(ShibbolethPatchVersion) ShibbolethId64=$(ShibbolethId64) ShibbolethUpgradeCode=$(ShibbolethUpgradeCode) ShibbolethId64=$(ShibbolethId64) rebuild64</NMakeReBuildCommandLine>\r
65     <NMakePreprocessorDefinitions>WIN32;NDEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>\r
66   </PropertyGroup>\r
67   <ItemDefinitionGroup>\r
68   </ItemDefinitionGroup>\r
69   <ItemGroup>\r
70     <None Include="Dialog.bmp" />\r
71     <None Include="Installer.make" />\r
72     <None Include="license.rtf" />\r
73     <None Include="ShibbolethSP-defs-x86.wxi" />\r
74     <None Include="ShibbolethSP-exe-x64.wxs" />\r
75     <None Include="ShibbolethSP-exe-x86.wxs" />\r
76     <None Include="ShibbolethSP-gui.wxs" />\r
77     <None Include="ShibbolethSP-install-dlg.wxs" />\r
78     <None Include="ShibbolethSP-main-x64.wxs" />\r
79     <None Include="ShibbolethSP-main-x86.wxs" />\r
80     <None Include="ShibbolethSP-noarch.wxs" />\r
81     <None Include="ShibbolethSP-properties.wxi" />\r
82     <None Include="ShibbolethSP-registry-x64.wxs" />\r
83     <None Include="ShibbolethSP-registry-x86.wxs" />\r
84     <None Include="ShibbolethSP-update-dlg.wxs" />\r
85     <None Include="TopBanner.bmp" />\r
86   </ItemGroup>\r
87   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
88   <ImportGroup Label="ExtensionTargets">\r
89   </ImportGroup>\r
90 </Project>\r