Skip to content

Commit 0956be5

Browse files
committed
Added Installers
1 parent 4a0be76 commit 0956be5

File tree

8 files changed

+976
-4
lines changed

8 files changed

+976
-4
lines changed

MySQLHostManager40/MySQLHostManager40.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<DefineConstants>TRACE</DefineConstants>
6868
<Optimize>true</Optimize>
6969
<DebugType>pdbonly</DebugType>
70-
<PlatformTarget>x86</PlatformTarget>
70+
<PlatformTarget>AnyCPU</PlatformTarget>
7171
<ErrorReport>prompt</ErrorReport>
7272
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
7373
</PropertyGroup>
@@ -100,7 +100,7 @@
100100
</PostBuildEvent>
101101
</PropertyGroup>
102102
<PropertyGroup>
103-
<PreBuildEvent>IF EXIST MySQLHostManager.cs ( echo "Link Exists") ELSE (mklink MySQLHostManager.cs ..\mysql_managed_interface\MySQLHostManager.cs)</PreBuildEvent>
103+
<PreBuildEvent>IF EXIST $(ProjectDir)MySQLHostManager.cs ( echo "Link Exists") ELSE (mklink $(ProjectDir)MySQLHostManager.cs $(SolutionDir)\mysql_managed_interface\MySQLHostManager.cs)</PreBuildEvent>
104104
</PropertyGroup>
105105
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
106106
Other similar extension points exist, see Microsoft.Common.targets.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
6+
<ProductVersion>3.9</ProductVersion>
7+
<ProjectGuid>e8930026-0cb6-4bc6-bbc4-124dd08c0243</ProjectGuid>
8+
<SchemaVersion>2.0</SchemaVersion>
9+
<OutputName>mysql_dotnet_udf_x64_installer_v1.0</OutputName>
10+
<OutputType>Package</OutputType>
11+
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
12+
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
13+
<Name>MySQLUDFInstaller x64</Name>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
16+
<OutputPath>bin\$(Configuration)\</OutputPath>
17+
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
18+
<DefineConstants>Debug</DefineConstants>
19+
</PropertyGroup>
20+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
21+
<OutputPath>bin\$(Configuration)\</OutputPath>
22+
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
23+
</PropertyGroup>
24+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
25+
<DefineConstants>Debug</DefineConstants>
26+
<OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
27+
<IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
28+
</PropertyGroup>
29+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
30+
<OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
31+
<IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
32+
</PropertyGroup>
33+
<ItemGroup>
34+
<Compile Include="Product.wxs" />
35+
</ItemGroup>
36+
<ItemGroup>
37+
<WixExtension Include="WixUtilExtension">
38+
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
39+
<Name>WixUtilExtension</Name>
40+
</WixExtension>
41+
<WixExtension Include="WixNetFxExtension">
42+
<HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
43+
<Name>WixNetFxExtension</Name>
44+
</WixExtension>
45+
<WixExtension Include="WixUIExtension">
46+
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
47+
<Name>WixUIExtension</Name>
48+
</WixExtension>
49+
</ItemGroup>
50+
<Import Project="$(WixTargetsPath)" />
51+
<!--
52+
To modify your build process, add your task inside one of the targets below and uncomment it.
53+
Other similar extension points exist, see Wix.targets.
54+
<Target Name="BeforeBuild">
55+
</Target>
56+
<Target Name="AfterBuild">
57+
</Target>
58+
-->
59+
</Project>

MySQLUDFInstaller x64/Product.wxs

Lines changed: 470 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
6+
<ProductVersion>3.9</ProductVersion>
7+
<ProjectGuid>91d7ab3f-6b5c-45f9-adc0-d2de7f7e0fd9</ProjectGuid>
8+
<SchemaVersion>2.0</SchemaVersion>
9+
<OutputName>mysql_dotnet_udf_x86_installer_v1.0</OutputName>
10+
<OutputType>Package</OutputType>
11+
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
12+
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
13+
</PropertyGroup>
14+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
15+
<OutputPath>bin\$(Configuration)\</OutputPath>
16+
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
17+
<DefineConstants>Debug</DefineConstants>
18+
</PropertyGroup>
19+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
20+
<OutputPath>bin\$(Configuration)\</OutputPath>
21+
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
22+
</PropertyGroup>
23+
<ItemGroup>
24+
<Compile Include="Product.wxs" />
25+
</ItemGroup>
26+
<ItemGroup>
27+
<WixExtension Include="WixUtilExtension">
28+
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
29+
<Name>WixUtilExtension</Name>
30+
</WixExtension>
31+
<WixExtension Include="WixUIExtension">
32+
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
33+
<Name>WixUIExtension</Name>
34+
</WixExtension>
35+
<WixExtension Include="WixNetFxExtension">
36+
<HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
37+
<Name>WixNetFxExtension</Name>
38+
</WixExtension>
39+
</ItemGroup>
40+
<Import Project="$(WixTargetsPath)" />
41+
<!--
42+
To modify your build process, add your task inside one of the targets below and uncomment it.
43+
Other similar extension points exist, see Wix.targets.
44+
<Target Name="BeforeBuild">
45+
</Target>
46+
<Target Name="AfterBuild">
47+
</Target>
48+
-->
49+
</Project>

0 commit comments

Comments
 (0)