bundleWithWinfsp.wxs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?xml version="1.0"?>
  2. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
  3. <!-- see https://wixtoolset.org/documentation/manual/v3/xsd/wix/bundle.html-->
  4. <!-- Attributes explicitly not used:
  5. Condition - the single msi files have their own install conditions, no need to copy them here
  6. -->
  7. <Bundle Name="Cryptomator" UpgradeCode="29eea626-2e5b-4449-b5f8-4602925ddf7b" Version="$(var.BundleVersion)" Manufacturer="$(var.BundleVendor)"
  8. AboutUrl="$(var.AboutUrl)" HelpUrl="$(var.HelpUrl)" UpdateUrl="$(var.UpdateUrl)" Copyright="$(var.BundleCopyright)" IconSourceFile="bundle\resources\Cryptomator.ico">
  9. <!-- detect outdated WinFsp installations -->
  10. <?include "resources\winFspMetaData.wxi" ?>
  11. <util:ProductSearch
  12. Variable="InstalledWinFspVersion"
  13. Result="version"
  14. UpgradeCode="82F812D9-4083-4EF1-8BC8-0F1EDA05B46B"
  15. />
  16. <!-- Note: The bundle engine takes the Message format literaly -->
  17. <bal:Condition Message=
  18. "The WinFsp driver used by Cryptomator is outdated and must be removed before the installation.
  19. 1. Open the view of installed apps
  20. 2. Search for &quot;WinFsp&quot;
  21. 3. Uninstall the listed application
  22. 4. Restart this installer">(InstalledWinFspVersion = v0.0.0.0) OR ($(var.BundledWinFspVersion) &lt;= InstalledWinFspVersion)</bal:Condition>
  23. <!-- for definition of the standard themes, see https://github.com/wixtoolset/wix3/blob/master/src/ext/BalExtension/wixstdba/Resources/-->
  24. <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLargeLicense">
  25. <!-- see https://wixtoolset.org/documentation/manual/v3/xsd/bal/wixstandardbootstrapperapplication.html -->
  26. <!-- Possible Attributes: LaunchTarget -->
  27. <bal:WixStandardBootstrapperApplication
  28. LicenseFile="bundle\resources\license.rtf"
  29. ShowVersion="yes"
  30. SuppressOptionsUI="yes"
  31. ThemeFile="bundle\customBootstrapperTheme.xml"
  32. LocalizationFile="bundle\customBootstrapperTheme.wxl"
  33. LogoFile="bundle\resources\logo.png"
  34. />
  35. <Payload SourceFile="bundle\resources\logoSide.png" />
  36. </BootstrapperApplicationRef>
  37. <Chain>
  38. <!-- see https://wixtoolset.org/documentation/manual/v3/xsd/wix/msipackage.html-->
  39. <MsiPackage
  40. SourceFile="resources\Cryptomator.msi"
  41. CacheId="cryptomator-bundle-cryptomator"
  42. DisplayInternalUI="no"
  43. Visible="no"
  44. />
  45. <MsiPackage
  46. SourceFile="resources\winfsp.msi"
  47. CacheId="cryptomator-bundle-winfsp"
  48. Visible="yes"
  49. DisplayInternalUI="no"
  50. Vital="no"
  51. Permanent="yes"
  52. />
  53. </Chain>
  54. </Bundle>
  55. </Wix>