-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Packaging] Support Windows ZIP package #27911
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
Changes from 1 commit
452a3dc
181d34b
2125e39
74aa576
fda9040
33b2cf7
79e3c18
ef1f743
d926724
72667ad
deb94ac
7ed5497
63207d3
6fa7aa4
0956882
52552df
3e6f1b5
dd0f8bc
95264cd
ac32b2d
6fb6c8e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -217,7 +217,8 @@ if "%TARGET%"=="msi" ( | |
| echo Building ZIP... | ||
| REM Rename zip root folder to "Azure CLI" | ||
| ren %BUILDING_DIR% "Azure CLI" | ||
|
||
| "%ProgramFiles%\7-Zip\7z.exe" a -tzip "%OUTPUT_DIR%\Microsoft Azure CLI.zip" "%ZIP_DIR%" | ||
| REM Use LZMA compression to reduce the size of the zip file. | ||
|
||
| "%ProgramFiles%\7-Zip\7z.exe" a -tzip -m0=LZMA "%OUTPUT_DIR%\Microsoft Azure CLI.zip" "%ZIP_DIR%" | ||
|
||
| ) | ||
|
|
||
| if %errorlevel% neq 0 goto ERROR | ||
|
|
||


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.
Use
Azure CLIas root folder of zip package.PS: The MSI installation path is
C:\Program Files\Microsoft SDKs\Azure\CLI2.