azure-cli/build_scripts/windows
Hang 29ed992fdb
{Packaging} Bump embedded Python version to 3.12.8 (#30533)
2024-12-19 14:22:40 +08:00
..
resources brand: change to Microsoft Azure CLI (#8580) 2019-02-20 07:47:01 -08:00
scripts {Packaging} Bump embedded Python version to 3.12.8 (#30533) 2024-12-19 14:22:40 +08:00
Product.wxs update (#30159) 2024-12-04 10:47:31 +08:00
README.md Remove hardcoded en-us locale in docs links. (#10251) 2019-08-20 13:09:19 +08:00
azure-cli.sln [Packaging] Support x86 and x64 MSI builds (#26640) 2023-07-20 16:49:59 +08:00
azure-cli.wixproj [Packaging] Support x86 and x64 MSI builds (#26640) 2023-07-20 16:49:59 +08:00

README.md

Building the Windows MSI

This document provides instructions on creating the MSI.

Prerequisites

  1. Turn on the '.NET Framework 3.5' Windows Feature (required for WIX Toolset).

  2. Install 'WIX Toolset build tools' if not already installed. (e.g. WiX v3.10.3) http://wixtoolset.org/releases/

  3. Get Git for Windows (it has several tools used for the build).

  4. Install 'Microsoft Build Tools 2015'. https://www.microsoft.com/download/details.aspx?id=48159

  5. Clone the repository.

Note: The above can be done on a Windows 10 VM.

Building

  1. Set the CLI_VERSION environment variable.

  2. Run build_scripts\windows\scripts\build.cmd.

  3. The unsigned MSI will be in the .\out folder.