|
|
|
|
@ -1,7 +1,10 @@
|
|
|
|
|
This script creates a new OPSI package structure for various types of
|
|
|
|
|
installer methods (Batch, Inno, NSIS...) to make software packaging a little easier.
|
|
|
|
|
|
|
|
|
|
The script needs the "convert" command from the ImageMagick software suite and
|
|
|
|
|
cURL for downloading the setup file and package logo.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
Usage:
|
|
|
|
|
./new-package.sh <product-id>
|
|
|
|
|
|
|
|
|
|
@ -11,8 +14,8 @@ Optional parameters:
|
|
|
|
|
-g yes Adds the Gruelag prefix to package ID and name
|
|
|
|
|
-u <Program URL> Downloads an installer file from the specified URL
|
|
|
|
|
-i <Logo URL> Applies a logo to the package from the specified URL
|
|
|
|
|
-t <Package Type> Sets the type of package to create, see below
|
|
|
|
|
-v <Program version> Sets the version of the program (not the package)
|
|
|
|
|
-t <Package Type> Sets the type of package to create, see below:
|
|
|
|
|
|
|
|
|
|
Package types:
|
|
|
|
|
winbatch Creates a blank WinBatch package
|
|
|
|
|
@ -23,5 +26,6 @@ Package types:
|
|
|
|
|
zip Creates a blank ZIP based package
|
|
|
|
|
msi Creates a blank MSI installer package
|
|
|
|
|
|
|
|
|
|
Optional parameters for ZIP type package:
|
|
|
|
|
Optional parameters for "zip" type package:
|
|
|
|
|
-e <filename.exe> Specifies the launcher executable inside the ZIP file
|
|
|
|
|
```
|
|
|
|
|
|