Skip to content
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

Create Windows MSI installer for unattended installation #9418

Open
mbacchi opened this issue Apr 23, 2020 · 10 comments
Open

Create Windows MSI installer for unattended installation #9418

mbacchi opened this issue Apr 23, 2020 · 10 comments
Assignees
Labels
build enterprise OS/Desktop OS/Windows packaging Making Brave natively available to install on a variety of platforms, app stores, and repositories. priority/P4 Planned work. We expect to get to it "soon". setup/installer

Comments

@mbacchi
Copy link
Contributor

mbacchi commented Apr 23, 2020

We've received requests [0] [1] to create a Windows MSI installer for unattended Brave installation.

I expect that this needs to be a full install package (i.e. standalone which does not require connecting to our updates server), and thus requires no internet connectivity, versus something similar to the stub installer which downloads the Brave Browser from our server.

For now I'll leave #6240 open but wanted to open an issue which documents the explicit request for tracking purposes.

@mbacchi mbacchi added OS/Windows setup/installer build packaging Making Brave natively available to install on a variety of platforms, app stores, and repositories. labels Apr 23, 2020
@mbacchi mbacchi self-assigned this Apr 23, 2020
@rebron rebron added the priority/P4 Planned work. We expect to get to it "soon". label Apr 28, 2020
@t-jones14
Copy link

Any update on this?

@bsclifton
Copy link
Member

No update on MSI unfortunately - but I can share a way to do an install which should work in a corporate environment

You can download the BraveBrowserSilentSetup.exe executable from any release
ex: from https://github.com/brave/brave-browser/releases/tag/v1.21.74 it would be https://github.com/brave/brave-browser/releases/download/v1.21.74/BraveBrowserSilentSetup.exe

This is a "stub" installer which is only 1.2MB and fetches the real browser install from our servers. You can then invoke it from the command-line like so:
BraveBrowserSilentSetup.exe /silent /install

@shawnkhall
Copy link

..."stub" installer which is only 1.2MB and fetches the real browser install from our servers...

Two of the problems with this solution (which I have used myself for quite a while) are that it still has to download 70+MB for each device and doesn't provide extended logging on failures. When you have a network of even only a couple dozen computers, this is a huge hit on the uplink when we push out an update and often an install will stall and it's impossible to identify the reason one of them failed.

We really need the ability to install a completely locally-cached installation package.

@bsclifton
Copy link
Member

bsclifton commented Mar 9, 2021

..."stub" installer which is only 1.2MB and fetches the real browser install from our servers...

Two of the problems with this solution (which I have used myself for quite a while) are that it still has to download 70+MB for each device and doesn't provide extended logging on failures. When you have a network of even only a couple dozen computers, this is a huge hit on the uplink when we push out an update and often an install will stall and it's impossible to identify the reason one of them failed.

We really need the ability to install a completely locally-cached installation package.

The first problem is addressable 🙂 Thanks for sharing the other - I don't think there is a good way to check (at the moment) other than return code

Using the above link to latest stable:
https://github.com/brave/brave-browser/releases/tag/v1.21.74

You can download the BraveBrowserStandaloneSilentSetup.exe binary (https://github.com/brave/brave-browser/releases/download/v1.21.74/BraveBrowserStandaloneSilentSetup.exe) which should install without any outbound calls

Although this installer is not as nice as an MSI... maybe we can make an download alias for the latest Windows silent stand-alone installer. The stub installer is easy to provide because it points at Omaha server - we may have to index what the "latest" build is ourselves if we want to provide a full silent installer (ex: something like https://laptop-updates.brave.com/latest/winx64-full-silent which we'd need to provide anyways if we did have an MSI)
cc: @mihaiplesa

@shawnkhall
Copy link

Is this what you wanted ?
One url to always download latest silent installer for brave browser

It would be, but unfortunately these links don't work. Are there current static links to these files?

@C0nw0nk
Copy link

C0nw0nk commented Dec 8, 2022

Is this what you wanted ?
One url to always download latest silent installer for brave browser

It would be, but unfortunately these links don't work. Are there current static links to these files?

Fixed now they changed the file name just removed "nightly" from the file name in the url and works fine.

@C0nw0nk
Copy link

C0nw0nk commented Dec 8, 2022

If you don't want to use my links above you can use githubs api to grab the latest ".exe"

https://api.github.com/repos/brave/brave-browser/releases/latest

Json | browser_download_url and search for ".exe"

64 bit :

*setup.exe 64 bit

32 bit :

*setup32.exe 32 bit

@CynthiaArmstrong
Copy link

Is a .MSI still planned or is BraveBrowserStandaloneSilentSetup.exe the way to go?

@mihaiplesa
Copy link
Contributor

@CynthiaArmstrong you're right, that's still the preferred way for now.

@rebron rebron added this to General May 28, 2024
@rebron rebron moved this to P4 Backlog in General May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build enterprise OS/Desktop OS/Windows packaging Making Brave natively available to install on a variety of platforms, app stores, and repositories. priority/P4 Planned work. We expect to get to it "soon". setup/installer
Projects
Status: P4 Backlog
Development

No branches or pull requests

9 participants