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]