• Sorin Jianu's avatar
    Create a Windows installer for the Chrome Updater. · f5112cb4
    Sorin Jianu authored
    The required updater files are archived as an uncompressed LZMA archive
    (similar to a tar file), which then is compressed using LZMA, and the
    result of the compression is inserted as a binary resource into the
    updater installer file.
    
    updater.7z -> updater.packed.7z -> UpdaterSetup.exe
    
    At the moment, the updater files are: updater.exe and uninstall.cmd.
    However, in the debug component build, some other run time dependencies
    are needed. The dependencies are collected at build time and archived
    with the updater files.
    
    The vast majority of this code has been lifted from
    //chrome/installer/mini_installer. It is possible to further make the
    code a shared library between the installer and updater projects.
    This would be work for the future.
    
    
    Bug: 989772
    Change-Id: I9b84e8d1f4475b9977d5b7fd78f37272dd7c6212
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730309
    Commit-Queue: Sorin Jianu <sorin@chromium.org>
    Reviewed-by: default avatarJoshua Pawlicki <waffles@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#684210}
    f5112cb4
installer_main.cc 676 Bytes