Skip to content

Commit

Permalink
update installer, add .net 4.6.1 requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
eksime committed May 4, 2017
1 parent 41c38e5 commit 9398d13
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VDesk/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
[assembly: Guid("4b9d3f05-3f9d-4627-a463-91c7317aaed5")]
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]

[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyVersion("1.0.2.0")]
14 changes: 9 additions & 5 deletions VDeskSetup/Product.wxs
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="4b9d3f05-3f9d-4627-a463-91c7317aaed5" Name="VDesk" Language="1033" Version="1.0.2.0" Manufacturer="Elliot Sime" UpgradeCode="55bcb7af-e64d-4e3e-bd06-f6c1b273c4ba">
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
<Product Id="*" Name="VDesk" Language="1033" Version="!(bind.FileVersion.exe)" Manufacturer="Elliot Sime" UpgradeCode="55bcb7af-e64d-4e3e-bd06-f6c1b273c4ba">
<Package Id='*' Description="VDesk !(bind.FileVersion.exe) Installer" InstallerVersion="405" Compressed="yes" InstallScope="perMachine" />
<PropertyRef Id="NETFRAMEWORK45"/>

<Package Id='*' Description="VDesk 1.0.2 Installer" InstallerVersion="405" Compressed="yes" InstallScope="perMachine" />

<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<Condition Message="This application requires .NET Framework 4.6.1 Please install the .NET Framework then run this installer again.">
<![CDATA[Installed OR (NETFRAMEWORK45 >= "#394254")]]>
</Condition>

<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes" />

<Feature Id="ProductFeature" Title="VDeskSetup" Level="1">
Expand Down
7 changes: 7 additions & 0 deletions VDeskSetup/VDeskSetup.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<SchemaVersion>2.0</SchemaVersion>
<OutputName>VDeskSetup</OutputName>
<OutputType>Package</OutputType>
<RunPostBuildEvent>Always</RunPostBuildEvent>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<OutputPath>bin\$(Configuration)\</OutputPath>
Expand All @@ -21,6 +22,12 @@
<ItemGroup>
<Compile Include="Product.wxs" />
</ItemGroup>
<ItemGroup>
<WixExtension Include="WixNetFxExtension">
<HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
<Name>WixNetFxExtension</Name>
</WixExtension>
</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' ">
Expand Down

0 comments on commit 9398d13

Please sign in to comment.