START OF AN OF PACKAGE WITH THE HELP OF A VBS/JS SKRIPTES
The T2U-dienst has an COM interface, which uses basic Scripts and/or Java Scripts by Visul
will can.
A typical VBS Script for the installation Java 2 run time 1.4.2_05 looks in such a way:
Option Explicit
dim objT2U, strCatFile, strPackageFolder, strStartId
set objT2U = CreateObject("T2USvc.T2USvcCom.1")
objT2U.Language = 1031
objT2U.HiddenStatusDialog = false
strCatFile = "\\OK02\T2U\Catalogs\JRE-1_4_2_05.cat"
strPackageFolder = "\\OK02\T2U\Packages\JRE-1_4_2_05"
strStartId = "Install"
call objT2U.VerifyAndRun (strCatFile, strPackageFolder, strStartId)
oder noch etwas k?rzer
set objT2U = CreateObject("T2USvc.T2USvcCom.1")
call objT2U.VerifyAndRun ("\\OK02\T2U\Catalogs\JRE-1_4_2_05.cat", "\\OK02\T2U\Packages\JRE-
1_4_2_05", "Install")
oder sogar ein Einzeiler:
call CreateObject("T2USvc.T2USvcCom.1").VerifyAndRun("\\OK02\T2U\Catalogs\JRE-
1_4_2_05.cat","\\OK02\T2U\Packages\JRE-1_4_2_05","Install")
One sees that the production of VBS is very simple script for the start of a package.
Go to Help Contents
|