VLC-Player 1.05, Installation und Deinstallation in einem.

Moderator: MVogt

Post Reply
User avatar
Theo_Gottwald
Posts: 367
Joined: 03. Oct 2009, 08:57
Location: Herrenstr.11 * 76706 Dettenheim
Contact:

VLC-Player 1.05, Installation und Deinstallation in einem.

Post by Theo_Gottwald » 16. Jul 2010, 15:47

Das Script stammt aus einem Supportfällchen. man kann es genau wie die Deinstallation einfach mit dem InstaRec aufzeichnen.

Es gibt dann eine Stelle wo man etwas abändern muß, wenn man customizing macht.

Man muß in diesem Fall wie bei allen diesen Treeviews die keine sind, das "|e" wieder durch ein "|i" ersetzen,
und das MEL\ darunter weglöschen. Wir haben das beim VLC sowohl bei der Installation als auch bei der Deinstallation:

Code: Select all

' No.:3 | Time: 15:28:16 | Ticks:  249
VAR\$$PRO=3
STW\#32770\VLC media player 1.0.5 Deinstallation|w45
GCW\1032\2\SysTreeView32\|w45
WII\2
SAW\
TVI\Löschen von Einstellungen und Cache|i
und

Code: Select all

' No.:6 | Time: 15:18:15 | Ticks:  2741
VAR\$$PRO=6
STW\#32770\VLC media player 1.0.5 Installation|w45
GCW\1032\2\SysTreeView32\|w45
WII\5
SAW\
TVI\Mozilla-Plugin|i
Hier nun das fix- und fertige Script. Sowas macht der einigermaßen versierte MPR Anwender in wenigen Minuten,
abhängig nur von der Schnelligkeit der Festplatte, da das Setup ca. 20 MB groß ist.

Code: Select all

' +++ main_VLC-Installation.rem +++
' Zweck: 
' erstellt am: 16.07.2010
' von: Theo Gottwald
'========================
'#EXE:?path
'#SPI:ForceWrite
'#SPI:VBRun
'#SPI:NoAuto
'#SPI:x64
' Wir schliessen die VLC-Setup-Datei in die EXE mit ein!
'#INC:?pfad\vlc-1.0.5-win32.exe

KRM\2
IEX\
   EVG\LogDirectory>$$LOG      ' Set log directory
   USM\4|$$LOG\SetupErrorLog\  ' Use silent mode with redirected error messages to error files
  ' DIP\150                     ' 150 ms delay between each command
EEX\

IAI\VLC media player 1.0.5
   GOTO uni
EAI\
' 
' ***** Package Robots Version 8.5 *****
' ***** instaRec iEngine Ver.5.0 *******
' 
' You can change these variables which are used inside the script.
VAR\$$000=?progs\VideoLAN\VLC
' 
' No.:1 | Time: 15:16:29 | Ticks:  0
VAR\$$PRO=1
' Please change '$ev4$' to '?pfad' if you have included the Setup within the EXE-File.
VAR\$$PFA=?pfad

EXE\$$PFA\vlc-1.0.5-win32.exe

' No.:2 | Time: 15:16:45 | Ticks:  374
VAR\$$PRO=2
GTW\#32770\Installer Language|w45
GCW\1002\1\ComboBox\*|w45
WII\5
SAW\
SCI\Deutsch
CDD\1
CDD\0

' No.:3 | Time: 15:17:56 | Ticks:  2241
VAR\$$PRO=3
STW\#32770\Installer Language|w149
GCW\1\1\Button\OK|w149
WII\5
SAW\
BCS\1||240

' No.:4 | Time: 15:18:04 | Ticks:  2455
VAR\$$PRO=4
STW\#32770\VLC media player 1.0.5 Installation|w45
GCW\1\1\Button\&Weiter|w45
WII\5
SAW\
BSC\1||240

