Skip to content

Commit b9213ca

Browse files
committed
separate harvest directories for x64 and arm64
1 parent 94fbb3a commit b9213ca

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

sqlclinstaller/ComponentGroups.wxs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
</Files>
88
<!-- this will never be installed (Condition is never true) - it's just here so we can get the file version of sql.exe -->
99
<Component Id="ReferenceExecutable" Guid="{37D57F66-0D01-491E-A772-8566AEA01A16}" Condition="1 = 0" Bitness="always64">
10-
<File Id="ReferenceExe" KeyPath="yes" Source="$(var.SolutionDir)\$(var.ReferenceExecutableFolder)\$(var.ReferenceExecutable)" />
10+
<File Id="ReferenceExe" KeyPath="yes" Source="$(var.SolutionDir)$(var.ReferenceExecutableFolder)\$(var.ReferenceExecutable)" />
1111
</Component>
1212
</ComponentGroup>
1313
<ComponentGroup Id="JREComponents" Directory="JREFOLDER">
14-
<Files Include="$(SolutionDir)jre\**" >
15-
<Exclude Files="$(SolutionDir)jre\.gitkeep"></Exclude>
14+
<Files Include="$(SolutionDir)java\$(sys.BUILDARCH)\jre\**" >
15+
<Exclude Files="$(SolutionDir)java\$(sys.BUILDARCH)\jre\.gitkeep"></Exclude>
1616
</Files>
1717
<!-- this will never be installed (Condition is never true) - it's just here so we can get the java.exe file version -->
1818
<Component Id="JREReferenceExecutable" Guid="{366756B6-0E11-45BC-970B-5DCF06850818}" Condition="1 = 0" Bitness="always64">
19-
<File Id="JREReferenceExecutable" KeyPath="yes" Source="$(SolutionDir)\$(JREReferenceExecutableFolder)\$(JREReferenceExecutable)" />
19+
<File Id="JREReferenceExecutable" KeyPath="yes" Source="$(SolutionDir)java\$(sys.BUILDARCH)\$(JREReferenceExecutableFolder)\$(JREReferenceExecutable)" />
2020
</Component>
2121
</ComponentGroup>
2222
<ComponentGroup Id="EnvironmentChanges" Directory="INSTALLFOLDER">

sqlclinstaller/sqlclinstaller.wixproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
</PropertyGroup>
55
<PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
66
<OutputName>$(ProductName)_$(ProductVersion)_$(Configuration)_$(Platform)</OutputName>
7+
<InstallerPlatform>$(Platform)</InstallerPlatform>
78
</PropertyGroup>
89
<PropertyGroup Condition=" '$(Configuration)'!='Debug' ">
910
<OutputName>$(ProductName)_$(ProductVersion)_$(Platform)</OutputName>
11+
<InstallerPlatform>$(Platform)</InstallerPlatform>
1012
</PropertyGroup>
1113
<ItemGroup>
1214
<Content Include="Include.wxi" />

0 commit comments

Comments
 (0)