-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b3330f
commit 2fc9ce2
Showing
4 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<Product Id="*" Name="Winclipper" Language="1033" Version="1.0.0.0" Manufacturer="Carson Shook" UpgradeCode="a332e06b-480d-4d31-aaca-e5f7a2ef1dbb"> | ||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> | ||
|
||
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | ||
<MediaTemplate EmbedCab="yes" /> | ||
|
||
<Feature Id="ProductFeature" Title="Winclipper" Level="1"> | ||
<Feature Id="VCRedist" Title="Visual C++ 14 Runtime" AllowAdvertise="no" Display="hidden" Level="1"> | ||
<MergeRef Id="VCRedist"/> | ||
</Feature> | ||
<ComponentRef Id="Winclipper.exe" /> | ||
<ComponentRef Id="license"/> | ||
<ComponentRef Id="ApplicationShortcut"/> | ||
</Feature> | ||
|
||
<Directory Id="TARGETDIR" Name="SourceDir"> | ||
<Merge Id="VCRedist" SourceFile="Microsoft_VC141_CRT_x86.msm" DiskId="1" Language="0"/> | ||
<Directory Id="ProgramFilesFolder"> | ||
<Directory Id="APPLICATIONROOTDIRECTORY" Name="Winclipper" /> | ||
</Directory> | ||
<Directory Id="ProgramMenuFolder"> | ||
<Directory Id="ApplicationProgramsFolder" Name="Winclipper"/> | ||
</Directory> | ||
</Directory> | ||
|
||
<DirectoryRef Id="APPLICATIONROOTDIRECTORY"> | ||
<Component Id="Winclipper.exe" Guid="D59FE155-8940-4EA5-A130-AB7CEBCB527A"> | ||
<File Id="Winclipper.exe" Source="$(var.Winclipper.TargetPath)" KeyPath="yes" Checksum="yes"/> | ||
</Component> | ||
<Component Id="license" Guid="45D353B2-26C9-4051-961C-1CF36A5E40F6"> | ||
<File Id="license" Source="..\license" KeyPath="yes"/> | ||
</Component> | ||
</DirectoryRef> | ||
|
||
<DirectoryRef Id="ApplicationProgramsFolder"> | ||
<Component Id="ApplicationShortcut" Guid="31C219C0-9ECC-4539-B577-11753A697E38"> | ||
<Shortcut Id="ApplicationStartMenuShortcut" | ||
Name="Winclipper" | ||
Description="Winclipper Shortcut" | ||
Target="[#Winclipper.exe]" | ||
WorkingDirectory="ProductComponents"/> | ||
<RemoveFolder Id="CleanUpShortCut" Directory="ApplicationProgramsFolder" On="uninstall"/> | ||
<RegistryValue Root="HKCU" Key="Software\Microsoft\Winclipper" Name="installed" Type="integer" Value="1" KeyPath="yes"/> | ||
</Component> | ||
</DirectoryRef> | ||
</Product> | ||
</Wix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?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>6abdd852-e224-40a6-bf59-536bbb399c57</ProjectGuid> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<OutputName>WinclipperSetup-x86</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> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Winclipper\Winclipper.vcxproj"> | ||
<Name>Winclipper</Name> | ||
<Project>{8a9a600a-8ed3-48ce-925c-dbc70be4385d}</Project> | ||
<Private>True</Private> | ||
<DoNotHarvest>True</DoNotHarvest> | ||
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> | ||
<RefTargetDir>INSTALLFOLDER</RefTargetDir> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="Microsoft_VC141_CRT_x86.msm" /> | ||
</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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters