Skip to content
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

Distribution File Support #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Distribution File Support #28

wants to merge 1 commit into from

Conversation

remoe
Copy link

@remoe remoe commented Jun 6, 2017

One can add a distribution file in build-info.json:

    "distribution": {
        "name": "distribution.xml",
        "resources": "path/to/resources"
    }

distribution.xml

<?xml version="1.0" encoding="utf-8"?>
<installer-gui-script minSpecVersion="2">
    <pkg-ref id="@IDENTIFIER@"/>
    <allowed-os-versions>
    	<os-version min="10.12" />
	</allowed-os-versions>
    <options customize="never" require-scripts="false" rootVolumeOnly="true" />
    <choices-outline>
        <line choice="default">
            <line choice="@IDENTIFIER@"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="@IDENTIFIER@" visible="false">
        <pkg-ref id="@IDENTIFIER@"/>
    </choice>
    <pkg-ref id="@IDENTIFIER@" version="@VERSION@" onConclusion="none">@[email protected]</pkg-ref>
    <title>App Title</title>
</installer-gui-script>

One can add a distribution file in build-info.json:

```json
    "distribution": {
        "name": "distribution.xml",
        "resources": "path/to/resources"
    }
```
@remoe remoe closed this Aug 30, 2017
@gregneagle
Copy link
Contributor

I never saw this until you closed it! This looks interesting...

@remoe
Copy link
Author

remoe commented Aug 30, 2017

Should I reopen it? :)

@gregneagle
Copy link
Contributor

Sure!

@remoe remoe reopened this Aug 30, 2017
@gregneagle
Copy link
Contributor

I like the idea here. We'll need updates to the documentation and it would be extremely helpful to point to external documentation on creating a distribution file and the expected syntax. I don't know, for example, what are the legal '@Identifier@'-style placeholders. If we add this to munki-pkg, there will be questions, and I don't have answers.

@erikng
Copy link
Contributor

erikng commented Aug 30, 2017

This is awesome.

@gregneagle gregneagle closed this Jun 15, 2020
@gregneagle gregneagle reopened this Jun 16, 2020
@gregneagle gregneagle changed the base branch from master to main June 16, 2020 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants