Skip to content
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

PowerShell install has different install location than setup.exe #1209

Open
alex-frankel opened this issue Dec 21, 2020 · 2 comments
Open

PowerShell install has different install location than setup.exe #1209

alex-frankel opened this issue Dec 21, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@alex-frankel
Copy link
Collaborator

PowerShell installs to %USERPROFILE%\.bicep:
https://github.com/Azure/bicep/blob/main/docs/installing.md#powershell

Setup.exe installs to %USERPROFILE%\AppData\Local\Programs\Bicep CLI

@ghost ghost added the Needs: Triage 🔍 label Dec 21, 2020
@alex-frankel alex-frankel added bug Something isn't working and removed Needs: Triage 🔍 labels Dec 21, 2020
@majastrz
Copy link
Member

majastrz commented Jan 4, 2021

The PowerShell script was just a temporary solution until we had the setup.exe. I think the real fix here is to make setup.exe remove our files from %USERPROFILE%\AppData\Local\Programs\Bicep CLI and delete the directory if empty (we probably should not delete the directory if other files remain there in case the user put their own files in the directory).

@alex-frankel
Copy link
Collaborator Author

It would be nice if setup.exe would remove the reference to a powershell-installed version of bicep on the PATH, but not do that for any custom installs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants