Is there a way to list only packages installed specifically with the winget command?
winget list
seems to show all packages installed on the machine.
I am changing my computer and I want to get a list of all packages I installed with winget to be installed on the new machine. Is this possible?
No, there is no way to have WinGet display packages it has installed.
The output of list is coming from the same source as "Windows Apps & Features". The filtering by source is just a request for displaying packages available in more than one source to the one specified.
An enhancement has been asked for to filter the results only to packages available in a given source.
To narrow the display output to those packages available via winget, use the following:
(winget list) -match ' winget$'
Unfortunately, this isn't the same as those which you actually installed via winget,Tip of the hat to Demitrius Nelon:
As of version v1.4.10173 of winget, there is no way to get this information.
GitHub issue #1155 proposes future enhancements to winget list
Related
I am curious to know if there are methods where I can add additional packages to the anaconda installer. I am basically looking for a solution for creating an anaconda installer which has some extra python packages added along with it. Thus the participants to whom I give the installer need not be worrying about Internet connectivity or to add additional commands.
This is meant for an introductory hands-on python session. Hence the objective is to make the whole installation process less confusing as possible to the participants of the session.
I am aware of using docker as well as using environments. I am looking for something more simpler, say as seamless as anaconda installation for my participants.
Currently, I am thinking of doing the following.
1) Provide the .tar.gz file of the packages along with the installer
2) After installation and creating environments, install the libraries using pip from the .tar.gz
python -m pip install c:\mymodule\great.tar.gz
Any method which is simpler than the above one is welcome.
From the conda documentation on creating custom channels:
If you do not wish to upload your packages to the Internet, you can
build a custom repository served either through a web server or
locally using a file:// URL.
The instructions on that page tell you how to create a local custom repository from conda packages. They're aimed at people who are building their own packages but as far as I can see you can also use the existing packages that you can download from the repositories at https://repo.continuum.io/pkgs/.
You can then use the file:// URL of that repository in the -c specification of conda create and/or conda install commands to set up the environment for your users to work in.
I looked at the package center in the synology OS but only the Magento version is available at the package center. I've searched for answers online but can't seem to find the right one.
The easiest way to install packages is to browse Package Center, which displays a list of approved packages compatible with your Synology NAS model.
Some third-party developers make it simple to check for available applications by creating an .spk repository.
When you want to install a specific version of an application, or when Internet access is not available for automatic download of application files, you can install applications on Synology NAS using .spk files saved on a local computer. Package .spk files are available at Synology's Download Center
https://www.synology.com/en-us/support/download
I am using WiX to install a executable and I have used ManagedBootstrapperApplicationHost for CustomUI.
Is it possible to get the name of the feature being installed at the time of installation ?
If possible then how can we get the name of the feature ?
Any help would be appreciated.
Thanks.
Features aren't installed one after another. For example if 3 features are being installed, each with 10 files then the InstallFiles action will install all 30 files at the same time. Same thing with registry entries. So you can't display a UI that says "Installing Feature1" and then later on "Installing Feature2" because that doesn't happen. All you can know is that some list of features are being installed.
Your comment asks about finding out whether a feature installed successfully or not. This issue never comes up - there are never some features that install and others that fail. An MSI install is a transaction and it either all works or fails and rolls back and deletes changes it made so that the system is restored to its previous state.
It's not clear why the list of features is so important to display. If you use the MSI's internal UI there is a feature selection dialog where the user selects which features are to be installed; if you use the Burn UI the same thing is available, so the user can see what features have been chosen.
Inside the MSI the list of features being installed (after they've been selected) is in the ADDLOCAL property, but that's the internal name. It could be used to display a list of the features that were installed at the end, but again by definition what was chosen is installed otherwise the install would have rolled back entirely. I don't believe I've ever seen an install where the list of MSI features installed is displayed at the end - it's redundant info. It would be useful to know the scenario you have, or what problem you're trying to solve, and if you believe that you need to display a list because some might install and others might fail then there is no point, as I have said.
When I installed NodeJS on my machine, I selected the "Add to PATH" option in the setup (Windows 8.1)
Later, when I used node to install .dotLess using the following command ... the path it installed to was...
C:\Users\[Name]\AppRoaming etc etc...
It was an obscure path that was relative to my actual user account. I expected it to be more like ...
C:\Program Files\node\....
So can someone explain to me how this works? I am really confused.
It appears that .dotLess was installed only for your user account, while node.js was installed for all users. Typical installations will have an option for selecting one or the other.
How can I list all installed packages via goinstall? I need this to reinstall all packages installed on one computer to a different computer.
Most answers here are for pre-Go 1.0 which is several years old and the answers are no longer applicable to working Go installations.
The simple answer is go list ... (as with other go sub-commands three literal periods match all packages). That will list every package on the system. See go list -h for other uses of this versatile command.
Dave Cheney also has a related blog article: go list, your Swiss army knife.
There is a list under $GOROOT/goinstall.log
If you want to install all the packages on an different computer just copy the file across and
run,
goinstall -a
and goinstall will read this file and install all packages listed in it.
I'm not sure there's a way to do it through goinstall, but there should be a list under $GOROOT/goinstall.log.