can't install winget tool via ms store and cmd prmt - windows

It shows failed whenever i am trying to update winget tool for completing the installation process.
I have installed it from microsoft store and also tried it on cmd prmt but nothing works.

Related

Install-Package on MacOS

I'm trying to use a Cosmos DB with C# as documented in https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-howto-v4-storage?view=azure-bot-service-4.0&tabs=csharp#using-cosmos-db.
But I can't figure out how to Install-Package Microsoft.Bot.Builder.Azure since I don't have PowerShell. Couldn't do it with the az command. Do I need to install PowerShell (apparently another >200MB) just for this?
Might be easier to just install the package via NuGet. Alternatively, you can install PowerShell on MacOS and then run that command within PowerShell

Visual Studio Code installation with WSL 2

I have WSL 2 installed and running well and I am trying to install VSC to debug my code.
I already use (and have installed) Visual Studio Code on Windows 10.
The first thing I did was to install the .deb package provided on VSC (sudo apt install ./code_1.46.1-1592428892_amd64.deb. Everything went fine. When running code . I was prompted with
To use VS Code with the Windows Subsystem for Linux, please install VS Code in Windows and uninstall the Linux version in WSL. You can then use the 'Visual Studio Code' command in a WSL terminal just as you would in a normal command prompt.
I proceeded to uninstall VSC from my Ubuntu with sudo apt-get purge code and now I am a bit stuck.
On Windows side I installed the Remote - WSL extension and Remote Development on the existing VSC installation, but now I cannot launch it from WSL.
Any workaround?
Later edit : I know it might sound dumb, but it works by just closing all instances of WSL bash and starting all over again. Now I just have the curiosity of what did I install and what did I uninstall? And why is this non persistant?
when you run code . from inside WSL it should install a small vs code server in your home directory (~/.vscode-server) and then lunch vs code. If that doesn't work post the error message.

Helm fails on Windows 10

I installed Helm (the package manager for Kubernetes) on Windows 10 pro through Chocolatey.
When I am trying to execute helm command on the command prompt (running as Administrator), I am seeing a prompt saying "this app can't run on pc". Closing the prompt is showing "Access Denied" on the command prompt.
I also tried downloading the zip from Helm's website and create a System environment variable under Path.
Any help is much appreciated.
Adding the resolution here.
I am able to resolve it by deleting the helm folder under C:\program files and reinstalling helm using Scoop. Chocolatey may also help here to install helm.
P.S. Scoop and Chocolatey are package managers for Windows. Just like Homebrew is for macOS

When installing Appcelerator CLI, appc setup command throws error

I am trying to install the appcelerator cli but keep running into an issue that I haven't been able to find a fix for.
When running the "appc setup" command I get the error "cannot find module 'C:\cyclic.js'"
link to full screen capture of error
I am running windows 7 64 bit and am following the directions here https://web.appcelerator.com/product/cli
*Edit: If you are facing this same issue. Uninstall Node, and Appcelerator. Then make sure you install JDK 32 Bit (if using windows). DELETE the NPM and Appcelerator folders in your C:\Users[username]\AppData\Roaming\ directory. Then reinstall Node (I had success with 32 bit) and the Appcelerator CLI. That worked for me.
Hello make sure you have node.js and JDK installed and environment variable set properly. For reference http://docs.appcelerator.com/platform/latest/#!/guide/Installation_and_Configuration. Now, As you already tried "appc setup". You need to delete all cache of previous installation try and try reinstalling again. Run,
sudo rm -rf ~/.appcelerator
sudo npm uninstall -g appcelerator
appc use latest
appc setup
To setup the Appcelerator CLI, install Node.js, install the appcelerator module using the NPM CLI, then run the appc setup command to download and setup the latest CLI package. You can follow the guide here. Also you can check this link, if you experience an issue installing any of the npm packages.
If still not solved, I suggest you to start from scratch. I see you work on Windows, true?:
Remove install of NodeJS from "Uninstall programms" of control pannel
Remove install of Appcelerator from "Uninstall programms" of control pannel
Remove any folder from C:\Program Files or your user's folder referencing "node" "npm" or similar.
Go to your user's folder and remove any .app or .appcelerator folder (could be hidden, so look it well)
Don't forget to look in C:\Users\[username]\AppData\Roaming (probably will be hidden)
Now you have only Java JDK installed (I'm using 1.8).
Proceed with a new appcelerator.EXE install, it must detect that you don't have Node and will download by itself the proper Node version.

Find out if PostgreSQL uninstallation process is complete

I am working a software uses PostreSQL 9.0 as the database (postgresql-9.0.2-1-windows.exe). We have a installer for installing PostgreSQL 9.0 and uninstalling PostgreSQL silently.
For installation we use this command
C:\Program Files\PostgreSQL\9.0\uninstall-postgresql.exe --mode unattended
is there any way to know that the process that starts the uninstallationhas finished?
on my system the process that start is uninstall-postgresql.exe and followed by _uninstall2660.
both on google there is not sign of _uninstall2660.
Is checking if the uninstall-postgresql.exe is deleted a good ways?
How to correctly know if PostgreSQL installation has indeed finished?

Resources