2018-07-25 09:53:51 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2018-07-26 02:16:06 +00:00
|
|
|
|
2021-12-11 19:27:22 +00:00
|
|
|
<?define VCREDIST_VER = "14.30.30704" ?>
|
|
|
|
<?define VCREDIST_X86_SIZE = "13698296" ?>
|
|
|
|
<?define VCREDIST_X86_SHA1 = "230825953C24344CFB3B1D465F6F50364624B4A6" ?>
|
|
|
|
<?define VCREDIST_X86_URL = "https://download.visualstudio.microsoft.com/download/pr/2250605e-e48f-43ed-ba6e-e0cc18bc530d/AC75A82D873E6B6F98B1D293042380764D7D263C43438E50D564FA58C9F891C2/VC_redist.x86.exe" ?>
|
2020-11-30 02:24:23 +00:00
|
|
|
<?define VCREDIST_X86_UPGRADE_CODE = "65E5BD06-6392-3027-8C26-853107D3CF1A" ?>
|
2021-12-11 19:27:22 +00:00
|
|
|
<?define VCREDIST_X64_SIZE = "25267128" ?>
|
|
|
|
<?define VCREDIST_X64_SHA1 = "839E382EBEEF87003FCE57969A79BD58BB264192" ?>
|
|
|
|
<?define VCREDIST_X64_URL = "https://download.visualstudio.microsoft.com/download/pr/2250605e-e48f-43ed-ba6e-e0cc18bc530d/A9F5D2EAF67BF0DB0178B6552A71C523C707DF0E2CC66C06BFBC08BDC53387E7/VC_redist.x64.exe" ?>
|
2020-11-30 02:24:23 +00:00
|
|
|
<?define VCREDIST_X64_UPGRADE_CODE = "36F68A90-239C-34DF-B58C-64B30153CE35" ?>
|
2021-12-11 19:27:22 +00:00
|
|
|
<?define VCREDIST_ARM64_SIZE = "11563136" ?>
|
|
|
|
<?define VCREDIST_ARM64_SHA1 = "CCC3A4636ADD861C090F02597EDF14B1D8CBD6F7" ?>
|
|
|
|
<?define VCREDIST_ARM64_URL = "https://download.visualstudio.microsoft.com/download/pr/2250605e-e48f-43ed-ba6e-e0cc18bc530d/F6A246EAB3346912F0D308BBFE3A2CD9A42F47CD43584A993AF9388CFB8B6617/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
|
|
|
|
2018-07-26 02:16:06 +00:00
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
2018-07-27 07:13:02 +00:00
|
|
|
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
|
|
|
|
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
2018-07-26 02:16:06 +00:00
|
|
|
|
2020-05-05 00:50:03 +00:00
|
|
|
<Bundle Name="Moonlight Game Streaming Client"
|
2020-11-30 03:13:27 +00:00
|
|
|
Version="!(bind.PackageVersion.Moonlight_x64)"
|
2018-10-29 01:11:07 +00:00
|
|
|
Manufacturer="Moonlight Game Streaming Project"
|
2020-05-05 00:50:03 +00:00
|
|
|
UpgradeCode="466fa35d-4be4-40ef-9ce5-afadc3b63bc5"
|
2018-07-26 02:16:06 +00:00
|
|
|
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
|
|
|
<bal:Condition Message="Moonlight requires Windows 7 or later.">
|
|
|
|
<![CDATA[VersionNT >= v6.1]]>
|
|
|
|
</bal:Condition>
|
|
|
|
|
2018-08-12 08:23:15 +00:00
|
|
|
<!-- HACK: Force replacement of lower versioned files too. This is only safe because we don't install any shared files -->
|
|
|
|
<Variable Name="REINSTALLMODE" bal:Overridable="yes" Value="dmus" />
|
|
|
|
|
2020-11-30 03:13:27 +00:00
|
|
|
<Variable Name="InstallFolder" Type="string" 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. -->
|
|
|
|
<util:RegistrySearch Variable="HasDesktopShortcutInstallStateRegKey"
|
|
|
|
Root="HKCU"
|
2020-05-05 00:50:03 +00:00
|
|
|
Key="Software\Moonlight Game Streaming Project"
|
2018-09-04 16:30:45 +00:00
|
|
|
Value="DesktopShortcutInstallState"
|
|
|
|
Result="exists" />
|
|
|
|
<util:RegistrySearch Variable="AddDesktopShortcutCheckbox"
|
|
|
|
Root="HKCU"
|
2020-05-05 00:50:03 +00:00
|
|
|
Key="Software\Moonlight Game Streaming Project"
|
2018-09-04 16:30:45 +00:00
|
|
|
Value="DesktopShortcutInstallState"
|
|
|
|
Condition="HasDesktopShortcutInstallStateRegKey" />
|
|
|
|
|
2022-01-13 01:07:34 +00:00
|
|
|
<util:ProductSearch Id="VCREDIST_14_x86"
|
2020-11-30 02:24:23 +00:00
|
|
|
UpgradeCode="$(var.VCREDIST_X86_UPGRADE_CODE)"
|
|
|
|
Result="version"
|
2022-01-13 01:07:34 +00:00
|
|
|
Variable="VCREDIST_14_x86" />
|
2020-11-30 02:24:23 +00:00
|
|
|
|
2022-01-13 01:07:34 +00:00
|
|
|
<util:ProductSearch Id="VCREDIST_14_x64"
|
2020-11-30 02:24:23 +00:00
|
|
|
UpgradeCode="$(var.VCREDIST_X64_UPGRADE_CODE)"
|
|
|
|
Result="version"
|
2022-01-13 01:07:34 +00:00
|
|
|
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"
|
2020-12-24 23:21:35 +00:00
|
|
|
UpgradeCode="$(var.VCREDIST_ARM64_UPGRADE_CODE)"
|
|
|
|
Result="version"
|
2022-01-13 01:07:34 +00:00
|
|
|
Variable="VCREDIST_14_ARM64" />
|
2020-12-24 23:21:35 +00:00
|
|
|
|
2018-07-25 09:53:51 +00:00
|
|
|
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
|
|
|
|
<bal:WixStandardBootstrapperApplication
|
|
|
|
ShowVersion="yes"
|
|
|
|
LicenseFile="license.rtf"
|
|
|
|
LogoFile="..\..\app\moonlight_wix.png"
|
|
|
|
ShowFilesInUse="yes"
|
2018-09-04 16:30:45 +00:00
|
|
|
LaunchTarget="[InstallFolder]\Moonlight.exe"
|
|
|
|
ThemeFile="RtfTheme.xml" />
|
2018-07-25 09:53:51 +00:00
|
|
|
</BootstrapperApplicationRef>
|
2018-07-26 02:16:06 +00:00
|
|
|
|
2018-07-25 09:53:51 +00:00
|
|
|
<Chain>
|
2022-01-13 01:07:34 +00:00
|
|
|
<ExePackage Name="Microsoft Visual C++ 2015-2022 Redistributable - x86"
|
2020-11-30 02:24:23 +00:00
|
|
|
Cache="no"
|
2020-11-30 03:22:30 +00:00
|
|
|
Compressed="no"
|
2018-07-26 02:52:58 +00:00
|
|
|
PerMachine="yes"
|
|
|
|
Permanent="yes"
|
|
|
|
Vital="yes"
|
2020-11-30 02:24:23 +00:00
|
|
|
InstallCommand="/install /quiet /norestart"
|
2021-03-05 23:51:26 +00:00
|
|
|
DownloadUrl="$(var.VCREDIST_X86_URL)"
|
2022-01-13 01:06:34 +00:00
|
|
|
InstallCondition="(NOT VersionNT64 AND NOT NativeMachine) OR (NativeMachine = 332)"
|
2022-01-13 01:07:34 +00:00
|
|
|
DetectCondition="VCREDIST_14_x86 >= v$(var.VCREDIST_VER)">
|
2020-11-30 02:24:23 +00:00
|
|
|
|
2022-01-13 01:07:34 +00:00
|
|
|
<RemotePayload Description="Microsoft Visual C++ 2015-2022 Redistributable - x86"
|
|
|
|
ProductName="Microsoft Visual C++ 2015-2022 Redistributable - x86"
|
2020-11-30 02:24:23 +00:00
|
|
|
Size="$(var.VCREDIST_X86_SIZE)"
|
|
|
|
Version="$(var.VCREDIST_VER).0"
|
|
|
|
Hash="$(var.VCREDIST_X86_SHA1)"/>
|
|
|
|
|
2018-07-26 02:52:58 +00:00
|
|
|
<!-- Newer version installed is fine -->
|
|
|
|
<ExitCode Value="1638" Behavior="success" />
|
|
|
|
</ExePackage>
|
2020-11-30 02:24:23 +00:00
|
|
|
|
2022-01-13 01:07:34 +00:00
|
|
|
<ExePackage Name="Microsoft Visual C++ 2015-2022 Redistributable - x64"
|
2020-11-30 02:24:23 +00:00
|
|
|
Cache="no"
|
2020-11-30 03:22:30 +00:00
|
|
|
Compressed="no"
|
2020-11-30 02:24:23 +00:00
|
|
|
PerMachine="yes"
|
|
|
|
Permanent="yes"
|
|
|
|
Vital="yes"
|
|
|
|
InstallCommand="/install /quiet /norestart"
|
2021-03-05 23:51:26 +00:00
|
|
|
DownloadUrl="$(var.VCREDIST_X64_URL)"
|
2022-01-13 01:06:34 +00:00
|
|
|
InstallCondition="(VersionNT64 AND NOT NativeMachine) OR (NativeMachine = 34404)"
|
2022-01-13 01:07:34 +00:00
|
|
|
DetectCondition="VCREDIST_14_x64 >= v$(var.VCREDIST_VER)">
|
2020-11-30 02:24:23 +00:00
|
|
|
|
2022-01-13 01:07:34 +00:00
|
|
|
<RemotePayload Description="Microsoft Visual C++ 2015-2022 Redistributable - x64"
|
|
|
|
ProductName="Microsoft Visual C++ 2015-2022 Redistributable - x64"
|
2020-11-30 02:24:23 +00:00
|
|
|
Size="$(var.VCREDIST_X64_SIZE)"
|
|
|
|
Version="$(var.VCREDIST_VER).0"
|
|
|
|
Hash="$(var.VCREDIST_X64_SHA1)"/>
|
|
|
|
|
|
|
|
<!-- Newer version installed is fine -->
|
|
|
|
<ExitCode Value="1638" Behavior="success" />
|
|
|
|
</ExePackage>
|
|
|
|
|
2020-12-24 23:21:35 +00:00
|
|
|
<?if $(var.INCLUDE_ARM64) != 0 ?>
|
2022-01-13 01:07:34 +00:00
|
|
|
<ExePackage Name="Microsoft Visual C++ 2015-2022 Redistributable - ARM64"
|
2020-12-24 23:21:35 +00:00
|
|
|
Cache="no"
|
|
|
|
Compressed="no"
|
|
|
|
PerMachine="yes"
|
|
|
|
Permanent="yes"
|
|
|
|
Vital="yes"
|
|
|
|
InstallCommand="/install /quiet /norestart"
|
2021-03-05 23:51:26 +00:00
|
|
|
DownloadUrl="$(var.VCREDIST_ARM64_URL)"
|
2022-01-13 01:06:34 +00:00
|
|
|
InstallCondition="NativeMachine = 43620"
|
2022-01-13 01:07:34 +00:00
|
|
|
DetectCondition="VCREDIST_14_ARM64 >= v$(var.VCREDIST_VER)">
|
2020-12-24 23:21:35 +00:00
|
|
|
|
2022-01-13 01:07:34 +00:00
|
|
|
<RemotePayload Description="Microsoft Visual C++ 2015-2022 Redistributable - ARM64"
|
|
|
|
ProductName="Microsoft Visual C++ 2015-2022 Redistributable - ARM64"
|
2020-12-24 23:21:35 +00:00
|
|
|
Size="$(var.VCREDIST_ARM64_SIZE)"
|
|
|
|
Version="$(var.VCREDIST_VER).0"
|
|
|
|
Hash="$(var.VCREDIST_ARM64_SHA1)"/>
|
|
|
|
|
|
|
|
<!-- Newer version installed is fine -->
|
|
|
|
<ExitCode Value="1638" Behavior="success" />
|
|
|
|
</ExePackage>
|
|
|
|
<?endif?>
|
|
|
|
|
2020-11-30 03:13:27 +00:00
|
|
|
<MsiPackage Id="Moonlight_x86"
|
|
|
|
SourceFile="$(env.BUILD_ROOT)\build-x86-$(env.BUILD_CONFIG)\Moonlight.msi"
|
2022-01-13 01:06:34 +00:00
|
|
|
InstallCondition="(NOT VersionNT64 AND NOT NativeMachine) OR (NativeMachine = 332)"
|
2020-11-30 03:13:27 +00:00
|
|
|
Vital="yes">
|
|
|
|
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
|
|
|
|
<MsiProperty Name="REINSTALLMODE" Value="[REINSTALLMODE]" />
|
|
|
|
<MsiProperty Name="ADDDESKTOPSHORTCUT" Value="[AddDesktopShortcutCheckbox]" />
|
|
|
|
</MsiPackage>
|
|
|
|
|
|
|
|
<MsiPackage Id="Moonlight_x64"
|
|
|
|
SourceFile="$(env.BUILD_ROOT)\build-x64-$(env.BUILD_CONFIG)\Moonlight.msi"
|
2022-01-13 01:06:34 +00:00
|
|
|
InstallCondition="(VersionNT64 AND NOT NativeMachine) OR (NativeMachine = 34404)"
|
2020-11-30 03:13:27 +00:00
|
|
|
Vital="yes">
|
2018-07-26 02:16:06 +00:00
|
|
|
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
|
2018-08-12 08:23:15 +00:00
|
|
|
<MsiProperty Name="REINSTALLMODE" Value="[REINSTALLMODE]" />
|
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
|
|
|
|
|
|
|
<?if $(var.INCLUDE_ARM64) != 0 ?>
|
|
|
|
<MsiPackage Id="Moonlight_arm64"
|
|
|
|
SourceFile="$(env.BUILD_ROOT)\build-arm64-$(env.BUILD_CONFIG)\Moonlight.msi"
|
2022-01-13 01:06:34 +00:00
|
|
|
InstallCondition="NativeMachine = 43620"
|
2020-12-24 23:21:35 +00:00
|
|
|
Vital="yes">
|
|
|
|
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
|
|
|
|
<MsiProperty Name="REINSTALLMODE" Value="[REINSTALLMODE]" />
|
|
|
|
<MsiProperty Name="ADDDESKTOPSHORTCUT" Value="[AddDesktopShortcutCheckbox]" />
|
|
|
|
</MsiPackage>
|
|
|
|
<?endif?>
|
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>
|