Subversion Repositories gelsvn

Rev

Rev 228 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 228 Rev 231
Line 6... Line 6...
6
; Script Function:
6
; Script Function:
7
;	Template AutoIt script.
7
;	Template AutoIt script.
8
;
8
;
9
; ----------------------------------------------------------------------------
9
; ----------------------------------------------------------------------------
10
 
10
 
11
; Script Start - Add your code below here
-
 
-
 
11
 
12
#include <GELfunc.au3>
12
#include <GELfunc.au3>
13
#include <GUIConstants.au3
13
#include <GUIConstants.au3
-
 
14
 
-
 
15
 
-
 
16
 
14
; == GUI generated with Koda ==);
17
; == GUI generated with Koda ==);
15
$GELinstall_src = GUICreate("GEL source Installer", 622, 442, 389, 119)
18
$GELinstall_src = GUICreate("GEL source Installer", 622, 442, 389, 119)
16
$Button1 = GUICtrlCreateButton("Modify env vars and install 3rd party libs", 32, 384, 320, 41, 0)
19
$Button1 = GUICtrlCreateButton("Do It!", 32, 384, 320, 41, 0)
17
$Group3 = GUICtrlCreateGroup("Install Path (where GEL is build and 3rd party libs are copied to)", 32, 32, 553, 89)
20
$Group3 = GUICtrlCreateGroup("Install Path (where GEL is build and 3rd party libs are copied to)", 32, 32, 553, 89)
18
$Input1 = GUICtrlCreateInput("c:\GEL", 48, 64, 489, 24)
21
$Input1 = GUICtrlCreateInput("c:\GEL", 48, 64, 489, 24)
19
$Button2 = GUICtrlCreateButton("...", 544, 64, 27, 25, 0)
22
$Button2 = GUICtrlCreateButton("...", 544, 64, 27, 25, 0)
20
GUICtrlCreateGroup("", -99, -99, 1, 1)
23
GUICtrlCreateGroup("", -99, -99, 1, 1)
21
$Combo1 = GUICtrlCreateCombo("", 208, 144, 145, 24)
24
;$Combo1 = GUICtrlCreateCombo("", 208, 144, 145, 24)
22
GUICtrlSetData(-1, "2003|2005", "2003")
25
;GUICtrlSetData(-1, "2003|2005", "2003")
23
GUICtrlCreateLabel("Visual Studio Version", 32, 144, 131, 20, $SS_CENTERIMAGE)
26
;GUICtrlCreateLabel("Visual Studio Version", 32, 144, 131, 20, $SS_CENTERIMAGE)
24
GUICtrlCreateLabel("Library Type", 32, 192, 80, 20, $SS_CENTERIMAGE)
27
;GUICtrlCreateLabel("Library Type", 32, 192, 80, 20, $SS_CENTERIMAGE)
25
GUICtrlCreateLabel("Environment variable scope", 32, 240, 171, 20, $SS_CENTERIMAGE)
28
GUICtrlCreateLabel("Environment variable scope", 32, 240, 171, 20, $SS_CENTERIMAGE)
26
$Combo2 = GUICtrlCreateCombo("", 208, 192, 145, 24)
29
;$Combo2 = GUICtrlCreateCombo("", 208, 192, 145, 24)
27
GUICtrlSetData(-1, "Separate Libraries|Single Library|CGLA Only", "Separate Libraries")
30
;GUICtrlSetData(-1, "Separate Libraries|Single Library|CGLA Only", "Separate Libraries")
28
$Combo3 = GUICtrlCreateCombo("", 208, 240, 145, 24)
31
$Combo3 = GUICtrlCreateCombo("", 208, 240, 145, 24)
29
GUICtrlSetData(-1, "Current User|System", "Current User")
32
GUICtrlSetData(-1, "Current User|System", "Current User")
30
$Button3 = GUICtrlCreateButton("Build Solution", 368, 384, 192, 41, 0)
33
$Button3 = GUICtrlCreateButton("Close", 368, 384, 192, 41, 0)
31
$Checkbox1 = GUICtrlCreateCheckbox("Install Perl", 32, 304, 145, 17)
34
;$Checkbox1 = GUICtrlCreateCheckbox("Install Perl", 32, 304, 145, 17)
32
GUISetState(@SW_SHOW)
35
GUISetState(@SW_SHOW)
33
While 1
36
While 1
34
	$msg = GuiGetMsg()
37
	$msg = GuiGetMsg()
35
	Select
38
	Select
36
	Case $msg = $GUI_EVENT_CLOSE
39
	Case $msg = $GUI_EVENT_CLOSE
37
		ExitLoop
40
		ExitLoop
38
	Case $msg = $Button1
41
	Case $msg = $Button1
39
             installLibs(GUICtrlRead($Input1), GUICtrlRead($Combo3))
42
             installLibs(GUICtrlRead($Input1), GUICtrlRead($Combo3))
-
 
43
             
40
	Case $msg = $Button2
44
	Case $msg = $Button2
41
             updatePath($Input1)
45
             updatePath($Input1)
42
        Case $msg = $Button3
46
        Case $msg = $Button3
43
             makeSolution(GUICtrlRead($Input1), GUICtrlRead($Combo1), GUICtrlRead($Combo2), GUICtrlRead($Combo3))
47
             ExitLoop
44
	
48
             
45
	EndSelect
49
	EndSelect
46
WEnd
50
WEnd
47
 
51
 
48
 
52
 
49
 
53