Skip to content

DSL of Installation Scripts

Gerry Weißbach edited this page Aug 13, 2019 · 2 revisions

Custom scripts are allowed at certain stages of the build process. They can be configured as followed:

[msi, dmg, deb rpm] {

    // add a script to the pre-installation phase. Can be set multiple times
    preinst = "<script>"

    // add a script to the post-installation phase. Can be set multiple times
    postinst = "<script>"

    // add a script to the pre-removal phase. Can be set multiple times
    prerm = "<script>"

    // add a script to the post-removal phase. Can be set multiple times
    postrm = "<script>"
}

Please note, that these scripts are platform dependent and have to be set up as such.