Comments (14)
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.
There doesn't look like they're is anything too do in this issue so I'm going to go ahead and close it. We can always reopen it again later, if necessary.
from choco.
Related Issues (20)
- Pin using reason leads to wrong error message HOT 8
- choco hook package - post-install trigger does not fire when package installation fails HOT 7
- Get-ChocolateyWebFile.ps1 detected as malicious from ESET HOT 21
- Using `Install-ChocolateyPath -PathType Machine` in a non-admin context spawns PowerShell endlessly and never completes HOT 1
- Deprecate `unpackself` command HOT 1
- Rework build process to remove the use of `-unpackself`
- Remove `-unpackself` command and adjust build/debugging as appropriate
- Chrome package not installing HOT 1
- Change namespace casing to PascalCase HOT 2
- Improve package dependency lookup when an exact version is defined HOT 1
- choco uninstalled a number of wrong packages when I want to uninstall ONE package HOT 8
- Autoremove feature or list leaf packages
- Chocolatey CLI v2.2.2 prompts for credentials when trying to install the ROS noetic desktop_full package HOT 2
- How to install choco without admin to local path user ? HOT 2
- dotnet4.5.2 was not found with the source(s) listed HOT 5
- Install-ChocolateyFileAssociation creating unnecessary 3rd parameter in registry command, causing error in app when opening associated filetype HOT 5
- Update GenerateDocs.ps1 to support the Astro Framework
- Install-ChocolateyPath: should -Scope default to 'Machine'
- Accessing icon from protected bin repo HOT 1
- Dependency resolution during install can be slow HOT 16
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.