Closed samwelkanda closed 3 years ago
Updates the script that builds the Windows MSI for Microsoft Graph CLI
Turn on the '.NET Framework 3.5' Windows Feature (required for WIX Toolset).
Install 'WIX Toolset build tools' if not already installed. (e.g. WiX v3.10.3) http://wixtoolset.org/releases/
Get Git for Windows (it has several tools used for the build).
Install 'Microsoft Build Tools 2015'. https://www.microsoft.com/download/details.aspx?id=48159
Clone the repository.
Set the CLI_VERSION environment variable.
CLI_VERSION
Run build_scripts\windows\scripts\build.cmd.
build_scripts\windows\scripts\build.cmd
The unsigned MSI will be in the .\out folder.
.\out
Install the generated MSI and run mg -h.
mg -h
Overview
Updates the script that builds the Windows MSI for Microsoft Graph CLI
Demo
Notes
Prerequisites to Building the MSI
Turn on the '.NET Framework 3.5' Windows Feature (required for WIX Toolset).
Install 'WIX Toolset build tools' if not already installed. (e.g. WiX v3.10.3) http://wixtoolset.org/releases/
Get Git for Windows (it has several tools used for the build).
Install 'Microsoft Build Tools 2015'. https://www.microsoft.com/download/details.aspx?id=48159
Clone the repository.
Testing Instructions
Building the MSI
Set the
CLI_VERSION
environment variable.Run
build_scripts\windows\scripts\build.cmd
.The unsigned MSI will be in the
.\out
folder.Install the generated MSI and run
mg -h
.Microsoft Reviewers: Open in CodeFlow