2023-07-15 00:55:00 +00:00
|
|
|
<!-- This block is autogenerated using scripts\update-msvcredist.ps1 -->
|
2024-05-25 16:54:29 +00:00
|
|
|
<?define VCREDIST_VER = "14.40.33810.0" ?>
|
|
|
|
<?define VCREDIST_X64_SIZE = "25397512" ?>
|
|
|
|
<?define VCREDIST_X64_SHA512 = "5935B69F5138AC3FBC33813C74DA853269BA079F910936AEFA95E230C6092B92F6225BFFB594E5DD35FF29BF260E4B35F91ADEDE90FDF5F062030D8666FD0104" ?>
|
|
|
|
<?define VCREDIST_X64_URL = "https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe" ?>
|
2020-11-30 02:24:23 +00:00
|
|
|
<?define VCREDIST_X64_UPGRADE_CODE = "36F68A90-239C-34DF-B58C-64B30153CE35" ?>
|
2024-05-25 16:54:29 +00:00
|
|
|
<?define VCREDIST_ARM64_SIZE = "11531032" ?>
|
|
|
|
<?define VCREDIST_ARM64_SHA512 = "76A467E992E4F2CBAE261CFB8C64274782E3D420A61F52458662AA1C3A843ED8F4E340D4C237BB080BE1F2E86D7C4E5F4859FFDA8FDCA4E77375FD4D49663D14" ?>
|
|
|
|
<?define VCREDIST_ARM64_URL = "https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/15B8F5B2106DC7A7BD83AB57B796770E0F4ECB891AD19BF655C9D6A9DA650AD2/VC_redist.arm64.exe" ?>
|
2020-12-12 18:43:21 +00:00
|
|
|
<?define VCREDIST_ARM64_UPGRADE_CODE = "DC9BAE42-810B-423A-9E25-E4073F1C7B00" ?>
|
2020-11-30 02:24:23 +00:00
|
|
|
|
2023-07-15 00:55:00 +00:00
|
|
|
<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">
|
2018-07-26 02:16:06 +00:00
|
|
|
|
2020-05-05 00:50:03 +00:00
|
|
|
<Bundle Name="Moonlight Game Streaming Client"
|
2023-09-10 20:11:45 +00:00
|
|
|
Version="!(bind.PackageVersion.Moonlight_x64)"
|
|
|
|
Manufacturer="Moonlight Game Streaming Project"
|
|
|
|
UpgradeCode="466fa35d-4be4-40ef-9ce5-afadc3b63bc5"
|
|
|
|
HelpUrl="https://github.com/moonlight-stream/moonlight-docs/wiki/Setup-Guide"
|
|
|
|
UpdateUrl="https://github.com/moonlight-stream/moonlight-qt/releases"
|
|
|
|
DisableModify="yes"
|
|
|
|
IconSourceFile="..\..\app\moonlight.ico">
|
2018-07-27 07:13:02 +00:00
|
|
|
|
2024-07-13 18:19:49 +00:00
|
|
|
<bal:Condition Message="This version of Moonlight requires Windows 10 or later." Condition="VersionNT >= v10.0" />
|
|
|
|
<bal:Condition Message="This version of Moonlight requires a 64-bit version of Windows." Condition="NativeMachine <> 332" />
|
2018-08-12 08:23:15 +00:00
|
|
|
|
2023-07-15 00:55:00 +00:00
|
|
|
<Variable Name="InstallFolder" Type="formatted" Value="[ProgramFiles6432Folder]Moonlight Game Streaming" />
|
2018-07-26 02:16:06 +00:00
|
|
|
|
2018-09-04 16:30:45 +00:00
|
|
|
<!-- Define "Add desktop shortcut" -checkbox's state by defining a variable
|
|
|
|
which has same name as the checkbox has. Value 1 means that checkbox
|
|
|
|
is checked, 0 means that is unchecked-->
|
|
|
|
<!-- Set checkbox's state as checked by default -->
|
|
|
|
<Variable Name="AddDesktopShortcutCheckbox" Type="numeric" Value="1" />
|
|
|
|
<!-- Get checkbox's state from registry if present. The registry value
|
|
|
|
"DesktopShortcutInstallState" is set in Product.wxs. -->
|
2023-07-15 00:55:00 +00:00
|
|
|
<util:RegistrySearch Variable="HasDesktopShortcutInstallStateRegKey" Root="HKCU" Key="Software\Moonlight Game Streaming Project" Value="DesktopShortcutInstallState" Result="exists" />
|
|
|
|
<util:RegistrySearch Variable="AddDesktopShortcutCheckbox" Root="HKCU" Key="Software\Moonlight Game Streaming Project" Value="DesktopShortcutInstallState" Condition="HasDesktopShortcutInstallStateRegKey" />
|
2018-09-04 16:30:45 +00:00
|
|
|
|
2022-01-13 01:07:34 +00:00
|
|
|
<util:ProductSearch Id="VCREDIST_14_x64"
|
2023-09-10 20:11:45 +00:00
|
|
|
UpgradeCode="$(var.VCREDIST_X64_UPGRADE_CODE)"
|
|
|
|
Result="version"
|
|
|
|
Variable="VCREDIST_14_x64" />
|
2020-11-30 02:24:23 +00:00
|
|
|
|
2022-01-13 01:07:34 +00:00
|
|
|
<util:ProductSearch Id="VCREDIST_14_ARM64"
|
2023-09-10 20:11:45 +00:00
|
|
|
UpgradeCode="$(var.VCREDIST_ARM64_UPGRADE_CODE)"
|
|
|
|
Result="version"
|
|
|
|
Variable="VCREDIST_14_ARM64" />
|
2023-07-15 00:55:00 +00:00
|
|
|
|
|
|
|
<BootstrapperApplication>
|
|
|
|
<bal:WixStandardBootstrapperApplication ShowVersion="yes"
|
2023-09-10 20:11:45 +00:00
|
|
|
LicenseFile="license.rtf"
|
|
|
|
LogoFile="..\..\app\moonlight_wix.png"
|
|
|
|
LaunchTarget="[InstallFolder]\Moonlight.exe"
|
|
|
|
ThemeFile="RtfTheme.xml"
|
|
|
|
Theme="rtfLicense" />
|
2024-06-03 02:40:40 +00:00
|
|
|
<Payload Name="Moonlight.ico" SourceFile="..\..\app\moonlight.ico" Compressed="yes" />
|
2023-07-15 00:55:00 +00:00
|
|
|
</BootstrapperApplication>
|
2018-07-26 02:16:06 +00:00
|
|
|
|
2018-07-25 09:53:51 +00:00
|
|
|
<Chain>
|
2023-07-15 00:55:00 +00:00
|
|
|
<ExePackage Cache="remove"
|
2023-09-10 20:11:45 +00:00
|
|
|
PerMachine="yes"
|
|
|
|
Permanent="yes"
|
|
|
|
Vital="yes"
|
2022-01-13 01:06:34 +00:00
|
|
|
InstallCondition="(VersionNT64 AND NOT NativeMachine) OR (NativeMachine = 34404)"
|
2023-09-10 20:11:45 +00:00
|
|
|
DetectCondition="VCREDIST_14_x64 >= v$(var.VCREDIST_VER)"
|
|
|
|
InstallArguments="/install /quiet /norestart">
|
|
|
|
|
2023-07-15 00:55:00 +00:00
|
|
|
<ExePackagePayload Description="Microsoft Visual C++ 2015-2022 Redistributable - x64"
|
2023-09-10 20:11:45 +00:00
|
|
|
ProductName="Microsoft Visual C++ 2015-2022 Redistributable - x64"
|
|
|
|
Size="$(var.VCREDIST_X64_SIZE)"
|
|
|
|
Version="$(var.VCREDIST_VER)"
|
|
|
|
Hash="$(var.VCREDIST_X64_SHA512)"
|
|
|
|
Name="VC_redist.x64.exe"
|
|
|
|
DownloadUrl="$(var.VCREDIST_X64_URL)" />
|
2020-11-30 02:24:23 +00:00
|
|
|
|
|
|
|
<!-- Newer version installed is fine -->
|
|
|
|
<ExitCode Value="1638" Behavior="success" />
|
|
|
|
</ExePackage>
|
|
|
|
|
2023-09-10 20:14:24 +00:00
|
|
|
<ExePackage Cache="remove"
|
|
|
|
PerMachine="yes"
|
|
|
|
Permanent="yes"
|
|
|
|
Vital="yes"
|
|
|
|
InstallCondition="NativeMachine = 43620"
|
|
|
|
DetectCondition="VCREDIST_14_ARM64 >= v$(var.VCREDIST_VER)"
|
|
|
|
InstallArguments="/install /quiet /norestart">
|
|
|
|
|
|
|
|
<ExePackagePayload Description="Microsoft Visual C++ 2015-2022 Redistributable - ARM64"
|
|
|
|
ProductName="Microsoft Visual C++ 2015-2022 Redistributable - ARM64"
|
|
|
|
Size="$(var.VCREDIST_ARM64_SIZE)"
|
|
|
|
Version="$(var.VCREDIST_VER)"
|
|
|
|
Hash="$(var.VCREDIST_ARM64_SHA512)"
|
|
|
|
Name="VC_redist.arm64.exe"
|
|
|
|
DownloadUrl="$(var.VCREDIST_ARM64_URL)" />
|
|
|
|
|
|
|
|
<!-- Newer version installed is fine -->
|
|
|
|
<ExitCode Value="1638" Behavior="success" />
|
|
|
|
</ExePackage>
|
2020-12-24 23:21:35 +00:00
|
|
|
|
2020-11-30 03:13:27 +00:00
|
|
|
<MsiPackage Id="Moonlight_x64"
|
2023-09-10 20:11:45 +00:00
|
|
|
SourceFile="$(env.BUILD_ROOT)\build-x64-$(env.BUILD_CONFIG)\Moonlight.msi"
|
|
|
|
Name="Moonlight_x64.msi"
|
2022-01-13 01:06:34 +00:00
|
|
|
InstallCondition="(VersionNT64 AND NOT NativeMachine) OR (NativeMachine = 34404)"
|
2023-09-10 20:11:45 +00:00
|
|
|
Vital="yes">
|
2018-07-26 02:16:06 +00:00
|
|
|
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
|
2018-09-04 16:30:45 +00:00
|
|
|
<MsiProperty Name="ADDDESKTOPSHORTCUT" Value="[AddDesktopShortcutCheckbox]" />
|
2018-07-26 02:16:06 +00:00
|
|
|
</MsiPackage>
|
2020-12-24 23:21:35 +00:00
|
|
|
|
2023-09-10 20:14:24 +00:00
|
|
|
<MsiPackage Id="Moonlight_arm64"
|
|
|
|
SourceFile="$(env.BUILD_ROOT)\build-arm64-$(env.BUILD_CONFIG)\Moonlight.msi"
|
|
|
|
Name="Moonlight_arm64.msi"
|
|
|
|
InstallCondition="NativeMachine = 43620"
|
|
|
|
Vital="yes">
|
|
|
|
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
|
|
|
|
<MsiProperty Name="ADDDESKTOPSHORTCUT" Value="[AddDesktopShortcutCheckbox]" />
|
|
|
|
</MsiPackage>
|
2018-07-25 09:53:51 +00:00
|
|
|
</Chain>
|
2018-07-26 02:16:06 +00:00
|
|
|
|
2018-07-25 09:53:51 +00:00
|
|
|
</Bundle>
|
|
|
|
</Wix>
|