-
Notifications
You must be signed in to change notification settings - Fork 921
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
Make Windows silent installer truly silent #8364
Conversation
8c13120
to
dc370bb
Compare
8dd4983
to
fee3ddf
Compare
@mihaiplesa the |
That is correct. I can fix that after we merge. Lint and some unit tests have failed for now. |
fee3ddf
to
42a0161
Compare
Debugging the CI failures: windows/pr-head: When I click on the failed CI link above, I get a red screen of all green steps: I suspect something went wrong in the associated brave-browser build. There, it says:
Assuming the failure of "my" pr-head was caused by this, then it would have saved me 10 minutes of searching if the b-b build were listed as a triggered build. (Just as a point of potential optimization for the future.) pre-init/pr-head: This says it parsed
I can't find |
@mihaiplesa I'm having a hard time understanding why pre-init/pr-head fails. Do you have a tip? I already wrote a little about my findings at the end of my previous comment above. |
So pre-init failed because of pylint, but those files are not used anymore so we're good. Windows looks good but I have to fix the pipelines. |
42a0161
to
ebd8005
Compare
Test results, running Brave's Windows installer from the CI build:
The associated error message in Brave's update log seems to be:
So: Brave's Update mechanism expected version .4 to be installed, but received version .1 instead in the registry. What's very weird is that The installer files all reference version .4 in their name (eg. |
ebd8005
to
8ee9414
Compare
Re-testing with re-compiled binaries from CI still exhibited the same problem. It is very strange: |
Actually, while
In light of this, it appears to me that the installers ( |
8ee9414
to
c7a89c4
Compare
Tested the latest CI build |
Previously, it still opened a browser window.
This installer, BraveBrowserSilent{Channel}Setup.exe was a 1 MB online installer that fetched the latest version of Brave from the update server. The problem was that this installer wasn't truly silent because it opened a browser window. It was decided that the stub silent installer is not needed because there is also a standalone (i.e. offline) silent installer that does not open a browser window.
c7a89c4
to
31daf66
Compare
Again tested new CI builds on Win 10 and the installers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DEPS changes ok
I just updated the PR description if you'd like a bit more context @bridiver. |
I can't find the labels |
#8367) Missing this constraint would cause the web view container view to have ambiguous height and result in a 0-height web page.
Resolves brave/brave-browser#6240
Before this PR, there were two silent installers: a 1 MB online ("stub") installer that fetched the latest version of Brave from the update server, and a full, offline installer. Both of these installers were not truly silent because they opened Brave.
In implementing this PR, it was decided that a 1 MB silent online installer is not needed. Part of the work thus consisted of removing this installer.
The remaining work was to make sure that the standalone silent installer does not open a browser window. This was achieved by updating Brave's Omaha update client to pass the flag
--do-not-launch-chrome
to Brave's installer. The corresponding PR was brave/omaha#31.Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
Test that all Windows installers work as expected.