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

A user with admin permissions should be able to install gauge from the Welcome Page #178

Closed
sswaroopgupta opened this issue Mar 5, 2018 · 3 comments
Assignees
Labels

Comments

@sswaroopgupta
Copy link
Contributor

sswaroopgupta commented Mar 5, 2018

Actual behavior
Unable to install from VSCode. I can however install gauge by starting powershell in admin mode.

VSCode is using choco install gauge which currently needs admin permissions.

Steps to replicate

  • On Windows click with gauge not installed open a gauge project
  • Click on run of the installation section

Version

gauge-0.0.4.nightly-2018-03-02.vsix

Bug on story - #115

@sswaroopgupta
Copy link
Contributor Author

sswaroopgupta commented Mar 27, 2018

Expected behavior
If Gauge is installed using choco from VSCode, the user should be able to uninstall using
choco uninstall gauge
Actual behavior
Gauge is installed in c:\Program Files\Gauge and choco uninstall command gives

Chocolatey v0.10.8
Uninstalling the following packages:
gauge
gauge is not installed. Cannot uninstall a non-existent package.

Chocolatey uninstalled 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - gauge - gauge is not installed. Cannot uninstall a non-existent package.

If a package uninstall is failing and/or you've already uninstalled the
 software outside of Chocolatey, you can attempt to run the command
 with `-n` to skip running a chocolateyUninstall script, additionally
 adding `--skip-autouninstaller` to skip an attempt to automatically
 remove system-installed software. This will only remove the packaging
 files and not things like software installed to Programs and Features.

If a package is failing because it is a dependency of another package
 or packages, then you may first need to consider if it needs removed
 as it is typically installed as a dependency for a reason. If you
 decide that you still want to remove it, head into
 `$env:ChocolateyInstall\lib` and find the package folder you want
 removed. Then delete the folder for the package. This option should
 only be used as a last resort.

@sriv
Copy link
Member

sriv commented Mar 27, 2018

not an issue with gauge-vscode. this is a behaviour noted on the gauge-chocolatey package.

@sswaroopgupta
Copy link
Contributor Author

Issue to track the uninstall behavior - getgauge/chocolatey-packages#6

@ghost ghost removed the ready for QA label Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants