0% found this document useful (0 votes)
117 views3 pages

Clip Batch

The document shows command line operations being run to prepare for a software update. Commands are run to check for existing registration software, update configuration files, and register ActiveX controls before the update.

Uploaded by

Daniel Asandei
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
117 views3 pages

Clip Batch

The document shows command line operations being run to prepare for a software update. Commands are run to check for existing registration software, update configuration files, and register ActiveX controls before the update.

Uploaded by

Daniel Asandei
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>cd /d "C:\WIND

OWS"
C:\WINDOWS>icacls asde*.ini /grant *S-1-1-0:F
'icacls' is not recognized as an internal or external command,
operable program or batch file.
C:\WINDOWS>icacls Dgipsvr.ini /grant *S-1-1-0:F
'icacls' is not recognized as an internal or external command,
operable program or batch file.
C:\WINDOWS>icacls restrict*.ini /grant *S-1-1-0:F
'icacls' is not recognized as an internal or external command,
operable program or batch file.
C:\WINDOWS>cd /d "D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTER
NES\"
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>Video_Assistan
ce.exe
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>IF ERRORLEVEL
0 GOTO NEXT0
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>rem FCA 2011/1
1/15: majurl.exe not present on DVD since more than one year
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>rem majurl.exe
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>IF ERRORLEVEL
0 GOTO NEXT1
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>File_Trc.exe
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>IF ERRORLEVEL
0 GOTO NEXT2
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>SET OLDREGPATH
=C:\WINDOWS\srntservice.exe
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>IF EXIST "C:\W
INDOWS\srntservice.exe" (
"C:\WINDOWS\srntservice.exe" -u
del "C:\WINDOWS\srntservice.exe"
if ERRORLEVEL 0 (GOTO NEXT3 ) ELSE ()
) ELSE ()
no old registration software to remove
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>rem Tm087619
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>UpdateVisuConf
.exe
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>IF ERRORLEVEL
0 GOTO NEXT4
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>rem Tm087664

D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>set TEMPLATE_P


ATH="C:\CLIP_X91\Data\Appli\Params\onlineUpdate\onlineUpdateSettings.xml"
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>rem Tm088459
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>rem in case of
major update, the existing version is uninstalled, and the update must be done
in the
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>rem saved copy
of preparateur.xml (unexpected, but true)
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>set EXISTING_P
ATH_PERSIST="C:\CLIP_X91\PERSISTENTDATA\OnlineUpdate\Preparateur.xml"
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>set EXISTING_P
ATH="C:\CLIP_X91\Data\User\OnlineUpdate\Preparateur.xml"
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>if exist "C:\C
LIP_X91\PERSISTENTDATA\OnlineUpdate\Preparateur.xml" (cscript.exe "D:\Downloads\
Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES\\UpdatePreparateurFile.vbs"
"C:\CLIP_X91\Data\Appli\Params\onlineUpdate\onlineUpdateSettings.xml" "C:\CLIP_
X91\PERSISTENTDATA\OnlineUpdate\Preparateur.xml" "C:\CLIP_X91\PERSISTENTDATA\Onl
ineUpdate\Preparateur.xml" ) else (cscript.exe "D:\Downloads\Clip V156_0_5_0\Cl
ip V156_0_5_0\APPLICATIONSEXTERNES\\UpdatePreparateurFile.vbs" "C:\CLIP_X91\Data
\Appli\Params\onlineUpdate\onlineUpdateSettings.xml" "C:\CLIP_X91\Data\User\Onli
neUpdate\Preparateur.xml" "C:\CLIP_X91\Data\User\OnlineUpdate\Preparateur.xml" )
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
loading XML document 'C:\CLIP_X91\Data\User\OnlineUpdate\Preparateur.xml'
loading XML document 'C:\CLIP_X91\Data\Appli\Params\onlineUpdate\onlineUpdateSet
tings.xml'
managing setting
template
existing
template

'/set/namedvalue[@name='OnlineUpdateActivated']'
type string is 'datatype:bool' and template value is 'false'
type string is 'datatype:bool' and existing value is 'false'
value is already same as existing value

managing setting
template
existing
template

'/set/namedvalue[@name='DeploymentMode']'
type string is 'datatype:string' and template value is 'LOCAL'
type string is 'datatype:string' and existing value is 'LOCAL'
value is already same as existing value

managing setting
template
0'
existing
0'
template

'/set/namedvalue[@name='UpdateRetrievalTime']'
type string is 'datatype:string' and template value is '11:00:0
type string is 'datatype:string' and existing value is '11:00:0
value is already same as existing value

managing setting '/set/namedvalue[@name='DistributionFolderPath']'


template type string is 'datatype:string' and template value is ''
existing type string is 'datatype:string' and existing value is ''

template value is already same as existing value


saving to 'C:\CLIP_X91\Data\User\OnlineUpdate\Preparateur.xml'
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>IF ERRORLEVEL
0 GOTO NEXT5
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>rem Tm087717
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>IF EXIST C:\OP
TIMA.TXT move /Y C:\OPTIMA.TXT C:\CLIP\DATA\USER\OPTIMA.TXT
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>IF ERRORLEVEL
0 GOTO NEXT6
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>rem Tm087994
D:\Downloads\Clip V156_0_5_0\Clip V156_0_5_0\APPLICATIONSEXTERNES>pushd C:\Clip_
X91\Lib\Script
C:\CLIP_X91\Lib\Script>call C:\Clip_X91\Lib\Script\RegisterActiveX.bat
return code is '0'
success

You might also like