You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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