Git Product home page Git Product logo

Comments (13)

DarwinCSIWindowscom avatar DarwinCSIWindowscom commented on May 16, 2024

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.

ferventcoder avatar ferventcoder commented on May 16, 2024

--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.

ferventcoder avatar ferventcoder commented on May 16, 2024

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.

DarwinCSIWindowscom avatar DarwinCSIWindowscom commented on May 16, 2024

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.

gep13 avatar gep13 commented on May 16, 2024

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.

DarwinCSIWindowscom avatar DarwinCSIWindowscom commented on May 16, 2024

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.

gep13 avatar gep13 commented on May 16, 2024

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.

gep13 avatar gep13 commented on May 16, 2024

@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.

ferventcoder avatar ferventcoder commented on May 16, 2024

:)

from choco.

DarwinCSIWindowscom avatar DarwinCSIWindowscom commented on May 16, 2024

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.

ferventcoder avatar ferventcoder commented on May 16, 2024

@DarwinCSIWindowscom Please read the documentation. https://github.com/chocolatey/choco/wiki/ReleaseNotes

from choco.

ferventcoder avatar ferventcoder commented on May 16, 2024

I highly recommend you get familiar with choco -? and choco command -?

from choco.

ferventcoder avatar ferventcoder commented on May 16, 2024

For your global insecure confirmation option - #52

from choco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.