Updated the images in the installer and added a way for the installer to detect SQL (Tested on 64-bit) and .NET 4.5 (Untested).
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 601 KiB After Width: | Height: | Size: 601 KiB |
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Product Id="*" Name="Advertising Profit Control" Language="1033" Version="0.1.0.0" Manufacturer="Garritt McCune" UpgradeCode="a416a558-d7c0-4f24-8b1e-2d01761ad15f">
|
||||
<Product Id="*" Name="Advertising Profit Control" Language="1033" Version="1.10.0.0" Manufacturer="Garritt McCune" UpgradeCode="a416a558-d7c0-4f24-8b1e-2d01761ad15f">
|
||||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Description="Custom Profit Control Recording Software" Comments="Profit Control Recording Software"/>
|
||||
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
||||
<!--Not set by default, EmbedCab="yes" embeds the cabinet file into the installer-->
|
||||
@@ -11,7 +11,35 @@
|
||||
<!--Displays the installer so the user can choose what directory they'd like to install the product.-->
|
||||
<!--There are no select features options with this install dialog.-->
|
||||
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
|
||||
<UI>
|
||||
<UIRef Id="WixUI_InstallDir" />
|
||||
|
||||
<!-- Skip license dialog -->
|
||||
<Publish Dialog="WelcomeDlg"
|
||||
Control="Next"
|
||||
Event="NewDialog"
|
||||
Value="InstallDirDlg"
|
||||
Order="2">1</Publish>
|
||||
<Publish Dialog="InstallDirDlg"
|
||||
Control="Back"
|
||||
Event="NewDialog"
|
||||
Value="WelcomeDlg"
|
||||
Order="2">1</Publish>
|
||||
</UI>
|
||||
<!--Try to detect SQL Server.-->
|
||||
<Property Id="SQLSERVER_INSTANCE">
|
||||
<RegistrySearch Id="SQLServerRegSearch" Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft Sql Server\Instance Names\SQL" Type="raw" Name="SQLEXPRESS" Win64="yes"/>
|
||||
<RegistrySearch Id="SQLServerRegSearch32" Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft Sql Server\Instance Names\SQL" Type="raw" Name="SQLEXPRESS" Win64="no"/>
|
||||
</Property>
|
||||
<Condition Message="SQL Server 2016 is required to use [ProductName]. Please install SQL Server 2016 then run this installer again.">
|
||||
<![CDATA[SQLSERVER_INSTANCE]]>
|
||||
</Condition>
|
||||
<!--Detect .NET Framework 4.5-->
|
||||
<PropertyRef Id="NETFRAMEWORK45"/>
|
||||
|
||||
<Condition Message="This application requires .NET Framework 4.5. Please install the .NET Framework then run this installer again.">
|
||||
<![CDATA[Installed OR NETFRAMEWORK45]]>
|
||||
</Condition>
|
||||
<!--Define the icons used in the installer dialogs-->
|
||||
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
|
||||
<WixVariable Id="WixUIBannerBmp" Value="Banner.bmp" />
|
||||
@@ -55,7 +83,6 @@
|
||||
|
||||
<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="AdvertisingProfitControl.exe">
|
||||
<File Source="$(var.AdvertsingProfitControl.TargetPath)" />
|
||||
</Component>
|
||||
|
||||
@@ -32,6 +32,10 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WixExtension Include="WixNetFxExtension">
|
||||
<HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
|
||||
<Name>WixNetFxExtension</Name>
|
||||
</WixExtension>
|
||||
<WixExtension Include="WixUIExtension">
|
||||
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
|
||||
<Name>WixUIExtension</Name>
|
||||
|
||||
Reference in New Issue
Block a user