summaryrefslogtreecommitdiff
path: root/sample/builder-product.cfg
blob: 5c632d26ccfa9555c2cc661511fdc5816984cbf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
############################
# Setup product information 
############################
VENDOR="itwatch.de"
PN="itwatch"
VERSION="4.10.19"
RELEASE="3"
PRIORITY="0"
ADVICE=""

# TYPE - defines, if the install files are public or restricted. 
# Valid value: restrict | public
TYPE="public"

# 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 ---


#################
# File 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.
#
#   - Filename
#     Filename used inside the builder and opsi package
#     This parameter is mandatory.
#        FILE[index]="cool-stuff.exe"
# 
#   - Source URL
#     The source URL to download the file from. Multiple URLs are separted by a ";"
#     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
#     This parameter is mandatory
#       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. 
#     This parameter is optional, default value: <not set>, 
#     Valid values: <not set>, "X86", "X86_64"
#       ARCH[index]="X86"
#
#   - WINST Variabels:
#     You can access the file (included in the opsi-package) using WINST script language. 
#     The target "package" will replace all occurence of the string "@@[email protected]@" 
#     by pairs of "DefVar/Set"-commands, if the WINST attribute is set. Default value: <not set>
#     This parameter is ptional, default value: <not set>, 
#       WINST[index]=itWESS
#
#################
# Optional Array Elements
################
#
#   - INSTALL Variabels:
#     If you specify the INSTALL Array Element Builder expects that the specified FILE is a
#     compressed archive and extract it.
#       INSTALL[index]="libreoffice34.msi"
#
#   - EXTRACTTO Variabels:
#     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 ARCH/EXTRACTTO.
#     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
#       EXTRACTTO[index]="office"
#
   
FILE[0]="itWatchLogo.jpg"
SOURCE[0]="http://www.itwatch.de/logos/itWatchLogo.jpg"
WINST[0]=IconFile

FILE[1]="itWESS-Client_German.msi"
SOURCE[1]="http://repos.dtnet.de/v-$PN/itwatch/itwatch/4.10.19/itWESS-Client_German.msi;http://internal.graz.disconnected-by-peer.at/Orig/itWatch/itWESS/HB/4.10.19/itWESS-Client_German.msi"
ARCH[1]="X86"
WINST[1]=itWESS

FILE[2]="itWESS-64bit_German.msi"
SOURCE[2]="http://repos.dtnet.de/itwatch/itwatch/4.10.19/itWESS-64bit_German.msi;http://internal.graz.disconnected-by-peer.at/Orig/itWatch/itWESS/HB/4.10.19/itWESS-64bit_German.msi"
ARCH[2]="X86_64"
WINST[2]=itWESS64

# File array index for the image showing while installing the program
ICON_FILE_INDEX=0

Powered by Domaintechnik.at | Hosting - Domain - Webspace