This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorial:program:install [2018/01/07 07:34] payonel created |
tutorial:program:install [2018/01/07 07:50] (current) payonel |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | + | Tutorial: The Install Program | |
- | Install Program | + | ============================================ |
- | ------------ | + | |
`install` is an application that comes shipped with [[:openos|OpenOS]]. For most users and in most computer configurations it is expected that the primary method of installing OpenOS is by using this very same `install` application. `install` is also designed to install the software, libraries, and help scripts that come bundled with all the craftable mod-provided [[item:loot_disks|loot disks]]. | `install` is an application that comes shipped with [[:openos|OpenOS]]. For most users and in most computer configurations it is expected that the primary method of installing OpenOS is by using this very same `install` application. `install` is also designed to install the software, libraries, and help scripts that come bundled with all the craftable mod-provided [[item:loot_disks|loot disks]]. | ||
Line 46: | Line 45: | ||
Besides installing loot disks (such as openos), It is intended that users can take advantage of the `install` program for custom software disks. If you are providing software distributed on a portable filesystem, you can expect `install` to be a useful utility. For this documentation we'll assume you are distributing your software via floppy disk, though `install` does not distinguish between any filesystem component, floppy or hard disk or other. | Besides installing loot disks (such as openos), It is intended that users can take advantage of the `install` program for custom software disks. If you are providing software distributed on a portable filesystem, you can expect `install` to be a useful utility. For this documentation we'll assume you are distributing your software via floppy disk, though `install` does not distinguish between any filesystem component, floppy or hard disk or other. | ||
- | |||
- | Note that it can be confusing at first whether `install` is detecting your software disk because install asks FIRST where the user want to install TO. This may be changed in the future - there is no design promise what `install` will ask the user first. | ||
The most basic and default way to use `install` with your software disk is to do nothing, and it'll just sort of work. `install` checks all available filesystems that have any files and considers them candidates for installation. The user is prompted to select what to install, and `install` does a very simple copy of all files in that disk to the selected destination. This is actually how OpenOS itself installs. | The most basic and default way to use `install` with your software disk is to do nothing, and it'll just sort of work. `install` checks all available filesystems that have any files and considers them candidates for installation. The user is prompted to select what to install, and `install` does a very simple copy of all files in that disk to the selected destination. This is actually how OpenOS itself installs. | ||
Line 93: | Line 90: | ||
The user could have also optionally used some command line args, such as: `install foo --noreboot --nosetlabel`. In which case I would see those values passed to my installer script. | The user could have also optionally used some command line args, such as: `install foo --noreboot --nosetlabel`. In which case I would see those values passed to my installer script. | ||
+ | Contents | ||
+ | ------------ | ||
+ | {{page>tutorial:contents&noheader&noeditbutton&nouser&nofooter}} |