Comments (12)
ysetup is a stub installer that downloads the packages you select and installs them. It can't be extracted because it doesn't have a payload.
If you'd like to obtain the raw packages, after performing a core install run "ypm -rl" which will list the URLs of each of the packages on the server. These are compressed using the .cab format, which should be openable in explorer or via the expand.exe command line tool which is included in Windows.
If you want to be able to install from an offline set of packages, see the section on "mirrors" at http://www.malsmith.net/yori/guide/#updating .
from yori.
http://www.malsmith.net/download/?obj%yori/latest-stable/=c:\local\packages\
404 Not Found
from yori.
Quoting the paragraph above that line:
Ypm can also mirror packages, re-routing requests destined to one source to another source. To do this, add a [Mirrors] section in packages.ini with each line containing a value to substitute with another value. The '%' character can be used to indicate an '=' character, which is otherwise inexpressible because it delimits the value to replace with the new value to use. For example, to remap malsmith.net packages to a local location, use:
So that line includes a source URL to map from and a target path to map to, which in this case is "c:\local\packages". "C:\local\packages" is not a server resource, and it is expected that the server would return 404 if it were requested.
from yori.
how to get the raw packages without installing anything?
from yori.
The reason I suggested performing a core install first is to provide a mechanism to query the server to find out what packages it contains. At a pinch you could probably just look at the list from http://www.malsmith.net/download/?obj=yori/latest-stable/pkglist.ini , and assemble the URLs from that. Obviously this is only looking at the latest stable yori release, not anything else the server might host or refer to.
Using ypm -rl is just automating this process into something that's easier to use, easier to support, and more correct.
from yori.
to any interested, here is example URLs:
- http://malsmith.net/download?obj=yori/latest-stable/yori-core-amd64.cab
- http://malsmith.net/download?obj=yori/latest-stable/yori-core-win32.cab
from yori.
Ok, just out of curiosity, I have to ask...
If you trust the binary code, why not run "ypm -rl" to get the full list in a way that will work over time?
If you do not trust the binary code, why would you want to download the binary packages?
from yori.
I trust the packages, but not the installer.
Binary packages are just dumb files, they typically dont do anything beyond their main purpose.
But installers can be nefarious, either intentionally or from lazy coding. They can add registry entries, modify environment variables, add start menu entries.
I dont want any of that at this point, as I dont know if I even like the software. In my case ZIP or CAB file is a simple and more trusted way to test new software.
from yori.
That makes sense, I feel the same way, and ysetup was written in that mindset. If you haven't launched it, this is what it looks like. All the things you're referring to are on the right, optional, and disabled by default:
Also, just checking the source code, ysetup is the only thing in the source tree that interacts with the registry directly. It modifies if the "add to path" options are selected, and queries in order to find the location of Program Files.
from yori.
@malxau nice! thanks for the info! maybe I will give the installer a try, since it is well behaved
I would only add that it might be helpful to link to pkglist.ini
in the docs for any who might want manual install
thanks again
from yori.
Obviously there's not really much I can do to make this work nicely without code, but:
- Commit c517bc3 allows ypm to download an entire package set to a local directory
- Commit 3eeeaee allows ysetup to install from a local directory of packages
Note that packages are currently just collections of files; there's no support in ypm for registry changes, shortcut creation, etc. It's just laying out files and installing links to them in an .ini file in the same directory.
from yori.
I dont want any of that at this point, as I dont know if I even like the software. In my case ZIP...
I feel the same.
Is there a reason to not provide a zip with all the utilities, for those who are interested in such thing?
I would guess that you too, when you want to try something which you didn't write, would prefer to get a zip, extract it yourself and try it out in that dir, instead of downloading a downloader which you need to run in order to try the thing, which might change things at the registry etc (even if your tool doesn't, and even if that 3rd party tool also doesn't).
You will not be the first to provide a zipped package without an installer/setup/downloader ;)
from yori.
Related Issues (20)
- Ctrl-C stops working after terminating GUI app once HOT 5
- Provide all installer options as command line arguments HOT 2
- Allow for a custom starting directory HOT 2
- Command line length limit in Yori ? Like 8191 in cmd ? HOT 2
- Implement long path pseudo current directory HOT 4
- Broken alias command for paths with spaces HOT 2
- Feature request: Option in Tee to remove color HOT 2
- yori's lsof breaks react-scripts HOT 3
- Yori installer for the arm64 Windows HOT 4
- current version -- 2.0 is marked as infected with a trojan by Windows Defender HOT 3
- yenv: accept variable from stdin HOT 4
- "cab.exe -s -u" does not overwrite files with read-only and system attributes set HOT 2
- "ycopy.exe -p" raises ERRORLEVEL to 1 if there is nothing to overwrite HOT 1
- Can't run Notepad HOT 2
- YoriInit.ys1 script %__APPDIR__% and %__CD__% environment variables on Windows XP HOT 2
- throw er; // Unhandled 'error' event HOT 2
- fail to install yori-core on amd HOT 2
- ConEmu + Clink + Yori + Python + xonsh = surprise XD HOT 2
- CD Improvement HOT 2
- Scrolling with mouse wheel in Windows Terminal isn't working unless you hold down Shift while scrolling HOT 3
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 yori.