GIMP 2.6.6 Installation und Deinstallation mit MPR: Win7/x64

Moderator: MVogt

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

GIMP 2.6.6 Installation und Deinstallation mit MPR: Win7/x64

Post by Theo_Gottwald » 04. Jan 2010, 16:15

Wir haben aktuell im Package-Robot Forum noch nicht viele Installation- und Deinstallations-Script-Beispiele.

Da ich sowieso hier welche machen muß, stelle ich die dann einfach mal hier zur Verfügung.

Hier als Beispiel ein GIMP-Installation einschliesslich customizing und Auswahl von Dateitypen.

Aufgepasst. Wer Startmenüeinträge, Quickstart etc. haben möchte muss ggf. die BTC\0 in BTC\1 umändern.

Code: Select all

' +++ Install_gimp-2.6.6-x64-setup.rem +++
' Zweck: 
' erstellt am: 04.01.2010
' von: Theo
'========================
'#SPI:ForceWrite
'#EXE:?path
'#INC:vbrun
'#SPI:NoAuto
'#FDC:Ask

'USM\3 ' Uncomment this command to use silent mode with redirected error messages to error files.
' 
' ***** Package Robots Version 8.5 *****
' ***** instaRec iEngine Ver.5.0 ******
' 
' You can change these variables which are used inside the script.
VAR\$$000=C:\Program$SP$Files\GIMP-2.0
' 
' No.:1 | Time: 16:04:38 | Ticks:  0
'USM\1 ' Uncomment this command to use silent mode (no error messages from Robot).
VAR\$$PRO=1
' Please change '$ev4$' to '?pfad' if you have included the Setup within the EXE-File.
VAR\$$PFA=$ev4$

EXE\$$PFA\gimp-2.6.6-x64-setup.exe

' No.:2 | Time: 16:04:46 | Ticks:  127
VAR\$$PRO=2
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\3\TCheckBox\I will not bother developers if I can't get this to work|w45' I will not bother developers if I can't get this to work
WII\5
SAW\
' OPR\7,14
BTC\1
BTC\1

' No.:3 | Time: 16:04:47 | Ticks:  168
VAR\$$PRO=3
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\1\TNewButton\&Next|w45' &Next
WII\2
SAW\
BSC\1||240

' No.:4 | Time: 16:04:49 | Ticks:  213
' The following statics have been found: 
'  1. TNewStaticText\License Agreement
'  2. TNewStaticText\Please read the following important information before continuin
'  3. TNewStaticText\When you are ready to continue with Setup, click Next.
VAR\$$PRO=4
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
' This command is used between equal buttons to prevent problems.
SPC\TNewStaticText\Please read the following important information before continuin|w45
TDL\40
GCW\\1\TNewButton\&Next|w45' &Next
WII\2
SAW\
BSC\1||240

' No.:5 | Time: 16:04:51 | Ticks:  282
VAR\$$PRO=5
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\5\TButton\&Customize|w45' &Customize
WII\2
SAW\
BSC\1||240

' No.:6 | Time: 16:04:53 | Ticks:  334
VAR\$$PRO=6
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
SWP\575,362|503,388
GCW\\5\TEdit\*|w45' C:
WII\2
SAW\
RST\$$000|0,-1


' No.:7 | Time: 16:04:55 | Ticks:  373
VAR\$$PRO=7
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\1\TNewButton\&Next|w45' &Next
WII\2
SAW\
BSC\1||240

' No.:8 | Time: 16:05:00 | Ticks:  505
VAR\$$PRO=8
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\5\TNewCheckListBox\GIMP|w45' GIMP
WII\5
SAW\
LBE\Translations
BTC\0

' No.:9 | Time: 16:05:12 | Ticks:  814
VAR\$$PRO=9
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\1\TNewButton\&Next|w45' &Next
WII\5
SAW\
BSC\1||240

' No.:10 | Time: 16:05:22 | Ticks:  1019
VAR\$$PRO=10
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\5\TNewCheckListBox\GIMP image|w45' GIMP image
WII\5
SAW\
LBE\GIMP brush pipe
BTC\0

' No.:11 | Time: 16:05:26 | Ticks:  1110
VAR\$$PRO=11
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
SWP\575,362|503,388
GCW\\5\TNewCheckListBox\|w45'
WII\3
SAW\
SPV\0
OPR\404,46
MLD\

' MLD\ und MLU\ wurden nicht zusammengezogen, da ein Mausdrag festgestellt wurde.
' No.:12 | Time: 16:05:28 | Ticks:  1161
VAR\$$PRO=12
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\5\TNewCheckListBox\GIMP image|w45' GIMP image
WII\2
SAW\
LBI\1
MLU\

' No.:13 | Time: 16:05:29 | Ticks:  1167
VAR\$$PRO=13
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\5\TNewCheckListBox\GIMP image|w45' GIMP image
WII\1
SAW\
LBE\SUN Raster Image
BTC\1

' No.:14 | Time: 16:05:45 | Ticks:  1590
VAR\$$PRO=14
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\1\TNewButton\&Next|w45' &Next
WII\5
SAW\
BSC\1||240

' No.:15 | Time: 16:05:51 | Ticks:  1762
VAR\$$PRO=15
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\5\TNewCheckBox\&Don't create a Start Menu folder|w45' &Don't create a Start Menu folder
WII\5
SAW\
' OPR\6,5
BTC\1
BTC\1

' No.:16 | Time: 16:05:53 | Ticks:  1792
VAR\$$PRO=16
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\1\TNewButton\&Next|w45' &Next
WII\2
SAW\
BSC\1||240

' No.:17 | Time: 16:05:56 | Ticks:  1868
VAR\$$PRO=17
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\5\TNewCheckListBox\Additional icons:|w45' Additional icons:
WII\3
SAW\
LBE\Create a &Quick Launch icon
BTC\1

' No.:18 | Time: 16:05:58 | Ticks:  1897
VAR\$$PRO=18
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\5\TNewCheckListBox\Additional icons:|w45' Additional icons:
WII\1
SAW\
LBE\Create a &desktop icon
BTC\0

' No.:19 | Time: 16:06:02 | Ticks:  2002
VAR\$$PRO=19
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\1\TNewButton\&Next|w45' &Next
WII\4
SAW\
BSC\1||240

' No.:20 | Time: 16:06:04 | Ticks:  2049
VAR\$$PRO=20
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\1\TNewButton\&Install|w45' &Install
WII\2
SAW\
BSC\1||240

' No.:21 | Time: 16:06:30 | Ticks:  2180
VAR\$$PRO=21
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\3\TNewCheckListBox\Launch GIMP|w45' Launch GIMP
WII\5
SAW\
LBE\Launch GIMP
BTC\0

' No.:22 | Time: 16:06:32 | Ticks:  2211
VAR\$$PRO=22
STW\TWizardForm\Setup - GIMP|w45 ' TWizardForm\Setup - GIMP
GCW\\1\TNewButton\&Finish|w45' &Finish
WII\1
SAW\
BCS\1||240

' No.:23 | Time: 16:06:34 | Ticks:  2268
VAR\$$PRO=23
SRV\0 ' This command will set the return code.
END\

: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.
END\

Und die Deinstallation:

Code: Select all

' +++ Uninstall_gimp-2.6.6-x64-setup.rem +++
' Zweck: 
' erstellt am: 04.01.2010
' von: Theo
'========================
'#SPI:ForceWrite
'#EXE:?path
'#INC:vbrun
'#SPI:NoAuto
'#FDC:Ask


'USM\3 ' Uncomment this command to use silent mode with redirected error messages to error files.
' 
' ***** Package Robots Version 8.5 *****
' ***** instaRec iEngine Ver.5.0 ******
' 
' No.:1 | Time: 16:07:50 | Ticks:  0
'USM\1 ' Uncomment this command to use silent mode (no error messages from Robot).
VAR\$$PRO=1
' Please choose the Line that suits best to your needs.
' EXU\GIMP 2.6.6 |u
EXS\"C:\Program$SP$Files\GIMP-2.0\setup\unins000.exe"

' No.:2 | Time: 16:07:52 | Ticks:  64
VAR\$$PRO=2
STW\#32770\GIMP Uninstall|w45 ' #32770\GIMP Uninstall
GCW\6\1\Button\&Yes|w45' &Yes
WII\3
SAW\
BCS\1||240

' No.:3 | Time: 16:07:55 | Ticks:  127
VAR\$$PRO=3
STW\#32770\GIMP Uninstall|w45 ' #32770\GIMP Uninstall
GCW\2\1\Button\OK|w45' OK
WII\2
SAW\
BCS\1||240

' No.:4 | Time: 16:07:56 | Ticks:  167
VAR\$$PRO=4
SRV\0 ' This command will set the return code.
END\

: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.
END\

Attachments
Uninstall_gimp-2.6.6-x64-setup.rem
MPR Scriptbeispiel: GIMP Deinstallation.
(1.23 KiB) Downloaded 192 times
Install_gimp-2.6.6-x64-setup.rem
MPR Scriptbeispiel: GIMP Installation.
(5.65 KiB) Downloaded 194 times

Post Reply

Return to “Package Robot”

Who is online

Users browsing this forum: No registered users and 4 guests