mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-03 14:23:05 +01:00
CLIInstaller and CLIArguments
This commit is contained in:
10
README.md
10
README.md
@@ -372,11 +372,19 @@ Depending on the application or pkg there are a few more variables you can or ne
|
|||||||
`$updateTool $updateArguments`
|
`$updateTool $updateArguments`
|
||||||
Will be run instead of of downloading and installing a complete new version.
|
Will be run instead of of downloading and installing a complete new version.
|
||||||
Use this when the `updateTool` does differential and optimized downloads.
|
Use this when the `updateTool` does differential and optimized downloads.
|
||||||
e.g. `msupdate` (see microsoft installations)
|
e.g. `msupdate` (see various Microsoft installations).
|
||||||
|
|
||||||
- `updateToolRunAsCurrentUser`:
|
- `updateToolRunAsCurrentUser`:
|
||||||
When this variable is set (any value), `$updateTool` will be run as the current user. Default is unset and
|
When this variable is set (any value), `$updateTool` will be run as the current user. Default is unset and
|
||||||
|
|
||||||
|
- `CLIInstaller`:
|
||||||
|
- `CLIArguments`:
|
||||||
|
If the downloaded dmg is actually an installer that we can call using CLI, we can use these two variables for what to call.
|
||||||
|
We need to define `name` for the installed app (to be version checked), as well as `appName` for the installer binary. So Installomator will add the path to this binary, and it will be called like this:
|
||||||
|
`$CLIInstaller $CLIArguments`
|
||||||
|
We can support a whole range of other software titles by implementing this.
|
||||||
|
See label adobecreativeclouddesktop.
|
||||||
|
|
||||||
### Configuration from Arguments
|
### Configuration from Arguments
|
||||||
|
|
||||||
You can provide a configuration variable, such as `DEBUG` or `NOTIFY` as an argument in the form `VAR=value`. For example:
|
You can provide a configuration variable, such as `DEBUG` or `NOTIFY` as an argument in the form `VAR=value`. For example:
|
||||||
|
|||||||
Reference in New Issue
Block a user