Skip to content

Commit

Permalink
Added definition file for msi building tools.
Browse files Browse the repository at this point in the history
  • Loading branch information
fjssilva committed Feb 25, 2019
1 parent 13045c2 commit a5c3d29
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/build/misc/Product.wxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="MySQL Connector J" Language="1033" Version="$(var.ProductVersion)" Manufacturer="Oracle Corporation" UpgradeCode="a887f346-5f02-4cf1-bb85-bf34b4c5f248">
<Package InstallerVersion="200" Compressed="yes" />
<Upgrade Id="574f7b74-d753-4965-995d-2de6a79afd01">
<UpgradeVersion OnlyDetect="no"
Minimum="6.0.0"
IncludeMinimum="yes"
Maximum="8.0.12"
IncludeMaximum="yes"
Property="OLDERVERSIONBEINGUPGRADED_OLD"/>
</Upgrade>
<Upgrade Id="a887f346-5f02-4cf1-bb85-bf34b4c5f248">
<UpgradeVersion OnlyDetect="no"
Minimum="8.0.13"
IncludeMinimum="yes"
Maximum="$(var.ProductVersion)"
Property="OLDERVERSIONBEINGUPGRADED"
IncludeMaximum="yes" />
</Upgrade>
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="MySQL" Name="MySQL">
<Directory Id="INSTALLLOCATION" Name="MySQL Connector J 8.0">
<!-- Components Autogenerated using the WiX tool named Heat. See the Project properties for cmd line. -->
</Directory>
</Directory>
</Directory>
</Directory>
<Feature Id="ProductFeature" Title="wix_solution" Level="1">
<ComponentGroupRef Id="ConnJZipContents"/>
</Feature>
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallInitialize" />
</InstallExecuteSequence>
</Product>
</Wix>

0 comments on commit a5c3d29

Please sign in to comment.