separated vc++2005 lib
This commit is contained in:
parent
ccf8aecb64
commit
76a4593083
@ -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"
|
||||
|
@ -15,6 +15,9 @@ TYPE="public"
|
||||
DL_FILE[0]="trendmicro.wfbsstd7.jpg"
|
||||
DL_SOURCE[0]="http://siliconangle.com/files/2011/01/trend-micro-logo.jpg"
|
||||
|
||||
WINST_NAME[1]="MyVar"
|
||||
WINST_VALUE[1]="My content"
|
||||
DL_FILE[1]="vcredistx86.exe"
|
||||
DL_SOURCE[1]="http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE"
|
||||
DL_ARCH[1]="X86"
|
||||
DL_WINST_NAME[1]=vcredist86Exe
|
||||
|
||||
ICON_DL_INDEX=0
|
||||
|
1
vcredistx86.exe.sha1sum
Normal file
1
vcredistx86.exe.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
b8fab0bb7f62a24ddfe77b19cd9a1451abd7b847 /home/dtrinks/.opsi-dist-cache/trendmicro/trendmicro.wfbsstd7/1/X86/vcredistx86.exe
|
Loading…
Reference in New Issue
Block a user