separated vc++2005 lib
This commit is contained in:
@@ -42,31 +42,7 @@ Set $connectionstr$ = "\\" + $officescan.fqdn$ + "\" + $officescan.sharename$ +
|
||||
; auto generated winst-variables
|
||||
; $IconFile$: path to product picture
|
||||
;
|
||||
DefVar $VENDOR$
|
||||
Set $VENDOR$ = "trendmicro"
|
||||
DefVar $PN$
|
||||
Set $PN$ = "trendmicro.wfbsstd7"
|
||||
DefVar $VERSION$
|
||||
Set $VERSION$ = "1"
|
||||
DefVar $RELEASE$
|
||||
Set $RELEASE$ = "1"
|
||||
DefVar $PRIORITY$
|
||||
Set $PRIORITY$ = "0"
|
||||
DefVar $ADVICE$
|
||||
Set $ADVICE$ = "Trend Micro Worry Free Business Std. Edition V7 Installation"
|
||||
DefVar $TYPE$
|
||||
Set $TYPE$ = "public"
|
||||
DefVar $CREATOR_TAG$
|
||||
Set $CREATOR_TAG$ = "dtn"
|
||||
DefVar $CREATOR_NAME$
|
||||
Set $CREATOR_NAME$ = "OPSI-Builder"
|
||||
DefVar $CREATOR_EMAIL$
|
||||
Set $CREATOR_EMAIL$ = "info@dtnet.de"
|
||||
DefVar $IconFile$
|
||||
Set $IconFile$ = "%ScriptPath%\trendmicro.wfbsstd7.png"
|
||||
DefVar $$
|
||||
Set $$ = ""
|
||||
|
||||
@@BUILDER_VARIABLES@@
|
||||
|
||||
; ----------------------------------------------------------------
|
||||
; - Please edit the following values -
|
||||
@@ -97,12 +73,12 @@ else
|
||||
Sub_get_licensekey
|
||||
endif
|
||||
|
||||
if FileExists($msifile$)
|
||||
DosInAnIcon_delmsi
|
||||
EndIf
|
||||
|
||||
DosInAnIcon_delmsi
|
||||
DosInAnIcon_delvcredist
|
||||
|
||||
comment "Start setup program"
|
||||
DosInAnIcon_TMWF
|
||||
DosInAnIcon_mount
|
||||
|
||||
comment "Copy files"
|
||||
Files_install /32Bit
|
||||
@@ -111,23 +87,50 @@ else
|
||||
isFatalError
|
||||
Endif
|
||||
|
||||
Winbatch_install
|
||||
comment "Extracting VC++ 2005 Lib"
|
||||
Winbatch_install_extract
|
||||
Sub_check_exitcode
|
||||
|
||||
if not (FileExists($LogDir$+"\vcredist.msi"))
|
||||
isFatalError
|
||||
Endif
|
||||
|
||||
comment "Installing VC++ 2005 Lib"
|
||||
Winbatch_install_vcredist
|
||||
Sub_check_exitcode
|
||||
|
||||
comment "Installing TM Worry Free"
|
||||
Winbatch_install_wf
|
||||
Sub_check_exitcode
|
||||
|
||||
comment "Cleanup Files"
|
||||
DosInAnIcon_delvcredist
|
||||
DosInAnIcon_delmsi
|
||||
endif
|
||||
|
||||
[DosInAnIcon_TMWF]
|
||||
[DosInAnIcon_mount]
|
||||
net use f: /delete /y
|
||||
net use f: $connectionstr$
|
||||
|
||||
[DosInAnIcon_delmsi]
|
||||
del $msifile$
|
||||
|
||||
[Files_install]
|
||||
copy "F:\Download\agentWin32.msi" %SystemDrive%\tmp\
|
||||
[DosInAnIcon_delvcredist]
|
||||
del $LogDir$\vcredist.msi
|
||||
del $LogDir$\vcredis1.cab
|
||||
|
||||
[Files_install]
|
||||
copy "F:\Download\agentWin32.msi" $LogDir$
|
||||
|
||||
[Winbatch_install_extract]
|
||||
$vcredist86Exe$ /Q /C /T:$LogDir$
|
||||
|
||||
[Winbatch_install_vcredist]
|
||||
$LogDir$\vcredist.msi /quiet
|
||||
|
||||
[Winbatch_install_wf]
|
||||
$msifile$ /quiet
|
||||
|
||||
[Winbatch_install]
|
||||
%SystemDrive%\tmp\agentWin32.msi /quiet
|
||||
|
||||
[Sub_check_exitcode]
|
||||
comment "Test for installation success via exit code"
|
||||
|
||||
Reference in New Issue
Block a user