Skip to content

Commit a5c3d29

Browse files
committed
Added definition file for msi building tools.
1 parent 13045c2 commit a5c3d29

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

src/build/misc/Product.wxs

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3+
<Product Id="*" Name="MySQL Connector J" Language="1033" Version="$(var.ProductVersion)" Manufacturer="Oracle Corporation" UpgradeCode="a887f346-5f02-4cf1-bb85-bf34b4c5f248">
4+
<Package InstallerVersion="200" Compressed="yes" />
5+
<Upgrade Id="574f7b74-d753-4965-995d-2de6a79afd01">
6+
<UpgradeVersion OnlyDetect="no"
7+
Minimum="6.0.0"
8+
IncludeMinimum="yes"
9+
Maximum="8.0.12"
10+
IncludeMaximum="yes"
11+
Property="OLDERVERSIONBEINGUPGRADED_OLD"/>
12+
</Upgrade>
13+
<Upgrade Id="a887f346-5f02-4cf1-bb85-bf34b4c5f248">
14+
<UpgradeVersion OnlyDetect="no"
15+
Minimum="8.0.13"
16+
IncludeMinimum="yes"
17+
Maximum="$(var.ProductVersion)"
18+
Property="OLDERVERSIONBEINGUPGRADED"
19+
IncludeMaximum="yes" />
20+
</Upgrade>
21+
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
22+
<Directory Id="TARGETDIR" Name="SourceDir">
23+
<Directory Id="ProgramFilesFolder">
24+
<Directory Id="MySQL" Name="MySQL">
25+
<Directory Id="INSTALLLOCATION" Name="MySQL Connector J 8.0">
26+
<!-- Components Autogenerated using the WiX tool named Heat. See the Project properties for cmd line. -->
27+
</Directory>
28+
</Directory>
29+
</Directory>
30+
</Directory>
31+
<Feature Id="ProductFeature" Title="wix_solution" Level="1">
32+
<ComponentGroupRef Id="ConnJZipContents"/>
33+
</Feature>
34+
<InstallExecuteSequence>
35+
<RemoveExistingProducts After="InstallInitialize" />
36+
</InstallExecuteSequence>
37+
</Product>
38+
</Wix>

0 commit comments

Comments
 (0)