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