' No.:5 | Time: 15:18:10 | Ticks:  2614
VAR\$$PRO=5
STW\#32770\VLC media player 1.0.5 Installation|w45
GCW\1\1\Button\&Annehmen|w45
WII\5
SAW\
BSC\1||240

' No.:6 | Time: 15:18:15 | Ticks:  2741
VAR\$$PRO=6
STW\#32770\VLC media player 1.0.5 Installation|w45
GCW\1032\2\SysTreeView32\|w45
WII\5
SAW\
TVI\Mozilla-Plugin|i

' No.:7 | Time: 15:18:20 | Ticks:  2859
VAR\$$PRO=7
STW\#32770\VLC media player 1.0.5 Installation|w45
GCW\1\1\Button\&Weiter|w45
WII\4
SAW\
BSC\1||240

' No.:8 | Time: 15:18:25 | Ticks:  2935
VAR\$$PRO=8
STW\#32770\VLC media player 1.0.5 Installation|w45
SWP\388,304|503,386
GCW\1019\2\Edit\*|w45
WII\3
SAW\
RST\$$000|0,-1

' No.:9 | Time: 15:18:28 | Ticks:  2988
VAR\$$PRO=9
STW\#32770\VLC media player 1.0.5 Installation|w45
GCW\1\1\Button\&Installieren|w45
WII\3
SAW\
MEL\

' No.:10 | Time: 15:20:09 | Ticks:  5467
VAR\$$PRO=10
STW\#32770\VLC media player 1.0.5 Installation|w198
GCW\1203\2\Button\VLC media player 1.0.5 ausführen|w198
WII\5
SAW\
' OPR\6,4
BTC\0
BTC\0

' No.:11 | Time: 15:20:11 | Ticks:  5503
VAR\$$PRO=11
STW\#32770\VLC media player 1.0.5 Installation|w45
GCW\1\1\Button\&Fertig stellen|w45
WII\1
SAW\
BCS\1||240

' No.:12 | Time: 15:20:25 | Ticks:  5909
VAR\$$PRO=12
SRV\0 ' This command will set the return code.

' Code-Ende
END\1

:uni
' No.:1 | Time: 15:28:04 | Ticks:  0
VAR\$$PRO=1
' Please choose the Line that suits best to your needs.
' EXU\VLC media player 1.0.5 1.0.5|u
EXS\?progs\VideoLAN\VLC\uninstall.exe

' No.:2 | Time: 15:28:13 | Ticks:  188
VAR\$$PRO=2
STW\#32770\VLC media player 1.0.5 Deinstallation|w45
GCW\1\1\Button\&Weiter|w45
WII\5
SAW\
BSC\1||240

' No.:3 | Time: 15:28:16 | Ticks:  249
VAR\$$PRO=3
STW\#32770\VLC media player 1.0.5 Deinstallation|w45
GCW\1032\2\SysTreeView32\|w45
WII\2
SAW\
TVI\Löschen von Einstellungen und Cache|i

' No.:4 | Time: 15:28:18 | Ticks:  321
VAR\$$PRO=4
STW\#32770\VLC media player 1.0.5 Deinstallation|w45
GCW\1\1\Button\&Deinstallieren|w45
WII\3
SAW\
BSC\1||240

' No.:5 | Time: 15:28:34 | Ticks:  807
VAR\$$PRO=5
STW\#32770\VLC media player 1.0.5 Deinstallation|w45
GCW\1\1\Button\&Fertig stellen|w45
WII\5
SAW\
BCS\1||240

' No.:6 | Time: 15:28:54 | Ticks:  1394
VAR\$$PRO=6
SRV\0 ' This command will set the return code.

' Code-Ende
END\1


:Always
SRV\$$PRO' If this command is executed an error has happened
' and the return code from the script will be the block number of the last block.

' Code-Ende
END\1

Post Reply

Return to “Package Robot”

Who is online

Users browsing this forum: No registered users and 8 guests