• Vladislav Vaintroub's avatar
    Bug#55169: Installer does not preserve user's settings in custom mode · d6b93c73
    Vladislav Vaintroub authored
    Fix some issues with WiX packaging, particularly 
    major upgrade and change scenarios.
    
    * remember binary location and data location
    (for major upgrade)
    
    * use custom UI, which is WiX Mondo extended 
    for major upgrade dialog (no feature selection
    screen shown on major upgrade, only upgrade
    confirmation). This is necessary to prevent
    changing installation path during upgrade
    (services are not reregistered, so they would 
    have invalid binary path is it is changed)
    
    * Hide datafiles that are installed into 
    ProgramFiles, show ones that are installed
    in ProgramData
    
    * Make MSI buildable with nmake
    
    * Fix autotools "make dist"
    
    
    
    
    Makefile.am:
      Fix autotools "make dist"
    configure.in:
      Fix autotools "make dist"
    packaging/Makefile.am:
      Fix autotools "make dist"
    packaging/WiX/CMakeLists.txt:
      Use custom UI, for major upgrades
    packaging/WiX/CPackWixConfig.cmake:
      Show user editable datafiles in feature selection dialog, 
      not datafiles installed into ProgramFiles directory
    packaging/WiX/create_msi.cmake.in:
      Use custom UI, fix nmake build for installer
    packaging/WiX/custom_ui.wxs:
      Use custom UI
    packaging/WiX/extra.wxs.in:
      Show user editable datafiles in feature selection dialog, 
      not datafiles installed into ProgramFiles directory
    packaging/WiX/mysql_server.wxs.in:
      Remember install locations of binaries and 
      user editable datafiles.
    d6b93c73
create_msi.cmake.in 10.3 KB