File tree Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 88 $(DefineConstants);
99 INCLUDE_X86_SDK=$(INCLUDE_X86_SDK);
1010 INCLUDE_ARM64_SDK=$(INCLUDE_ARM64_SDK);
11+ INCLUDE_ANDROID_SDKS=$(INCLUDE_ANDROID_SDKS);
1112 </DefineConstants >
1213 </PropertyGroup >
1314
3132 <ItemGroup Condition =" '$(INCLUDE_ARM64_SDK)' != '' " >
3233 <ProjectReference Include =" ..\sdk\sdk.wixproj" Properties =" ProductArchitecture=arm64;Platform=x86" BindName =" sdk_arm64" />
3334 </ItemGroup >
35+
36+ <ItemGroup Condition =" '$(INCLUDE_ANDROID_SDKS)' != '' " >
37+ <ProjectReference Include =" ..\android_sdk\android_sdk.wixproj" Properties =" ProductArchitecture=aarch64;Platform=x86" BindName =" android_sdk_aarch64" />
38+ </ItemGroup >
3439</Project >
Original file line number Diff line number Diff line change 3838 <Variable Name =" OptionsInstallRedistAMD64" bal : Overridable =" yes" Persisted =" yes" Value =" 1" />
3939 <Variable Name =" OptionsInstallSdkArm64" bal : Overridable =" yes" Persisted =" yes" Value =" 1" />
4040 <Variable Name =" OptionsInstallRedistArm64" bal : Overridable =" yes" Persisted =" yes" Value =" 1" />
41+ <Variable Name =" OptionsInstallAndroidSdks" bal : Overridable =" yes" Persisted =" yes" Value =" 1" />
4142
4243 <!--
4344 For the online bundle, we need to provide a download URL for each package and its .cabs.
119120 <MsiProperty Name =" INSTALLREDIST" Value =" [OptionsInstallRedistArm64]" />
120121 </MsiPackage >
121122 <?endif ?>
123+
124+ <?if $(INCLUDE_ANDROID_SDKS) == true ?>
125+ <MsiPackage
126+ SourceFile =" !(bindpath.android_sdk_aarch64)\android_sdk.aarch64.msi"
127+ InstallCondition =" OptionsInstallAndroidSdks"
128+ DownloadUrl =" $(BaseReleaseDownloadUrl)/{2}" >
129+ <MsiProperty Name =" INSTALLROOT" Value =" [InstallRoot]" />
130+ </MsiPackage >
131+ <?endif ?>
122132 </Chain >
123133 </Bundle >
124134</Wix >
Original file line number Diff line number Diff line change 6767 <Checkbox Name =" OptionsInstallRedistArm64" X =" 194" Y =" 285" Width =" -11" Height =" 17" TabStop =" yes" FontId =" 3" EnableCondition =" OptionsInstallSdkArm64" >#(loc.Redist_arm64)</Checkbox >
6868 <Checkbox Name =" OptionsInstallSdkX86" X =" 176" Y =" 303" Width =" -11" Height =" 17" TabStop =" yes" FontId =" 3" >#(loc.Sdk_ProductName_x86)</Checkbox >
6969 <Checkbox Name =" OptionsInstallRedistX86" X =" 194" Y =" 321" Width =" -11" Height =" 17" TabStop =" yes" FontId =" 3" EnableCondition =" OptionsInstallSdkX86" >#(loc.Redist_x86)</Checkbox >
70+ <Checkbox Name =" OptionsInstallAndroidSDKs" X =" 176" Y =" 338" Width =" -11" Height =" 17" TabStop =" yes" FontId =" 3" EnableCondition =" OptionsInstallAndroidSdks" >#(loc.Android_Skds)</Checkbox >
7071
7172 <Button Name =" OptionsOkButton" X =" -91" Y =" -11" Width =" 75" Height =" 23" TabStop =" yes" FontId =" 0" >
7273 <Text >#(loc.OptionsOkButton)</Text >
Original file line number Diff line number Diff line change 2424 <String Id =" Redist_arm64" Value =" Swift Windows Redistributable (ARM64)" />
2525 <String Id =" Redist_amd64" Value =" Swift Windows Redistributable (AMD64)" />
2626 <String Id =" Redist_x86" Value =" Swift Windows Redistributable (X86)" />
27+ <String Id =" Android_Skds" Value =" Swift Android SDKs" />
2728
2829 <String Id =" Caption" Value =" [WixBundleName] Setup" />
2930 <String Id =" Title" Value =" [WixBundleName]" />
You can’t perform that action at this time.
0 commit comments