Questions tagged [windows-package-manager]

The Windows Package Manager, inbuilt into Windows 10 and available on older Windows releases. Use this tag when referring to commands like `Install-Package` or `Find-Package` or `Get-PackageProvider`.

Windows Package Manager (formerly known as OneGet) is a Windows command-line tool that you can use offline to install, remove, or update Windows packages.

10 questions
13
votes
4 answers

How to install Node.js with Windows PowerShell PackageManager (OneGet)?

I tried Install-Package nodejs, which seems to have done something: PS C:\WINDOWS\system32> Install-Package nodejs The package(s) come(s) from a package source that is not marked as trusted. Are you sure you want to install software from…
trusktr
  • 44,284
  • 53
  • 191
  • 263
3
votes
0 answers

Can I provide package parameters using Install-Package?

I know I can install packages on Windows Package Management with eg: Get-PackageSource -Provider chocolatey Install-Package -Name win32-openssh But is there a way to provide package params? Eg packages like win32-openssh have options when they're…
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
1
vote
0 answers

Windows : What happens to the UI when the app is minimized?

I was wondering what will happen to the UI when the app is minimized. Will it refresh the UI [With respect to its content] even when the app is minimized? In the thumbnail[ When we hover on the app icon in taskbar ] we cant see apps UI being…
Harshith
  • 181
  • 2
  • 9
1
vote
1 answer

How do i get back the windows package manager back on the settings . Now I am not able to use winget . Im not able to figure what happened

I tried winget source reset --force winget source update --force command but then again the winget upgrade command is showing "Failed in attempting to update the source: winget" "Failed when searching source; results will not be included: winget"
0
votes
0 answers

Windows 10 PowerShell - Get-AppxPackage finds package, Remove-AppxPackage cannot remove it

How can I remove a seemingly spurious package in Windows 10? Remove-AppxPackage does not seem to work. The package must be a left-over from a previous install of the software that we develop. It looks like this in PowerShell: PS…
0
votes
1 answer

Find a Package for a given ProductId

I have the ProductId for an app: https://apps.microsoft.com/store/detail/msn-weather/9WZDNCRFJ3Q2 Where the ProductId is 9WZDNCRFJ3Q2. This is used by AppInstallManager to programmatically install from Store. I would like to know if an app is…
TomSelleck
  • 6,706
  • 22
  • 82
  • 151
0
votes
1 answer

Windows Package Manger upgrade Python 3

I want to upgrade my Python 3 install to a specific version of python 3 (3.8.10), but I can't figure out the complete version that "windows package manager" is expecting. winget upgrade --id Python.Python.3 --version 3.8.10 says "No version found…
OffensiveBias
  • 183
  • 1
  • 1
  • 6
0
votes
1 answer

Chocolatey - Optional Packages with user-confirmation in packages.config

Is there a way to specify an optional package in packages.config file which enables user confirmation before installing an application? For Example, If I have 3 PC's, I would like to install "VSCode" in 2 of them, but not in the 3rd PC. So, to help…
Gangula
  • 5,193
  • 4
  • 30
  • 59
0
votes
0 answers

Using DLLs wrapping Windows PackageManager in MinGW

In an attempt to incorporate a windows platform feature into an otherwise crossplatform application, I've made a one-function VC++ DLL in visual studio that uses Windows.Management.Deployment.PackageManager to get some details on all installed…
user3896248
  • 347
  • 1
  • 5
  • 16
-1
votes
1 answer

How to install an ASP.NET web forms project locally?

Recently, I've tried installing an ASP.NET 4.0 Web Forms Web Application locally...I've copied the Web.config file into the project and launched the following command Update-Package -Reinstall So I was expecting that the NuGet Package Manager would…
user9115388