<?xml version="1.0" encoding="utf-8"?>
<!--
  - SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  - SPDX-License-Identifier: GPL-2.0-or-later
-->
<Include>

    <!-- Changing the Vendor breaks registry (also NSIS) product detection -->
    <?define AppVendor = "@APPLICATION_VENDOR@" ?>

    <!-- App Defines -->
    <?define AppName = "@APPLICATION_NAME@" ?>
    <?define AppShortName = "@APPLICATION_EXECUTABLE@" ?>

    <?define AppIcon = "@APPLICATION_ICON_NAME@.ico" ?>
    <?define AppExe = "@APPLICATION_EXECUTABLE@.exe" ?>

    <?define AppHelpLink = "https://@APPLICATION_DOMAIN@/" ?>
    <?define AppInfoLink = "$(var.AppHelpLink)" ?>
	
	<?define AppCommandOpenUrlScheme = "@APPLICATION_URI_HANDLER_SCHEME@" ?>

    <!-- Custom license: To use it, also remove the "Skip the license page" stuff in the <UI> section
                         and uncomment <WixVariable Id="WixUILicenseRtf"...
    <?define AppLicenseRtf = "path\License.rtf" ?>
    -->

    <!-- App Version -->
    <?define VerMajor = "@MIRALL_VERSION_MAJOR@" ?>
    <?define VerMinor = "@MIRALL_VERSION_MINOR@" ?>
    <?define VerRevision = "@MIRALL_VERSION_PATCH@" ?>
    <?define VerBuild = "@MIRALL_VERSION_BUILD@" ?>
    <?define VerStd = "$(var.VerMajor).$(var.VerMinor).$(var.VerRevision)" ?>
    <?define VerFull = "$(var.VerStd).$(var.VerBuild)" ?>

    <?define VerDesc = "@MIRALL_HUMAN_VERSION_STRING@ (Git revision @GIT_REVISION@)" ?>

    <!-- MSI upgrade support -->
    <?define UpgradeCode = "@WIN_MSI_UPGRADE_CODE@" ?>

    <!-- UI resources -->
    <?define UIBannerBmp = "banner.bmp" ?>
    <?define UIDialogBmp = "dialog.bmp" ?>

</Include>
