Skip to content

Commit 79e10ac

Browse files
committed
Reverting some changes to make VSTS build
1 parent 6c5fce1 commit 79e10ac

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

eFormAPI/Installation/Bundle/InstallBundle.wixproj

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<OutputName>Eform Angular Frontend</OutputName>
1010
<OutputType>Bundle</OutputType>
1111
<Name>InstallBundle</Name>
12-
<WixToolPath>$(ProjectDir)..\wix\3.11\</WixToolPath>
12+
<!--<WixToolPath>$(ProjectDir)..\wix\3.11\</WixToolPath>
1313
<WixTargetsPath>$(WixToolPath)\wix.targets</WixTargetsPath>
14-
<WixTasksPath>wixtasks.dll</WixTasksPath>
14+
<WixTasksPath>wixtasks.dll</WixTasksPath>-->
1515
</PropertyGroup>
1616
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
1717
<OutputPath>..\AllowMultipleVersionsBundle\Resources\</OutputPath>
@@ -58,6 +58,11 @@
5858
<Content Include="requestRouter_amd64.msi" />
5959
<Content Include="rewrite_amd64.msi" />
6060
</ItemGroup>
61+
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
62+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
63+
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
64+
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
65+
</Target>
6166
<ItemGroup>
6267
<EmbeddedResource Include="HyperlinkTheme.wxl" />
6368
</ItemGroup>

eFormAPI/Installation/CustomActions/CustomActions.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
<AssemblyName>CustomActions</AssemblyName>
1313
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
15-
<WixToolPath>$(ProjectDir)..\wix\3.11\sdk\</WixToolPath>
16-
<WixCATargetsPath>$(WixToolPath)wix.ca.targets</WixCATargetsPath>
15+
<WixCATargetsPath Condition=" '$(WixCATargetsPath)' == '' ">..\wix\3.11\sdk\wix.ca.targets</WixCATargetsPath>
16+
<!--<WixToolPath>$(ProjectDir)..\wix\3.11\sdk\</WixToolPath>
17+
<WixCATargetsPath>$(WixToolPath)wix.ca.targets</WixCATargetsPath>-->
1718
</PropertyGroup>
1819
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
1920
<DebugSymbols>true</DebugSymbols>

eFormAPI/Installation/MainInstaller/MainInstaller.wixproj

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
<SchemaVersion>2.0</SchemaVersion>
99
<OutputName>maininstaller</OutputName>
1010
<OutputType>Package</OutputType>
11-
<WixToolPath>$(ProjectDir)..\wix\3.11\</WixToolPath>
11+
<!--<WixToolPath>$(ProjectDir)..\wix\3.11\</WixToolPath>
1212
<WixTargetsPath>$(WixToolPath)\wix.targets</WixTargetsPath>
13-
<WixTasksPath>wixtasks.dll</WixTasksPath>
13+
<WixTasksPath>wixtasks.dll</WixTasksPath>-->
1414
</PropertyGroup>
1515
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
1616
<OutputPath>..\Bundle\</OutputPath>
@@ -76,7 +76,13 @@
7676
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
7777
</ProjectReference>
7878
</ItemGroup>
79-
<Import Project="$(WixTargetsPath)"/>
79+
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
80+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
81+
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
82+
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
83+
</Target>
84+
85+
<!--<Import Project="$(WixTargetsPath)"/>-->
8086
<PropertyGroup>
8187
<DefineConstants>ClientPath=..\..\..\eform-client; ApiPath=..\..\eformapi; LetsEncryptPath=..\..\..\eFormAPI\Installation\letsencrypt</DefineConstants>
8288
</PropertyGroup>

0 commit comments

Comments
 (0)