File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
<Wix xmlns =" http://wixtoolset.org/schemas/v4/wxs" xmlns : bal =" http://wixtoolset.org/schemas/v4/wxs/bal" xmlns : util =" http://wixtoolset.org/schemas/v4/wxs/util" >
2
- <Bundle Name =" Cyberduck CLI" Version =" !(bind.packageVersion.Setup )" Manufacturer =" iterate GmbH" UpgradeCode =" 46C3FB4E-2B23-4728-8196-BEA25ADE868A" IconSourceFile =" $(CyberduckDir)cyberduck-application.ico" >
2
+ <Bundle Name =" Cyberduck CLI" Version =" $(ProductVersion )" Manufacturer =" iterate GmbH" UpgradeCode =" 46C3FB4E-2B23-4728-8196-BEA25ADE868A" IconSourceFile =" $(CyberduckDir)cyberduck-application.ico" >
3
3
<BootstrapperApplication >
4
4
<bal : WixStandardBootstrapperApplication LicenseUrl =" " LogoFile =" $(SetupDir)banner.png" LogoSideFile =" $(SetupDir)welcome.bmp" Theme =" hyperlinkSidebarLicense" />
5
5
</BootstrapperApplication >
9
9
<bal : Condition Message =" Windows 10 Anniversary Update (14393) or later is required to run this application." Condition =" WindowsBuildNumber > = 14393" />
10
10
11
11
<Chain >
12
- <MsiPackage Id =" Setup" Compressed =" yes" SourceFile =" $(duck.bundle.TargetPath)" Vital =" yes" >
12
+ <MsiPackage Id =" Setup.arm64" Compressed =" yes" SourceFile =" !(bindpath.duck.bundle.arm64)\$(TargetName)-arm64.msi" Vital =" yes" bal : PrimaryPackageType =" arm64" InstallCondition =" NativeMachine = 43620" >
13
+ <!-- NativeMachine=0xAA64 (43620) -->
14
+ <MsiProperty Name =" INSTALLLOCATION" Value =" [InstallFolder]" />
15
+ </MsiPackage >
16
+ <MsiPackage Id =" Setup.x64" Compressed =" yes" SourceFile =" !(bindpath.duck.bundle.x64)\$(TargetName)-x64.msi" Vital =" yes" bal : PrimaryPackageType =" x64" InstallCondition =" NativeMachine = 34404" >
17
+ <!-- NativeMachine=0x8664 (34404) -->
13
18
<MsiProperty Name =" INSTALLLOCATION" Value =" [InstallFolder]" />
14
19
</MsiPackage >
15
20
</Chain >
Original file line number Diff line number Diff line change 1
- <Project Sdk =" WixToolset.Sdk" >
1
+ <Project Sdk =" WixToolset.Sdk" >
2
2
<PropertyGroup >
3
- <OutputName >duck-$(FileVersion)-$(Platform)</OutputName >
4
- <Platforms >x64;arm64</Platforms >
3
+ <OutputName >duck-$(FileVersion)</OutputName >
5
4
<OutputType >Bundle</OutputType >
6
- <DefineConstants >CyberduckDir=$(CyberduckDir);SetupDir=$(SetupDir)</DefineConstants >
5
+ <DefineConstants >CyberduckDir=$(CyberduckDir);SetupDir=$(SetupDir);ProductVersion=$(FileVersion) </DefineConstants >
7
6
</PropertyGroup >
8
7
<ItemGroup >
9
8
<PackageReference Include =" WixToolset.Bal.wixext" />
10
9
<PackageReference Include =" WixToolset.Util.wixext" />
11
10
</ItemGroup >
12
11
<ItemGroup >
13
- <ProjectReference Include =" ../Bundle/duck.bundle.wixproj" />
12
+ <ProjectReference Include =" ../Bundle/duck.bundle.wixproj" Platforms = " arm64;x64 " />
14
13
</ItemGroup >
15
14
</Project >
Original file line number Diff line number Diff line change 7
7
</DefineConstants >
8
8
</PropertyGroup >
9
9
<ItemGroup >
10
- <ProjectReference Include =" ..\..\csharp\duck.csproj" Publish =" true" />
10
+ <ProjectReference Include =" ..\..\csharp\duck.csproj" SetPlatform = " $(Platform) " Publish =" true" />
11
11
</ItemGroup >
12
12
</Project >
You can’t perform that action at this time.
0 commit comments