Skip to content

Commit 7f31790

Browse files
Additional build fixes
Fixed dependency issues introduced with library and merge module. Also moved to using $(WIX) environment variable to account for differing WiX installation locations.
1 parent 9499625 commit 7f31790

File tree

3 files changed

+21
-12
lines changed

3 files changed

+21
-12
lines changed

IntelPresentMon/PMInstallerExtension/PMInstallerExtension.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<Reference Include="System.Net.Http" />
4141
<Reference Include="System.Xml" />
4242
<Reference Include="wix">
43-
<HintPath>C:\Program Files (x86)\WiX Toolset v3.11\bin\wix.dll</HintPath>
43+
<HintPath>$(WIX)bin\wix.dll</HintPath>
4444
</Reference>
4545
</ItemGroup>
4646
<ItemGroup>

IntelPresentMon/PMInstallerLib/PMInstallerLib.wixproj

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,34 @@
88
<!-- Point these at YOUR WiX 3.x install -->
99
<WixToolPath>$(WIX)bin\</WixToolPath>
1010
<WixTargetsPath>$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
11-
<!-- Define the two variables your .wxs uses -->
12-
<DefineConstants>
13-
PresentMonService.TargetFileName=PresentMonService.exe;
14-
PresentMonService.TargetPath=$(SolutionDir)build\$(Configuration)\PresentMonService.exe;
15-
PresentMonAPI2.TargetFileName=PresentMonAPI2.dll;
16-
PresentMonAPI2.TargetPath=$(SolutionDir)build\$(Configuration)\PresentMonAPI2.dll
17-
</DefineConstants>
1811
<!-- Optional: ask lit.exe to embed files into the .wixlib -->
1912
<BindFiles>true</BindFiles>
2013
<ProjectGuid>{6478f2f6-92ad-4b1c-a13e-c8cea9125152}</ProjectGuid>
2114
</PropertyGroup>
2215
<ItemGroup>
2316
<Compile Include="Library.wxs" />
2417
</ItemGroup>
18+
<ItemGroup>
19+
<ProjectReference Include="..\PresentMonAPI2\PresentMonAPI2.vcxproj">
20+
<Name>PresentMonAPI2</Name>
21+
<Project>{5ddba061-53a0-4835-8aaf-943f403f924f}</Project>
22+
<Private>True</Private>
23+
<DoNotHarvest>True</DoNotHarvest>
24+
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
25+
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
26+
</ProjectReference>
27+
<ProjectReference Include="..\PresentMonService\PresentMonService.vcxproj">
28+
<Name>PresentMonService</Name>
29+
<Project>{3a848e5b-a376-4a22-bbac-e9b3c01bd385}</Project>
30+
<Private>True</Private>
31+
<DoNotHarvest>True</DoNotHarvest>
32+
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
33+
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
34+
</ProjectReference>
35+
</ItemGroup>
2536
<!-- Add WiX extensions here only if you actually use them in Library.wxs -->
2637
<!-- <ItemGroup>
2738
<WixExtension Include="WixUtilExtension" />
2839
</ItemGroup> -->
2940
<Import Project="$(WixTargetsPath)" />
30-
</Project>
41+
</Project>

PresentMon.sln

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KernelProcess", "IntelPrese
107107
EndProject
108108
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "PMInstallerLib", "IntelPresentMon\PMInstallerLib\PMInstallerLib.wixproj", "{6478F2F6-92AD-4B1C-A13E-C8CEA9125152}"
109109
EndProject
110-
Project("{B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0}") = "ServiceMergeModule", "IntelPresentMon\ServiceMergeModule\ServiceMergeModule.wixproj", "{DC72C6B9-CA78-46C4-9962-E927B7A8D607}"
110+
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "ServiceMergeModule", "IntelPresentMon\ServiceMergeModule\ServiceMergeModule.wixproj", "{DC72C6B9-CA78-46C4-9962-E927B7A8D607}"
111111
EndProject
112112
Global
113113
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -456,7 +456,6 @@ Global
456456
{8524C555-B172-46EF-BE42-7B7B7BB102E4}.Release-EDSS-MSI|x64.ActiveCfg = Release|x64
457457
{8524C555-B172-46EF-BE42-7B7B7BB102E4}.Release-EDSS-MSI|x86.ActiveCfg = Release|x64
458458
{6478F2F6-92AD-4B1C-A13E-C8CEA9125152}.Debug|x64.ActiveCfg = Debug|x86
459-
{6478F2F6-92AD-4B1C-A13E-C8CEA9125152}.Debug|x64.Build.0 = Debug|x86
460459
{6478F2F6-92AD-4B1C-A13E-C8CEA9125152}.Debug|x86.ActiveCfg = Debug|x86
461460
{6478F2F6-92AD-4B1C-A13E-C8CEA9125152}.Debug|x86.Build.0 = Debug|x86
462461
{6478F2F6-92AD-4B1C-A13E-C8CEA9125152}.Release|x64.ActiveCfg = Release|x86
@@ -472,7 +471,6 @@ Global
472471
{6478F2F6-92AD-4B1C-A13E-C8CEA9125152}.Release-EDSS-MSI|x86.ActiveCfg = Release|x86
473472
{6478F2F6-92AD-4B1C-A13E-C8CEA9125152}.Release-EDSS-MSI|x86.Build.0 = Release|x86
474473
{DC72C6B9-CA78-46C4-9962-E927B7A8D607}.Debug|x64.ActiveCfg = Debug|x86
475-
{DC72C6B9-CA78-46C4-9962-E927B7A8D607}.Debug|x64.Build.0 = Debug|x86
476474
{DC72C6B9-CA78-46C4-9962-E927B7A8D607}.Debug|x86.ActiveCfg = Debug|x86
477475
{DC72C6B9-CA78-46C4-9962-E927B7A8D607}.Debug|x86.Build.0 = Debug|x86
478476
{DC72C6B9-CA78-46C4-9962-E927B7A8D607}.Release|x64.ActiveCfg = Release|x86

0 commit comments

Comments
 (0)