2012-05-04 09:06:49 +02:00
|
|
|
############################
|
|
|
|
# Setup product information
|
|
|
|
############################
|
2012-06-14 13:03:57 +02:00
|
|
|
VENDOR="microsoft.com"
|
|
|
|
PN="windows.activation"
|
|
|
|
VERSION="1"
|
|
|
|
RELEASE="1"
|
2012-05-04 09:06:49 +02:00
|
|
|
PRIORITY="0"
|
|
|
|
ADVICE=""
|
|
|
|
|
|
|
|
# TYPE - defines, if the install files are public or restricted.
|
|
|
|
# Valid value: restricted | public
|
|
|
|
TYPE="public"
|
|
|
|
|
2014-02-21 12:33:50 +01:00
|
|
|
DL_FILE[0]="Windows-8.jpg"
|
|
|
|
DL_SOURCE[0]="http://cdn.redmondpie.com/wp-content/uploads/2011/04/Windows-8.jpg"
|
2012-06-14 13:03:57 +02:00
|
|
|
|
|
|
|
# File array index for the image showing while installing the program
|
|
|
|
ICON_DL_INDEX=0
|
|
|
|
|
2012-05-04 09:06:49 +02:00
|
|
|
# EXTRACTWITH - defines the used programm for decompression
|
|
|
|
# Valid values: 7zip | unzip
|
|
|
|
# Default value: 7zip
|
|
|
|
# This Value is only usefull in combinnation with Variable INSTALL[INDEX]
|
|
|
|
# EXTRACTWITH="7zip"
|
|
|
|
|
|
|
|
# Begin Not Implemented ---
|
|
|
|
# DOWNLOADWITH - defines the used programm for download
|
|
|
|
# Valid values: wget | plowdown
|
|
|
|
# Default value: wget
|
|
|
|
# DOWNLOADWITH="wget"
|
|
|
|
# End Not Implemented ---
|
|
|
|
|
|
|
|
|
|
|
|
#################
|
|
|
|
# Downloader (DL) object array
|
|
|
|
################
|
|
|
|
#
|
|
|
|
# To build the opsi-packet, some files are needed. The files are defined by a file object.
|
|
|
|
# A file object contains different attributes. All attributes (FILE, SOURCE, ..) are binded together
|
|
|
|
# using a file index.
|
|
|
|
#
|
|
|
|
# Target "prepare" : Working directory INST_DIR and OUTPUT_DIR are prepared
|
|
|
|
# Target "retrieve" : the files are downloaded to the the caching storage ${DIST_CACHE_DIR}/$DL_ARCH[i]/$DL_FILE[i]
|
|
|
|
# Target "create" : the files are extrated/copied to ${INST_DIR}/CLIENT_DATA/${DL_ARCH[$i]}
|
|
|
|
# Target "package" : opsi-makeproductfile is called processing ${INST_DIR} directory
|
|
|
|
#
|
|
|
|
# - Filename
|
|
|
|
# Filename used inside the builder and opsi package
|
|
|
|
# Mandatory parameter.
|
|
|
|
# DL_FILE[index]="cool-stuff.exe"
|
|
|
|
#
|
|
|
|
# - Source URL
|
|
|
|
# The source URL to download the file from. Multiple URLs are separted by a ";" or ","
|
|
|
|
# The $DIST_PRIVATE_REPOS variable will be added as the first URL automatically
|
|
|
|
# Therefore, you download the non-public programs to your local/privagte repository.
|
|
|
|
# You can use variable like $PN or $Version inside the URLs
|
|
|
|
# DL_SOURCE[index]="http://cool-stuff.de/download/cool-stuff_1.001.exe;http://mirro5.cool-stuff.at/$PN_$VERSION.exe"
|
|
|
|
#
|
|
|
|
# - Architecture
|
|
|
|
# Definition of the architecture to separate different files. This will be used in
|
|
|
|
# the file structure inside the opsi-package. Also, you can use it in your repos-URL's
|
|
|
|
# or filenames (OPSI_REPOS_FILE_PATTERN, OPSI_REPOS_PRODUCT_DIR) to structure the repos.
|
|
|
|
# If it's a file for all architecture, the variable have not to be set.
|
|
|
|
# Optional parameter. Default value: <not set>
|
|
|
|
# Valid values: <not set>, "X86", "X86_64"
|
|
|
|
# DL_ARCH[index]="X86"
|
|
|
|
#
|
|
|
|
# - WINST variable:
|
|
|
|
# You can access the file (included in the opsi-package) using WINST script language.
|
|
|
|
# The target "package" will replace all occurence of the string "@@BUILDER_VARIABLES@@"
|
|
|
|
# by pairs of "DefVar/Set"-commands, if the WINST attribute is set. Default value: <not set>
|
|
|
|
# Optional parameter. Default value: <not set>,
|
|
|
|
# DL_WINST_NAME[index]=itWESS
|
|
|
|
#
|
|
|
|
# - Compression format
|
|
|
|
# If the retrieved file is compressed, the compression format is specified to
|
|
|
|
# extract it. If the parameter is not set, no extraction happens
|
|
|
|
# Optional parameter. Valid values: unzip, 7zip. Default value: <not set>.
|
|
|
|
# DL_EXTRACT_FORMAT="zip"
|
|
|
|
#
|
|
|
|
# - Extraction directory for compressed files
|
|
|
|
# This Variable only works in combination with INSTALL and forces the extraction
|
|
|
|
# to be done into the specified directory.
|
|
|
|
# This will result in the files to be extracted to ${OUTPUT_DIR}/${DL_ARCH}/${DL_EXTRACT_TO}.
|
|
|
|
# This feature is mostly needed if a package includes more setup programms that are nemed the
|
|
|
|
# same. This way you place the setups into diffent dirs
|
|
|
|
# Optional parameter. Default value: <empty>
|
|
|
|
# DL_EXTRACT_TO[index]="office"
|
|
|
|
#
|
|
|
|
# - Specify Downloader
|
|
|
|
# Defines the downloader to use to retrieve the SOURCE file
|
|
|
|
# Optional parameter. Valid values: wget|plowdown. Default value: wget
|
|
|
|
#
|
2012-06-14 13:03:57 +02:00
|
|
|
|