Comments (13)
Is there already a way for me to force a chocolatey package to appear installed without installing it?
I'm thinking about situations like the above where I already know the pre-requisite is installed, it's just not installed by chocolatey.
Something like:
choco install abc -onlyregisterasinstalled
from choco.
--skippowershell.
On Sunday, February 1, 2015, DarwinCSIWindowscom [email protected]
wrote:
Is there already a way for me to force a chocolatey package to appear
installed without installing it?I'm thinking about situations like the above where I already know the
pre-requisite is installed, it's just not installed by chocolatey.Something like:
choco install abc -onlyregisterasinstalled—
Reply to this email directly or view it on GitHub
#49 (comment).
Rob
"Be passionate in all you do"
http://devlicio.us/blogs/rob_reynolds
http://ferventcoder.com
http://twitter.com/ferventcoder
from choco.
Also --ignoredependencies
On Sunday, February 1, 2015, Rob Reynolds [email protected] wrote:
-skippowershell.
On Sunday, February 1, 2015, DarwinCSIWindowscom <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:Is there already a way for me to force a chocolatey package to appear
installed without installing it?I'm thinking about situations like the above where I already know the
pre-requisite is installed, it's just not installed by chocolatey.Something like:
choco install abc -onlyregisterasinstalled—
Reply to this email directly or view it on GitHub
#49 (comment).Rob
"Be passionate in all you do"http://devlicio.us/blogs/rob_reynolds
http://ferventcoder.com
http://twitter.com/ferventcoder
Rob
"Be passionate in all you do"
http://devlicio.us/blogs/rob_reynolds
http://ferventcoder.com
http://twitter.com/ferventcoder
from choco.
Could you please show a complete command line?
I tried -skippowershell and --skippowershell and --skip-powershell and they all report "unknown option" and then "command install failed".
I tried adding "-o" and "--override" and still get the same result.
Latest version of chocolately on a fresh Server 2012 build.
Thanks for any help!
from choco.
Latest version of chocolately on a fresh Server 2012 build.
When you say latest version, can you confirm exactly what version?
We have a beta package of Chocolatey, which is version 0.9.9-beta-20150201
, which is where the above command switches will work. I suspect you might have version 0.9.8.32
which is the latest non beta version, where these command switches don't exist.
from choco.
You are correct - how do I update to the beta - doesn't seem to be a pre-release of the regular package, but not sure if I'm checking correctly.
Also interested in the oneliner to install the beta on a bare machine if there is one.
Thanks!
D.
from choco.
If you already have choco installed use:
choco install Chocolatey -pre
For a fresh machine, there is a url you can use, but I am AFK. @ferventcoder, you around?
Sent from my Windows Phone
From: DarwinCSIWindowscommailto:[email protected]
Sent: 02/02/2015 16:54
To: chocolatey/chocomailto:[email protected]
Cc: Gary Ewan Parkmailto:[email protected]
Subject: Re: [choco] Problem with Minor MSI Upgrades (#49)
You are correct - how do I update to the beta - doesn't seem to be a pre-release of the regular package, but not sure if I'm checking correctly.
Also interested in the oneliner to install the beta on a bare machine if there is one.
Thanks!
D.
Reply to this email directly or view it on GitHub:
#49 (comment)
from choco.
@DarwinCSIWindowscom on a fresh machine, rather than doing this:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
use this:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/InstallAbsoluteLatest.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
instead. That should get you the latest pre-release version.
from choco.
:)
from choco.
I am getting the error that there is no longer a "sources" command - do you want me to submit an issue somewhere?
Also it is prompting for confirmation for each package - is there a way to globally disable that so that it behaves like the prior version?
I can see in the command lines that there is a confirmation prompt, but would prefer not to update all my scripts with the confirmation prompt for every package.
Thanks,
D.
from choco.
@DarwinCSIWindowscom Please read the documentation. https://github.com/chocolatey/choco/wiki/ReleaseNotes
from choco.
I highly recommend you get familiar with choco -?
and choco command -?
from choco.
For your global insecure confirmation option - #52
from choco.
Related Issues (20)
- Handle "strg + c" during installation are no trapped HOT 1
- kb2919355 error HOT 1
- chocolatey-core.extension gets uninstalled with choco uninstall -x HOT 7
- Separate build types into individual build configurations
- Enable use of param() blocks in Chocolatey* Scripts
- choco error on one or more package constraint that seems to be currently satisfied based on choco list KB2919442 (>= 1.0.20160915) HOT 3
- 1488800
- Dependecy Issue installing the Chocolatey package manager HOT 1
- Upgrade Chocolately to .Net Core HOT 2
- Is it possible to install multiple versions of a software at the same time and switch between them, similar to scoop reset, nvm use, etc. HOT 1
- Remove stale software in CCM HOT 2
- `choco upgrade` repeatedly downloads and installs the same package
- Cannot create x.y format version nupkg HOT 2
- Still Dependency issues (think since v2) HOT 3
- Attempting to upgrade a package that requires upgrading a pinned dependency results in dependency resolution failure and confusing error message
- Modified cache location (config setting "cacheLocation") not used HOT 7
- Add ability to manage Windows Store applications HOT 1
- Allow use of multiple search command filters
- Make refreshenv work out of the box in powershell without asking to import a module first HOT 1
- Detecting elevated command shell works for PowerShell 7, but not for PowerShell 5 and CMD HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from choco.