• Vladislav Vaintroub's avatar
    MDEV-26579 Support minor MSI in Windows installer. · ca4bc3e3
    Vladislav Vaintroub authored
    With this patch, 4-component MSI version can be used, e.g by setting
    TINY_VERSION variable in CMake, or by adding a string, e.g
    MYSQL_VERSION_EXTRA=-2
    which sets TINY_VERSION to 2, and also changes the package name.
    
    The 4-component MSI versions do not support MSI major upgrades, only minor
    ones, i.e do not reinstall components, just update existing ones based
    on versioning rules.
    
    To support these rules, add DefaultVersion for the files that won't
    otherwise be versioned - headers, static and import libraries,
    pdbs, text - xml, python and perl scripts Also silence WiX warning
    that MSI won't store hashes for those files anymore.
    ca4bc3e3
mysql_version.cmake 5.48 KB