correct missing variable entry

This commit is contained in:
Mario Fetka 2012-01-28 22:14:52 +01:00
parent d83c66c74b
commit 02952f9b78
2 changed files with 34 additions and 19 deletions

View File

@ -19,6 +19,9 @@ DefVar $LicensePool$
Set $LogDir$ = "%SystemDrive%\tmp"
; Token BUILDER_VARIABLES will be replaced by opsi-builder.sh
@@BUILDER_VARIABLES@@
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
@ -87,7 +90,7 @@ endif
;
; === MSI package =======================================================================================
; You may use the parameter PIDKEY=$Licensekey$
msiexec /i "%ScriptPath%\X86FILE" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=2 REBOOT=ReallySuppress
msiexec /i "$InstallMsi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=2 REBOOT=ReallySuppress
;
[Files_install]

View File

@ -1,21 +1,33 @@
##############################################################################
# This optional file "builder-targets-cb.sh" will be called by builder.sh
#
# target order: config, prepare, retrieve, create, package, publish, commit, cleanup
# callbacks: cb_package_makeproductfile
#
##############################################################################
############################
# Setup product information
############################
VENDOR="softmaker.de"
PN="pmviewer"
VERSION="2010"
RELEASE="10"
PRIORITY="0"
ADVICE=""
TYPE="restrict"
function create() {
echo "Create"
builder_create
}
#####################
# File object array
#####################
FILE[0]="SoftMaker-Logo.png_medium.png"
SOURCE[0]="http://www.android-user.de/var/ezflow_site/storage/images/artikel/exklusiv-vorschau-auf-softmaker-office-fuer-android/softmaker-logo.png/25888-1-ger-DE/SoftMaker-Logo.png_medium.png"
FILE[1]="PlanMakerViewer2010.msi"
SOURCE[1]="http://internal.graz.disconnected-by-peer.at/Orig/SoftMaker/Viewer/HB/2010/PlanMakerViewer2010.msi"
ARCH[1]="X86"
WINST[1]="InstallMsi"
# Download direct the executable
#FILE[1]="TMViewerSetup.exe"
#SOURCE[1]="http://www.softmaker.net/down/TMViewerSetup.exe"
#ARCH[1]="X86"
#WINST[1]="InstallExe"
# File array index for the image showing while installing the program
ICON_FILE_INDEX=0
function cleanup() {
echo "Cleanup:"
local opsi_file=${OPSI_REPOS_PRODUCT_DIR}/${OPSI_REPOS_FILE_PATTERN}.opsi
cp -av ${OPSI_REPOS_PRODUCT_DIR}/${OPSI_REPOS_FILE_PATTERN}.opsi /tmp
chmod 666 /tmp/${OPSI_REPOS_FILE_PATTERN}.opsi
}