Skip to content

[azd update] implement install scripts for windows #7168

Description

@hemarina
  • Detect install configuration. If non-standard, abort and advise the user to install with a per-user configuration in the default install directory. See readme
  • ALLUSERS==2
  • INSTALLDIR=="%LOCALAPPDATA%\Programs\Azure Dev CLI"
  • Download aka.ms/install-azd.ps1 in temp folder and call it with the appropriate params (-Version daily for daily channel -Version stable for stable channel). This process would need to live on past the lifetime of the current running azd.exe.
  • Move the current azd exe to temp folder
  • Attempt install new azd version
  • If success: quit, clean up current running azd exe
  • If fail: restore the exe and rename it back to azd.exe

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions