Replies: 2 comments 1 reply
-
Choco needs to update the lib folder as that's where it keeps the package files. What updates do you not want to happen in there? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Like I said, when installing the package using commandline like I stated above, scripts from package will be installed and lib folder also get updated simultaneously. Is there any way to stop updating when using commandline or can we create another environment to do so. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
By default chocolatey package folders are installed/updated to C:/Programdata/chocolatey/lib. Right now we've a default destination path where our scripts are installed and using Get-packageparamaters, we modified installation script in such a way that when using command line (choco install -d --package-parameters "'/InstallationPath:""C:\temp\folder'") it will install only to the InstallationPath given in commandline. In this scenario the package folder in "C:/Programdata/chocolatey/lib" also gets updated. Is there any option not to update the packagefolder when using the commandline. As we don't want $env:ChocolateyPackageFolder to g et updated.
Beta Was this translation helpful? Give feedback.
All reactions