1st release with properties

This commit is contained in:
Dennis Trinks 2012-06-20 14:30:09 +02:00
parent 902b9d973b
commit df476b9dd8
2 changed files with 47 additions and 19 deletions

View File

@ -6,7 +6,12 @@
[Actions]
requiredWinstVersion >= "4.10.8.6"
DefVar $uncpath$
DefVar $officescan.fqdn$
DEfVar $officescan.sharename$
DefVar $domainuser.loginname$
DEfVar $domainuser.password$
DefVar $connectionstr$
DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ProductId$
@ -19,7 +24,12 @@ DefVar $LicensePool$
Set $LogDir$ = "%SystemDrive%\tmp"
;Set $uncpath$ = "\\virenscanner.dtnet.de\ofcscan\AutoPccP.exe"
Set $officescan.fqdn$ = GetProductProperty ("officescan.fqdn","values")
Set $officescan.sharename$ = GetProductProperty ("officescan.sharename","values")
Set $domainuser.loginname$ = GetProductProperty ("domainuser.loginname","values")
Set $domainuser.password$ = GetProductProperty ("domainuser.password","values")
Set $connectionstr$ = "\\" + $officescan.fqdn$ + "\" + $officescan.sharename$ + " /user:" + $domainuser.loginname$ + " " + $domainuser.password$
; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
; and adds the following variables:
@ -69,7 +79,7 @@ else
endif
[DosInAnIcon_TMWF]
net use f: \\virenscanner.dtnet.de\ofcscan /user:dtnet.de\dtrinks
net use f: $connectionstr$
F:\AutoPcc.exe /Silent
[Winbatch_install]

View File

@ -21,20 +21,38 @@ onceScript:
customScript:
userLoginScript:
;[ProductProperty]
;type: unicode
;name: install_architecture
;multivalue: False
;editable: False
;description: which architecture (32/64 bit) has to be installed
;values: ["32 only", "64 only", "both", "system specific"]
;default: ["system specific"]
[ProductProperty]
type: unicode
name: officescan.fqdn
multivalue: False
editable: True
description: FQDN TrenMicro-Server
values: [""]
default: [""]
;[ProductProperty]
;type: unicode
;name: apache-pw
;multivalue: False
;editable: True
;description: Passwort fuer Download der Konfigfiles
;values: ["Passwort"]
;default: ["Passwort"]
[ProductProperty]
type: unicode
name: officescan.sharename
multivalue: False
editable: True
description: TrendMicro Client-Share on Server. ofcscan by default TM Installation
values: ["ofcscan"]
default: ["ofcscan"]
[ProductProperty]
type: unicode
name: domainuser.loginname
multivalue: False
editable: True
description: Domainuser accountname
values: [""]
default: [""]
[ProductProperty]
type: unicode
name: domainuser.password
multivalue: False
editable: True
description: Domainuser password
values: [""]
default: [""]