Add Setup Project
This commit is contained in:
parent
6cd1295862
commit
58b6a3ee46
30
Zooflow.Setup/Product.wxs
Normal file
30
Zooflow.Setup/Product.wxs
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Product Id="*" Name="Zooflow.Setup" Language="1033" Version="1.0.0.0" Manufacturer="" UpgradeCode="6dcb401a-7728-4f42-a29b-3b302bbbf18e">
|
||||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
|
||||
|
||||
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
||||
<MediaTemplate />
|
||||
|
||||
<Feature Id="ProductFeature" Title="Zooflow.Setup" Level="1">
|
||||
<ComponentGroupRef Id="ProductComponents" />
|
||||
</Feature>
|
||||
</Product>
|
||||
|
||||
<Fragment>
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
<Directory Id="ProgramFilesFolder">
|
||||
<Directory Id="INSTALLFOLDER" Name="Zooflow.Setup" />
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Fragment>
|
||||
|
||||
<Fragment>
|
||||
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
|
||||
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
|
||||
<!-- <Component Id="ProductComponent"> -->
|
||||
<!-- TODO: Insert files, registry keys, and other resources here. -->
|
||||
<!-- </Component> -->
|
||||
</ComponentGroup>
|
||||
</Fragment>
|
||||
</Wix>
|
||||
37
Zooflow.Setup/Zooflow.Setup.wixproj
Normal file
37
Zooflow.Setup/Zooflow.Setup.wixproj
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" InitialTargets="EnsureWixToolsetInstalled" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>3.10</ProductVersion>
|
||||
<ProjectGuid>6b91537c-7a93-41ac-930a-0aefdc19294f</ProjectGuid>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<OutputName>Zooflow.Setup</OutputName>
|
||||
<OutputType>Package</OutputType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||
<DefineConstants>Debug</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Product.wxs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
|
||||
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
|
||||
<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/" />
|
||||
</Target>
|
||||
<!--
|
||||
To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Wix.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
14
Zooflow.sln
14
Zooflow.sln
@ -5,16 +5,30 @@ VisualStudioVersion = 16.0.31005.135
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ZooFlow", "GUIs.ZooFlow\ZooFlow.vbproj", "{D0FB36EB-783D-40E1-B71E-A0B84B2FE567}"
|
||||
EndProject
|
||||
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Zooflow.Setup", "Zooflow.Setup\Zooflow.Setup.wixproj", "{6B91537C-7A93-41AC-930A-0AEFDC19294F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{D0FB36EB-783D-40E1-B71E-A0B84B2FE567}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D0FB36EB-783D-40E1-B71E-A0B84B2FE567}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D0FB36EB-783D-40E1-B71E-A0B84B2FE567}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{D0FB36EB-783D-40E1-B71E-A0B84B2FE567}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{D0FB36EB-783D-40E1-B71E-A0B84B2FE567}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D0FB36EB-783D-40E1-B71E-A0B84B2FE567}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{D0FB36EB-783D-40E1-B71E-A0B84B2FE567}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{D0FB36EB-783D-40E1-B71E-A0B84B2FE567}.Release|x86.Build.0 = Release|Any CPU
|
||||
{6B91537C-7A93-41AC-930A-0AEFDC19294F}.Debug|Any CPU.ActiveCfg = Debug|x86
|
||||
{6B91537C-7A93-41AC-930A-0AEFDC19294F}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{6B91537C-7A93-41AC-930A-0AEFDC19294F}.Debug|x86.Build.0 = Debug|x86
|
||||
{6B91537C-7A93-41AC-930A-0AEFDC19294F}.Release|Any CPU.ActiveCfg = Release|x86
|
||||
{6B91537C-7A93-41AC-930A-0AEFDC19294F}.Release|x86.ActiveCfg = Release|x86
|
||||
{6B91537C-7A93-41AC-930A-0AEFDC19294F}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user