Skip to content

Windows: release Bazel as .msi installer #8813

Closed

Description

@laszlocsomor

Description of the problem / feature request:

On Windows, release an .msi installer for Bazel along with the .exe and .zip files.

#8579 added logic to build an .msi package.

We could already build unsigned packages, but Windows Defender and Internet Explorer would warn against downloading / installing these.

To sign the binary and the .msi, there's more to do:

  • get certificate to sign Bazel binaries and installers
  • add .msi build step to release pipeline

Feature requests: what underlying problem are you trying to solve with this feature?

Easier installation of Bazel.

The installer can set the PATH envvar and install "bazel.exe" instead of "bazel-<version>-windows-x86_64.exe" so that bazel build works. The installer can also handle uninstallation and upgrades. Using an .msi installer is familiar to users.

What operating system are you running Bazel on?

Windows

Activity

  1. added
    area-Windows
    on Jul 8, 2019
  2. self-assigned this
    on Jul 8, 2019
  3. added
    P2
    on Jul 8, 2019
  4. 11 remaining items

  5. added a commit that references this issue on Aug 2, 2019
  6. dslomov commented on Sep 2, 2019

    @dslomov
    Contributor

    Still blocker for 1.0?

  7. philwo commented on Sep 2, 2019

    @philwo
    Member

    @dslomov No, we couldn't get it to work in time and Laszlo is on vacation now - let's ship this later. I'll remove the label.

  8. added
    P3
    and removed
    P1
    on Sep 6, 2019
  9. kylecordes commented on Nov 9, 2019

    @kylecordes

    I realize there are complexities in getting the MSI going at all, but this seems like a reasonable place for a wish list for future enhancements:

    • check for prerequisites, walk the user through installing them
    • include buildifier
    • include buildozer
    • include unused_deps
    • include bazelisk
    • include a few examples, which the user can build to verify all is well
    • (optionally?) install basilisk as the bazel binary, pre-seeded with the included Bazel version binaries

    In other words, ideally the installer would grow from "install the Bazel tool" to "install Bazel and the first-party tools used with it, plus other files a person may want as they get started”

  10. added
    team-OSS
    on Jun 15, 2020
  11. added
    stale
    on Feb 15, 2023
  12. sgowroji commented on Feb 15, 2023

    @sgowroji
    Member

    Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3area-Windowsstaleteam-OSStype: feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions