uninstall

npm command to uninstall or prune unused packages in Node.js

久未见 提交于 2019-11-27 08:57:10
问题 Is there a way to simply uninstall all unused(undeclared) dependencies from a Node.js project (ones that are no longer defined in my package.json .) When I update my application I like to have the unreferenced packages removed automatically. 回答1: Run npm prune to remove modules not listed in package.json . From npm help prune : This command removes "extraneous" packages. If a package name is provided, then only packages matching one of the supplied names are removed. Extraneous packages are

How to completely remove Python from a Windows machine?

安稳与你 提交于 2019-11-27 07:09:28
I installed both Python 2.7 and Python 2.6.5. I don't know what went wrong, but nothing related to Python seems to work any more. e.g. "setup.py install" for certain packages don't recognize the "install" parameter and other odd phenomena... I would like to completely remove Python from my system. I tried running the 2.7 and 2.6 msi files and choosing remove Python and then running only 2.6 and reinstalling it. Still stuff don't work. How do I completely remove Python - from everything? (!) I would not like to reinstall my entire machine just because of the Python install... You will also have

Force uninstall of Visual Studio 2015

≯℡__Kan透↙ 提交于 2019-11-27 06:11:04
While uninstalling Microsoft Visual Studio Ultimate 2015 Preview, it throws an error quoting "Microsoft Visual Studio Ultimate 2015 Preview has stopped working" Message Content Include: A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. I googled and found a utility that uninstalls visual studio 2010 here but nothing exists for Visual Studio 2012, 2013 and 2015. My questions are: Is there any generic utility that uninstalls Visual Studio by Version ? Or Is there a way to forcefully uninstall visual studio 2012

How to prevent uninstaller elevating for Standard Windows 10 user?

断了今生、忘了曾经 提交于 2019-11-27 05:59:02
问题 We have an x86 Win32 desktop application. When the installer is run by a Standard (non-Admin) user, we avoid elevating and/or showing a UAC prompt and install under C:\Users\username\AppData\Roaming\... instead of the common Program Files directory. On Windows 10, when our uninstaller is launched from Control Panel -> Programs -> Programs and Features , no UAC prompt is shown and the uninstaller runs without elevating. This is the desired behaviour. When the same uninstaller is launched from

How to uninstall Ruby from /usr/local?

风格不统一 提交于 2019-11-27 05:43:32
问题 Everything was working fine , until we decided to upgrade ruby to 1.8.7 from 1.8.6, and thats when all hell broke loose. When we compiled Ruby 1.8.7 from source it got installed into /usr/local/bin and Ruby 1.8.6 stayed in /usr/bin. Currently, we've uninstalled ruby 1.8.6 and by some stroke we deleted the ruby 1.8.7 files from /usr/local. when we try "which ruby" it points to /usr/local. If anybody could help us out what we need to do get back on track , we would be very grateful.and also any

Powershell: Uninstall application by UpgradeCode

纵饮孤独 提交于 2019-11-27 05:42:12
When I upgrade / downgrade my application via a Powershell script, I want to first force the uninstallation of the currently installed version before running the new installer. How can I do that with Powershell, using the UpgradeCode of the application? Doing it by application name would be less robust. Since you mention upgrade code, it must mean that you are talking about an MSI file ( Windows Installer ). As stated by others such an uninstall is normally performed auto-magically by a properly authored MSI package - it is referred to as a major upgrade - which is essentially an uninstall of

I screwed up, how can I uninstall my program?

夙愿已清 提交于 2019-11-27 04:04:17
My Wix installer worked installing my program, but it's broken for uninstallation. A file is removed too early, and it's needed further down the line. The uninstaller fails and reverts its changes. This means I can't remove the package from my machine, and hence can't install any further builds of my installer (a considerable inconvenience). How can I force removal of the package? Wim Coenen Find your package in C:\Windows\Installer , where Windows keeps copies of installed MSI packages. The names are generated randomly, so you'll have to look at the creation dates of the files. Open the MSI

How to uninstall editable packages with pip (installed with -e)

孤街醉人 提交于 2019-11-27 04:02:30
问题 I have installed some packages with -e > pip install -e git+https://github.com/eventray/horus.git@2ce62c802ef5237be1c6b1a91dbf115ec284a619#egg=horus-dev I with pip freeze I see > pip freeze ... -e git+https://github.com/eventray/horus.git@2ce62c802ef5237be1c6b1a91dbf115ec284a619#egg=horus-dev ... when I try to uninstall the packages I get errors: > pip uninstall horus-dev Cannot uninstall requirement horus-dev, not installed > pip uninstall horus Cannot uninstall requirement horus, not

Uninstalling a ClickOnce application silently

倾然丶 夕夏残阳落幕 提交于 2019-11-27 03:15:30
问题 We have an production application that is deployed using Visual Studio's built-in ClickOnce deployment tool. I am writing a batch file to uninstall the application: rundll32.exe dfshim.dll,ShArpMaintain AppName.application, Culture=neutral, PublicKeyToken=XXXXXX, processorArchitecture=x86 The batch file works and the application's uninstall is called. However, I'm looking to do this silently. I have tried /Q /q /S /s /Silent but with no joy. How can I do this? I do not want to hide the batch

How to catch application uninstalling on device and let server know about this (iOS/Android)

坚强是说给别人听的谎言 提交于 2019-11-27 02:23:00
问题 Problem Description: We have a service which has applications for main mobile OS’s. We use push notifications. When user is log in, we store his device authorization data (lets say token) for later use in the push service. The problem is about few device authorizations for one user and properly keeping them valid when the user uninstall the application. Example: I gave my login to system to a few people, in case to try it. They logged in through the mob. application and the system