/zipsfx

Go package library that allows creating Self Extracting Archive (sfx) for Windows.

Primary LanguageGoMIT LicenseMIT

Go zipsfx (Self Extracting Archive)

zipsfx is Go package that allows creating Self Extracting Archive (sfx) for Windows.

Usage

This package provides a bundler which append an archive into an sfx bootstrapper.

package main

import (
	"github.com/codeyourweb/zipsfx"
)

func main() {

    // BuildSFX("inputFolder", "windows-cmd-to-execute-after-unzipping-folder", "output-sfx-executable-name")
	err := zipsfx.BuildSFX("myFolder/", "my-binary.exe", "my-sfx-package.exe")
	if err != nil {
		panic(err)
	}
}

SFX bootstrapper

This package relies on Winrar zip sfx in order to provide a basic self extracting archive library

License

MIT