-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Completely offline install script doesn't work #1040
Comments
The script in the docs is intended to be used to install Chocolatey CLI from a separate repository and allows multiple options. The steps you provide don't go through that. Step 2 doesn't take into account the credentials for the repository, the compression method, the execution policy etc.
What doesn't work?
Which command? |
I volunter to take care of this issue, got time next week. |
Hey @DennisL68, if could please answer on pauby's questions. Could also help out if you point out exact section of documentation that you took, where it got confusing and lead you to opening issue and proposing approach you shared. I ran with success by following next steps (could not find any issue with install.ps1):
I personally wished when I was fresh to Chocolatey and had my first time preparing offline installer to find plain simple Powershell solution offline instructions as I just shared above. Instead of Puppet, I feel it's easier for onboarding flow to build up the understanding instead of skip onto configuration management. I also kind of missed out on the install.ps1 link and instead went with puppet proposed but I wasn't going to use Puppet, so I got lost in the read flow there a little. I feel if we understand the base ground first we'll also be able to switch it to installing chocolatey via configuration management but that is just me 😊 I simply made me personal note back then and use it whenever I'd need it. Am curious if it's just me or there are more who had such experience and we could use small improvement in reader flow there. |
I'll have a look at it next week. We are about to reinstall that server anyway soon along with detailed instructions. So this is something I'll need to do soon anyway 👍 |
@DennisL68 how did it go? |
Not there yet :/ We had to prioritize a big migration work first that is still under due. |
What New Or Updated Would You Like To See?
The script at Completely offline install should be replaced with.
https://community.chocolatey.org/install.ps1
to local drive.\install.ps1 -ChocolateyDownloadUrl <c:\downloadpath\chocolatey.x.x.x.nupkg>
Why Is It Needed?
The script at
Completely offline install
doesn't install Chocolatey properly and the command won't be available in any new PowerShell sessions.The text was updated successfully, but these errors were encountered: