-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support delta installer for updates on Windows #9565
Support delta installer for updates on Windows #9565
Comments
Got strange error while generating delta installer. => Found the reason
|
Getting the following:
|
@mihaiplesa Did you build with both PRs (b-b and b-c) together? |
Set |
Reopening since this should include Windows x86 which still fails as above. |
Fresh log from a Windows x86 build with delta error below.
|
Apparently Windows x86 deltas got fixed by migrating to |
Verification PASSED on
x64 bit stub installersCase 1: Release channel_x64bit_ Admin Privileges Yes_PASSED
Case 2: Release channel_x64bit_ Admin Privileges No
Case 3: Beta channel_x64bit_ Admin Privileges Yes_PASSED
Case 4: Beta channel_x64bit_ Admin Privileges NO
Case 5: Nightly channel_x64bit_ Admin Privileges Yes_PASSED
Case 6: Nightly channel_x64bit_ Admin Privileges NO
x32 bit stub installersCase 1: Release channel_x32bit_ Admin Privileges Yes_PASSED
Case 2: Release channel_x32bit_ Admin Privileges No
Case 3: Beta channel_x32bit_ Admin Privileges Yes_PASSED
Case 4: Beta channel_x32bit_ Admin Privileges NO
Case 5: Nightly channel_x32bit_ Admin Privileges Yes_PASSED
Case 6: Nightly channel_32bit_ Admin Privileges NO
|
Covered the DELTA installer verification via https://bravesoftware.slack.com/archives/C0YL5KMA8/p1645118243641749?thread_ts=1645054477.458409&cid=C0YL5KMA8 |
Enabled logs |
create_dist
command for generating delta installerLet's start investigation about delta update with below archive type.
Maybe
INCREMENTAL_ARCHIVE_TYPE
is used for delta installer.Currently,
mini_installer
target usescourgette
algorithm for generating delta installer.Courgette: https://www.chromium.org/developers/design-documents/software-updates-courgette
According to the below code in
chrome/installer/setup/setup_main.cc
, maybe setup.exe generates output file(newer version file) by using patch file(new delta file?) and input file(current version). and output file would be a complete file for update to next version.create_installer_archive.py
generates patch file bymini_installer
target.Uncompressed
chrome.7z
file is used to get diff.The text was updated successfully, but these errors were encountered: