Line 16... |
Line 16... |
16 |
; == GUI generated with Koda ==);
|
16 |
; == GUI generated with Koda ==);
|
17 |
#include <GUIConstants.au3
|
17 |
#include <GUIConstants.au3
|
18 |
; == GUI generated with Koda ==);
|
18 |
; == GUI generated with Koda ==);
|
19 |
$GELinstall_src = GUICreate("GEL source Installer", 474, 281, 389, 119)
|
19 |
$GELinstall_src = GUICreate("GEL source Installer", 474, 281, 389, 119)
|
20 |
$DoitButton = GUICtrlCreateButton("Do It!", 16, 192, 192, 41, 0)
|
20 |
$DoitButton = GUICtrlCreateButton("Do It!", 16, 192, 192, 41, 0)
|
21 |
$Group3 = GUICtrlCreateGroup("Install Path (where GEL is build and 3rd party libs are copied to)", 16, 32, 432, 89)
|
21 |
$Group3 = GUICtrlCreateGroup("Install Path (where GEL and 3rd party libs are copied to)", 16, 32, 432, 89)
|
22 |
$pathInput = GUICtrlCreateInput("c:\GEL", 32, 64, 345, 24)
|
22 |
$pathInput = GUICtrlCreateInput("c:\GEL", 32, 64, 345, 24)
|
23 |
$browseButton = GUICtrlCreateButton("...", 400, 64, 27, 25, 0)
|
23 |
$browseButton = GUICtrlCreateButton("...", 400, 64, 27, 25, 0)
|
24 |
GUICtrlCreateGroup("", -99, -99, 1, 1)
|
24 |
GUICtrlCreateGroup("", -99, -99, 1, 1)
|
25 |
GUICtrlCreateLabel("Environment variable scope", 16, 144, 187, 20, $SS_CENTERIMAGE)
|
25 |
GUICtrlCreateLabel("Environment variable scope", 16, 144, 187, 20, $SS_CENTERIMAGE)
|
26 |
$scopeCombo = GUICtrlCreateCombo("", 240, 144, 208, 24)
|
26 |
$scopeCombo = GUICtrlCreateCombo("", 240, 144, 208, 24)
|
27 |
GUICtrlSetData(-1, "Current User|System", "Current User")
|
27 |
GUICtrlSetData(-1, "Current User|System", "Current User")
|
28 |
$cancelButton = GUICtrlCreateButton("Cancel", 240, 192, 208, 41, 0)
|
28 |
$cancelButton = GUICtrlCreateButton("Close", 240, 192, 208, 41, 0)
|
29 |
|
29 |
|
30 |
useExisting($pathInput , GUICtrlRead( $scopeCombo ))
|
30 |
useExisting($pathInput , GUICtrlRead( $scopeCombo ))
|
31 |
|
31 |
|
32 |
GUISetState(@SW_SHOW)
|
32 |
GUISetState(@SW_SHOW)
|
33 |
|
33 |
|
Line 36... |
Line 36... |
36 |
$msg = GuiGetMsg()
|
36 |
$msg = GuiGetMsg()
|
37 |
Select
|
37 |
Select
|
38 |
Case $msg = $GUI_EVENT_CLOSE
|
38 |
Case $msg = $GUI_EVENT_CLOSE
|
39 |
ExitLoop
|
39 |
ExitLoop
|
40 |
Case $msg = $DoitButton
|
40 |
Case $msg = $DoitButton
|
41 |
installLibs(GUICtrlRead( $pathInput ), GUICtrlRead( $scopeCombo ))
|
41 |
installAll(GUICtrlRead( $pathInput ), GUICtrlRead( $scopeCombo ))
|
42 |
|
42 |
|
43 |
Case $msg = $browseButton
|
43 |
Case $msg = $browseButton
|
44 |
updatePath( $pathInput )
|
44 |
updatePath( $pathInput )
|
45 |
Case $msg = $cancelButton
|
45 |
Case $msg = $cancelButton
|
46 |
ExitLoop
|
46 |
ExitLoop
|