-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_functions-Apps.bat
1882 lines (1818 loc) · 110 KB
/
_functions-Apps.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
call %*
GOTO END
REM ----------------------------------------------------------------------------
REM Versioning
REM ----------------------------------------------------------------------------
:EstablishThisScriptVersionDetails
SET this_script_version=1.4.43
SET this_script_release_date=2022-07-29
GOTO END
:EstablishVersions
SET version_apache_httpd=2.4.54
SET version_apache_httpd_older=2.4.43 2.4.46 2.4.47 2.4.48 2.4.49 2.4.50 2.4.51 2.4.52 2.4.53
SET version_apache_mod_evasive=2.2.0
SET version_apache_mod_evasive_older=2.1.0
SET version_apache_mod_fcgid=2.3.10
SET version_apache_mod_fcgid_older=2.3.9
SET version_apache_mod_log_rotate=1.0.2
SET version_apache_mod_log_rotate_older=1.0.0 1.0.1
SET version_apache_mod_security=2.9.5
SET version_apache_mod_security_older=2.9.1 2.9.2 2.9.3 2.9.4
SET version_apache_tomcat9x=9.0.65
SET version_apache_tomcat9x_older=9.0.38 9.0.39 9.0.40 9.0.41 9.0.43 9.0.44 9.0.45 9.0.46 9.0.48 9.0.50 9.0.52 9.0.53 9.0.54 9.0.55 9.0.56 9.0.58 9.0.59 9.0.60 9.0.62 9.0.63 9.0.64
SET version_apache_tomcat10x=10.0.22
SET version_apache_tomcat10x_older=10.0.0 10.0.2 10.0.4 10.0.5 10.0.6 10.0.7 10.0.8 10.0.9 10.0.10 10.0.11 10.0.12 10.0.13 10.0.14 10.0.16 10.0.17 10.0.18 10.0.20 10.0.21 10.0.22
SET version_cherry_tree=0.99.48.1
SET version_cherry_tree_older=0.99.37.0 0.99.38.0 0.99.39.0 0.99.40.0 0.99.41.0 0.99.42.0 0.99.42.1 0.99.43.0 0.99.44.0 0.99.45.0 0.99.46.0 0.99.47.0 0.99.48.0
SET version_double_commander=1.0.6
SET version_double_commander_older=1.0.9375 1.0.9483 1.0.9651 1.0.9773 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5
SET version_git=2.37.1
SET version_git_windows_compilation=.windows.1
SET version_git_enhanced=%version_git%
IF "%version_git_windows_compilation%"==".windows.2" (
SET version_git_enhanced=%version_git%.2
)
IF "%version_git_windows_compilation%"==".windows.3" (
SET version_git_enhanced=%version_git%.3
)
SET version_git_enhanced_older=2.23.0 2.26.1 2.26.2 2.27.0 2.28.0 2.29.0 2.29.1 2.29.2 2.29.2.2 2.29.2.3 2.30.0 2.30.0.2 2.30.1 2.31.0 2.31.1 2.32.0 2.32.0.2 2.33.0 2.33.0.2 2.33.1 2.34.0 2.34.1 2.35.0 2.35.1 2.36.0 2.36.1 2.37.0
SET version_jdk=18.0.2
SET version_jdk_subfolder=f6ad4b4450fd4d298113270ec84f30ee/9/
SET version_jdk_older=15.0.0 15.0.1 15.0.2 16 16.0.1 16.0.2 17 17.0.1 17.0.2 18 18.0.1 18.0.1.1
SET version_json_edit=0.9.37
SET version_json_edit_older=0.9.36
SET version_mysql_router=8.0.30
SET version_mysql_router_older=8.0.20 8.0.21 8.0.22 8.0.23 8.0.24 8.0.25 8.0.26 8.0.27 8.0.28 8.0.29
SET version_mysql_server_community=8.0.30
SET version_mysql_server_community_older=8.0.20 8.0.21 8.0.22 8.0.23 8.0.24 8.0.25 8.0.26 8.0.27 8.0.28 8.0.29
SET version_notepad_plus_plus=8.4.4
SET version_notepad_plus_plus_older=7.8.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.9 7.9.1 7.9.2 7.9.3 7.9.4 7.9.5 8.0 8.1 8.1.1 8.1.2 8.1.3 8.1.4 8.1.5 8.1.6 8.1.7 8.1.8 8.1.9 8.1.9.1 8.1.9.2 8.1.9.3 8.2 8.2.1 8.3 8.3.1 8.3.2 8.3.3 8.4 8.4.1 8.4.2 8.4.3
SET version_nodejs_current=18.6.0
SET version_nodejs_current_older=15.6.0 15.7.0 15.8.0 15.9.0 15.10.0 15.11.0 16.0.0 16.1.0 16.2.0 16.3.0 16.4.0 16.4.1 16.4.2 16.5.0 16.6.0 16.6.1 16.6.2 16.7.0 16.8.0 16.9.0 16.9.1 16.10.0 16.11.0 16.11.1 16.12.0 16.13.0 16.13.1 16.13.2 16.14.0 16.14.1 16.14.2 16.15.0 16.15.1 16.16.0 17.0.0 17.0.1 17.1.0 17.2.0 17.3.0 17.3.1 17.4.0 17.5.0 17.6.0 17.7.0 17.7.1 17.7.2 17.8.0 17.9.0 17.9.1 18.0.0 18.1.0 18.2.0 18.3.0 18.4.0 18.5.0
SET version_peazip=8.7.0
SET version_peazip_older=7.2.0 7.2.1 7.2.2 7.3.0 7.3.1 7.3.2 7.4.0 7.4.1 7.4.2 7.5.0 7.6.0 7.7.0 7.7.1 7.8.0 7.9.0 8.0.0 8.1.0 8.2.0 8.3.0 8.4.0 8.5.0 8.6.0
SET version_php74x=7.4.30
SET version_php74x_older=7.4.0 7.4.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.6 7.4.7 7.4.8 7.4.9 7.4.10 7.4.11 7.4.12 7.4.13 7.4.14 7.4.15 7.4.16 7.4.18 7.4.19 7.4.20 7.4.21 7.4.22 7.4.23 7.4.24 7.4.25 7.4.26 7.4.27 7.4.28 7.4.29
SET version_php80x=8.0.21
SET version_php80x_older=8.0.0 8.0.1 8.0.2 8.0.3 8.0.5 8.0.6 8.0.7 8.0.8 8.0.9 8.0.10 8.0.11 8.0.12 8.0.13 8.0.14 8.0.15 8.0.16 8.0.17 8.0.18 8.0.19 8.0.20
SET version_php81x=8.1.8
SET version_php81x_older=8.1.0 8.1.1 8.1.2 8.1.3 8.1.4 8.1.5 8.1.6 8.1.7
SET version_putty=0.76
SET version_putty_older=0.72 0.73 0.74 0.75
SET version_python36x_major_minor=3.6
SET version_python36x_major_minor_build=3.6.8
SET version_python36x_major_minor_build_older=3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7
SET version_python37x_major_minor=3.7
SET version_python37x_major_minor_build=3.7.9
SET version_python37x_major_minor_build_older=3.7.0 3.7.1 3.7.2 3.7.3 3.7.4 3.7.5 3.7.6 3.7.7 3.7.8
SET version_python38x_major_minor=3.8
SET version_python38x_major_minor_build=3.8.10
SET version_python38x_major_minor_build_older=3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.8.8 3.8.9
SET version_python39x_major_minor=3.9
SET version_python39x_major_minor_build=3.9.12
SET version_python39x_major_minor_build_older=3.9.0 3.9.1 3.9.2 3.9.4 3.9.5 3.9.6 3.9.7 3.9.8 3.9.9 3.9.10 3.9.11
SET version_python310x_major_minor=3.10
SET version_python310x_major_minor_build=3.10.5
SET version_python310x_major_minor_build_older=3.10.0 3.10.1 3.10.2 3.10.3 3.10.4
SET version_treesize=4.5.3
SET version_treesize_older=4.4.0 4.4.1 4.4.2 4.5.0 4.5.1 4.5.2
SET version_vlc=3.0.17.4
SET version_vlc_older=3.0.8 3.0.9 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16
SET version_winscp=5.21.1
SET version_winscp_older=5.17.5 5.17.6 5.17.7 5.17.8 5.17.9 5.17.10 5.19.1 5.19.2 5.19.3 5.19.4 5.19.5 5.19.6 5.21
SET custom_user_agent_version=102.0
SET custom_user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:%custom_user_agent_version%) Gecko/20100101 Firefox/%custom_user_agent_version%
GOTO END
:EstablishApplications
SET apache_httpd__application_main_binary=apache.exe
SET apache_httpd__application_name=Apache HTTPd for Windows
SET apache_mod_evasive__application_main_binary=mod_evasive.so
SET apache_mod_evasive__application_name=Mod Evasive for Apache
SET apache_mod_fcgid__application_main_binary=mod_fcgid.so
SET apache_mod_fcgid__application_name=Mod FCGId for Apache
SET apache_mod_log_rotate__application_main_binary=mod_log_rotate.so
SET apache_mod_log_rotate__application_name=Mod Log Rotate for Apache
SET apache_mod_security__application_main_binary=mod_security2.so
SET apache_mod_security__application_name=Mod Security for Apache
SET apache_tomcat9x__application_main_binary=bin\tomcat9.exe
SET apache_tomcat9x__application_name=Apache Tomcat 9.x for Windows
SET apache_tomcat10x__application_main_binary=bin\tomcat10.exe
SET apache_tomcat10x__application_name=Apache Tomcat 10.x for Windows
SET cherry_tree__application_main_binary=mingw64\bin\cherrytree.exe
SET cherry_tree__application_name=CherryTree
SET double_commander__application_main_binary=doublecmd.exe
SET double_commander__application_name=Double Commander for Windows
SET git__application_main_binary=git-cmd.exe
SET git__application_name=Git for Windows
SET jdk__application_main_binary=bin\java.exe
SET jdk__application_name=Java Development Kit for Windows
SET json_edit__application_main_binary=JSONedit.exe
SET json_edit__application_name=JSON Editor
SET mysql_server_community__application_main_binary=bin\mysql.exe
SET mysql_server_community__application_name=MySQL Server Community
SET mysql_router__application_main_binary=mysql-router.exe
SET mysql_router__application_name=MySQL Router
SET nodejs__application_main_binary=node.exe
SET nodejs_current__application_name=NodeJS for Windows Current
SET notepad_plus_plus__application_main_binary=notepad++.exe
SET notepad_plus_plus__application_name=Notepad++ for Windows
SET peazip__application_main_binary=pea.exe
SET peazip__application_name=PeaZip for Windows
SET php__application_main_binary=php.exe
SET php__application_name=PHP for Windows
SET putty__application_main_binary=putty.exe
SET putty__application_name=PuTTY for Windows
SET treesize__application_main_binary=treesize.exe
SET treesize__application_name=TreeSizeFree for Windows
SET vlc__application_main_binary=vlc.exe
SET vlc__application_name=VLC for Windows
SET winscp__application_main_binary=winscp.exe
SET winscp__application_name=WinSCP for Windows
GOTO END
:EstablishDownloadingSourceAddress
SET url_apache_httpd_archive=httpd-%version_apache_httpd%-win64-VS16.zip
SET url_apache_httpd_archive_includes_folder=Yes
SET url_apache_httpd_archive_included_folder_name=Apache24
SET url_apache_httpd=https://www.apachelounge.com/download/VS16/binaries/%url_apache_httpd_archive%
SET url_apache_mod_evasive_archive=mod_evasive-%version_apache_mod_evasive%-win64-VS16.zip
SET url_apache_mod_evasive_archive_includes_folder=No
SET url_apache_mod_evasive=https://www.apachelounge.com/download/VS16/modules/%url_apache_mod_evasive_archive%
SET url_apache_mod_fcgid_archive=mod_fcgid-%version_apache_mod_fcgid%-win64-VS16.zip
SET url_apache_mod_fcgid_archive_includes_folder=No
SET url_apache_mod_fcgid=https://www.apachelounge.com/download/VS16/modules/%url_apache_mod_fcgid_archive%
SET url_apache_mod_log_rotate_archive=mod_log_rotate-%version_apache_mod_log_rotate%-win64-VS16.zip
SET url_apache_mod_log_rotate_archive_includes_folder=No
SET url_apache_mod_log_rotate=https://www.apachelounge.com/download/VS16/modules/%url_apache_mod_log_rotate_archive%
SET url_apache_mod_security_archive=mod_security-%version_apache_mod_security%-win64-VS16.zip
SET url_apache_mod_security_archive_includes_folder=No
SET url_apache_mod_security=https://www.apachelounge.com/download/VS16/modules/%url_apache_mod_security_archive%
SET url_apache_tomcat9x_archive=apache-tomcat-%version_apache_tomcat9x%-windows-x64.zip
SET url_apache_tomcat9x_archive_includes_folder=Yes
SET url_apache_tomcat9x_archive_included_folder_name=apache-tomcat-%version_apache_tomcat9x%
SET url_apache_tomcat9x=https://mirrors.hostingromania.ro/apache.org/tomcat/tomcat-9/v%version_apache_tomcat9x%/bin/%url_apache_tomcat9x_archive%
SET url_apache_tomcat10x_archive=apache-tomcat-%version_apache_tomcat10x%-windows-x64.zip
SET url_apache_tomcat10x_archive_includes_folder=Yes
SET url_apache_tomcat10x_archive_included_folder_name=apache-tomcat-%version_apache_tomcat10x%
SET url_apache_tomcat10x=https://mirrors.hostingromania.ro/apache.org/tomcat/tomcat-10/v%version_apache_tomcat10x%/bin/%url_apache_tomcat10x_archive%
SET url_cherry_tree_archive=cherrytree_%version_cherry_tree%_win64_portable.7z
SET url_cherry_tree_archive_includes_folder=Yes
SET url_cherry_tree_archive_included_folder_name=cherrytree_%version_cherry_tree%_win64_portable
SET url_cherry_tree=https://www.giuspen.com/software/%url_cherry_tree_archive%
SET url_double_commander_archive=doublecmd-%version_double_commander%.x86_64-win64.zip
SET url_double_commander_archive_includes_folder=Yes
SET url_double_commander_archive_included_folder_name=doublecmd
SET url_double_commander=https://github.com/doublecmd/doublecmd/releases/download/v%version_double_commander%/%url_double_commander_archive%
SET url_git_archive=PortableGit-%version_git_enhanced%-64-bit.7z.exe
SET url_git_archive_includes_folder=Yes
SET url_git_archive_included_folder_name=PortableGit
SET url_git=https://github.com/git-for-windows/git/releases/download/v%version_git%%version_git_windows_compilation%/%url_git_archive%
SET url_jdk_archive=openjdk-%version_jdk%_windows-x64_bin.zip
SET url_jdk_archive_includes_folder=Yes
SET url_jdk_archive_included_folder_name=jdk-%version_jdk%
SET url_jdk=https://download.java.net/java/GA/jdk%version_jdk%/%version_jdk_subfolder%/GPL/%url_jdk_archive%
SET url_json_edit_archive=JSONedit_%version_json_edit:.=_%.zip
SET url_json_edit_archive_includes_folder=No
SET url_json_edit=https://tomeko.net/software/JSONedit/bin/%url_json_edit_archive%
SET url_mysql_router_archive=mysql-router-%version_mysql_router%-winx64.zip
SET url_mysql_router_archive_includes_folder=Yes
SET url_mysql_router_archive_included_folder_name=mysql-router-%version_mysql_router%-winx64
SET url_mysql_router=https://dev.mysql.com/get/Downloads/MySQL-Router/%url_mysql_router_archive%
SET url_mysql_server_community_archive=mysql-%version_mysql_server_community%-winx64.zip
SET url_mysql_server_community_archive_includes_folder=Yes
SET url_mysql_server_community_archive_included_folder_name=mysql-%version_mysql_server_community%-winx64
SET url_mysql_server_community=https://dev.mysql.com/get/Downloads/MySQL-8.0/%url_mysql_server_community_archive%
SET url_nodejs_current_archive=node-v%version_nodejs_current%-win-x64.zip
SET url_nodejs_current_archive_includes_folder=Yes
SET url_nodejs_current_archive_included_folder_name=node-v%version_nodejs_current%-win-x64
SET url_nodejs_current=https://nodejs.org/dist/v%version_nodejs_current%/%url_nodejs_current_archive%
SET url_notepad_plus_plus_archive=npp.%version_notepad_plus_plus%.portable.x64.zip
SET url_notepad_plus_plus_archive_includes_folder=No
SET url_notepad_plus_plus=https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v%version_notepad_plus_plus:.0=%/%url_notepad_plus_plus_archive%
SET url_peazip_archive=peazip_portable-%version_peazip%.WIN64.zip
SET url_peazip_archive_includes_folder=Yes
SET url_peazip_archive_included_folder_name=peazip_portable-%version_peazip%.WIN64
SET url_peazip=https://github.com/giorgiotani/PeaZip/releases/download/%version_peazip%/%url_peazip_archive%
SET url_php_archive_74x=php-%version_php74x%-nts-Win32-vc15-x64.zip
SET url_php_archive_74x_includes_folder=No
SET url_php74x=https://windows.php.net/downloads/releases/%url_php_archive_74x%
SET url_php_archive_80x=php-%version_php80x%-nts-Win32-vs16-x64.zip
SET url_php_archive_80x_includes_folder=No
SET url_php80x=https://windows.php.net/downloads/releases/%url_php_archive_80x%
SET url_php_archive_81x=php-%version_php81x%-nts-Win32-vs16-x64.zip
SET url_php_archive_81x_includes_folder=No
SET url_php81x=https://windows.php.net/downloads/releases/%url_php_archive_81x%
SET url_putty_archive=putty.zip
SET url_putty_archive_includes_folder=No
SET url_putty=https://the.earth.li/~sgtatham/putty/latest/w64/%url_putty_archive%
SET url_python_pip=https://bootstrap.pypa.io/get-pip.py
SET url_python36x_archive=python-%version_python36x_major_minor_build%-embed-amd64.zip
SET url_python36x_archive_includes_folder=No
SET url_python36x=https://www.python.org/ftp/python/%version_python36x_major_minor_build%/%url_python36x_archive%
SET url_python36x_virtualenv=https://bootstrap.pypa.io/virtualenv/%version_python36x_major_minor%/virtualenv.pyz
SET url_python37x_archive=python-%version_python37x_major_minor_build%-embed-amd64.zip
SET url_python37x_archive_includes_folder=No
SET url_python37x=https://www.python.org/ftp/python/%version_python37x_major_minor_build%/%url_python37x_archive%
SET url_python37x_virtualenv=https://bootstrap.pypa.io/virtualenv/%version_python37x_major_minor%/virtualenv.pyz
SET url_python38x_archive=python-%version_python38x_major_minor_build%-embed-amd64.zip
SET url_python38x_archive_includes_folder=No
SET url_python38x=https://www.python.org/ftp/python/%version_python38x_major_minor_build%/%url_python38x_archive%
SET url_python38x_virtualenv=https://bootstrap.pypa.io/virtualenv/%version_python38x_major_minor%/virtualenv.pyz
SET url_python39x_archive=python-%version_python39x_major_minor_build%-embed-amd64.zip
SET url_python39x_archive_includes_folder=No
SET url_python39x=https://www.python.org/ftp/python/%version_python39x_major_minor_build%/%url_python39x_archive%
SET url_python39x_virtualenv=https://bootstrap.pypa.io/virtualenv/virtualenv.pyz
SET url_treesize_archive=TreeSizeFree-Portable.zip
SET url_treesize_archive_includes_folder=No
SET url_treesize=https://downloads.jam-software.de/treesize_free/%url_treesize_archive%
SET url_vlc_archive=vlc-%version_vlc%-win64.zip
SET url_vlc_archive_includes_folder=Yes
SET url_vlc_archive_included_folder_name=vlc-%version_vlc%
SET url_vlc=https://download.videolan.org/pub/videolan/vlc/%version_vlc%/win64/%url_vlc_archive%
SET url_winscp_archive=WinSCP-%version_winscp%-Portable.zip
SET url_winscp_archive_includes_folder=No
SET url_winscp=https://pilotfiber.dl.sourceforge.net/project/winscp/WinSCP/%version_winscp%/%url_winscp_archive%
GOTO END
:EstablishInstallingFolders
SET path_downloads=C:\www\Downloads\
SET path_web_applications=C:\www\App\
SET path_web_applications_configuration=C:\www\Config\
SET path_web_applications_logs=C:\www\other\logs\
SET path_web_applications_temporary=C:\www\other\temp\
SET path_developer_applications=C:\www\AppForDeveloper\
SET path_developer_applications__root__apache_httpd=%path_web_applications%Apache_HTTPd
SET path_developer_applications_apache_httpd=%path_developer_applications__root__apache_httpd%\%version_apache_httpd%-64bit
SET path_developer_applications__root__apache_mod_evasive=%path_web_applications%Apache_Module_Evasive
SET path_developer_applications_apache_mod_evasive=%path_developer_applications__root__apache_mod_evasive%\%version_apache_mod_evasive%-64bit
SET path_developer_applications__root__apache_mod_fcgid=%path_web_applications%Apache_Module_FCGId
SET path_developer_applications_apache_mod_fcgid=%path_developer_applications__root__apache_mod_fcgid%\%version_apache_mod_fcgid%-64bit
SET path_developer_applications__root__apache_mod_log_rotate=%path_web_applications%Apache_Module_Log_Rotate
SET path_developer_applications_apache_mod_log_rotate=%path_developer_applications__root__apache_mod_log_rotate%\%version_apache_mod_log_rotate%-64bit
SET path_developer_applications__root__apache_mod_security=%path_web_applications%Apache_Module_Security
SET path_developer_applications_apache_mod_security=%path_developer_applications__root__apache_mod_security%\%version_apache_mod_security%-64bit
SET path_developer_applications__root__apache_tomcat9x=%path_web_applications%Apache_Tomcat
SET path_developer_applications_apache_tomcat9x=%path_developer_applications__root__apache_tomcat9x%\%version_apache_tomcat9x%-64bit
SET path_developer_applications__root__apache_tomcat10x=%path_web_applications%Apache_Tomcat
SET path_developer_applications_apache_tomcat10x=%path_developer_applications__root__apache_tomcat10x%\%version_apache_tomcat10x%-64bit
SET path_developer_applications__root__cherry_tree=%path_developer_applications%CherryTree
SET path_developer_applications_cherry_tree=%path_developer_applications__root__cherry_tree%\%version_cherry_tree%-64bit
SET path_developer_applications__root__double_commander=%path_developer_applications%DoubleCommander
SET path_developer_applications_double_commander=%path_developer_applications__root__double_commander%\%version_double_commander%-64bit
SET path_developer_applications__root__git=%path_developer_applications%Git
SET path_developer_applications_git=%path_developer_applications__root__git%\%version_git_enhanced%-64bit
SET path_developer_applications__root__jdk=%path_web_applications%Java_Development_Kit
SET path_developer_applications_jdk=%path_developer_applications__root__jdk%\%version_jdk%-64bit
SET path_developer_applications__root__json_edit=%path_developer_applications%JSONedit
SET path_developer_applications_json_edit=%path_developer_applications__root__json_edit%\%version_json_edit%-32bit
SET path_developer_applications__rootS__mysql=MySQL
SET path_developer_applications__root__mysql=%path_web_applications%%path_developer_applications__rootS__mysql%
SET path_developer_applications_mysql_router=%path_developer_applications__root__mysql%\Router-%version_mysql_server_community%-64bit
SET path_developer_applications_mysql_server_community=%path_developer_applications__root__mysql%\Server-%version_mysql_server_community%-64bit
SET path_developer_applications__root__nodejs=%path_developer_applications%NodeJS
SET path_developer_applications_nodejs_current=%path_developer_applications__root__nodejs%\%version_nodejs_current%-64bit
SET path_developer_applications__root__notepad_plus_plus=%path_developer_applications%Notepad++
SET path_developer_applications_notepad_plus_plus=%path_developer_applications__root__notepad_plus_plus%\%version_notepad_plus_plus%-64bit
SET path_developer_applications__root__peazip=%path_developer_applications%PeaZip
SET path_developer_applications_peazip=%path_developer_applications__root__peazip%\%version_peazip%-64bit
SET path_developer_applications__rootS__php=PHP
SET path_developer_applications__root__php=%path_web_applications%%path_developer_applications__rootS__php%
SET path_developer_applications_php74x=%path_developer_applications__root__php%\%version_php74x%-64bit
SET path_developer_applications_php80x=%path_developer_applications__root__php%\%version_php80x%-64bit
SET path_developer_applications_php81x=%path_developer_applications__root__php%\%version_php81x%-64bit
SET path_developer_applications__root__putty=%path_developer_applications%PuTTY
SET path_developer_applications_putty=%path_developer_applications__root__putty%\%version_putty%-64bit
SET path_developer_applications__root__python=%path_developer_applications%Python
SET path_developer_applications_python37x=%path_developer_applications__root__python%\%version_python37x_major_minor_build%-64bit
SET path_developer_applications_python37x_modules=%path_developer_applications__root__python%\%version_python37x_major_minor_build%-modules
SET path_developer_applications_python38x=%path_developer_applications__root__python%\%version_python38x_major_minor_build%-64bit
SET path_developer_applications_python38x_modules=%path_developer_applications__root__python%\%version_python38x_major_minor_build%-modules
SET path_developer_applications_python39x=%path_developer_applications__root__python%\%version_python39x_major_minor_build%-64bit
SET path_developer_applications_python39x_modules=%path_developer_applications__root__python%\%version_python39x_major_minor_build%-modules
SET path_developer_applications__root__treesize=%path_developer_applications%TreeSize
SET path_developer_applications_treesize=%path_developer_applications__root__treesize%\%version_treesize%-32bit
SET path_developer_applications__root__vlc=%path_developer_applications%VLC
SET path_developer_applications_vlc=%path_developer_applications__root__vlc%\%version_vlc%-64bit
SET path_developer_applications__root__winscp=%path_developer_applications%WinSCP
SET path_developer_applications_winscp=%path_developer_applications__root__winscp%\%version_winscp%-64bit
GOTO END
REM ----------------------------------------------------------------------------
REM Common functionalities
REM ----------------------------------------------------------------------------
:ConsideredInstallChoice_Invalid
SET variable_invalid_install_choice_typed=YES
GOTO Menu__InstallationsToDo
:ConsideredPythonVirtualEnvironment_Invalid
SET variable_invalid_virtual_environment_choice_typed=YES
GOTO Menu__PythonVirtualEnvironmentInitiationOrUpdate
:CreateDownloadsFolder
IF NOT EXIST "%path_downloads%" (
ECHO As the %path_downloads% does not exists, will be created
MD "%path_downloads%"
)
GOTO END
:DecisionToQuitTakeFinalMessage
ECHO ...
ECHO Sorry to see you leave you so soon, thanks and good-bye!
GOTO END
:InitiateGlobalVariablesForInstallation
CALL :EstablishThisScriptVersionDetails
CALL :EstablishApplications
CALL :EstablishVersions
CALL :EstablishDownloadingSourceAddress
CALL :EstablishInstallingFolders
GOTO END
:RemoveDownloadsFolderWithAnyContent
IF EXIST %path_downloads% (
REM RMDIR /Q /S %path_downloads%
)
SET CHOICE_INSTALL=0
GOTO END
:RemoveFolderWithOlderVersions
IF EXIST %generic_application_folder%\%exact_version_folder% (
ECHO Removing %generic_application_folder%\%exact_version_folder%
RMDIR /Q /S %generic_application_folder%\%exact_version_folder%
)
IF EXIST %path_downloads%\%url_application_archive% (
ECHO Removing %path_downloads%\%url_application_archive%
DEL %path_downloads%\%url_application_archive%
)
GOTO END
:InitiateOrUpdateFrameworkInfrastructure__GenericWithSpecificVariablesDefined
CALL :CreateDownloadsFolder
ECHO Checking for %path_developer_application_specific%\%application_main_binary% existance
:: Check if main binary of application is already in place
IF EXIST %path_developer_application_specific%\%application_main_binary% (
ECHO %path_developer_application_specific%\%application_main_binary% is already in place there is nothing more I can do here
) ELSE (
ECHO Checking if kit %path_downloads%%url_application_archive% is not already downloaded
:: Donwload the archive but only if is not already in place
IF NOT EXIST %path_downloads%%url_application_archive% (
ECHO Will download portable version of %application_name%, version %version_application%, using PowerShell, as this action implies a active download this may take a while, more or less depending on your bandwith and Internet workload at this time, set back and be patient
powershell.exe -command "$cli = New-Object System.Net.WebClient;$cli.Headers['User-Agent'] = '%custom_user_agent%';$cli.DownloadFile('%url_application_full%','%path_downloads%%url_application_archive%')"
)
ECHO Checking if kit %path_downloads%%url_application_archive% is downloaded
IF EXIST "%path_downloads%%url_application_archive%" (
SET url_application_archive_format=undecided
SET url_application_archive_extension_detected=%url_application_archive%
ECHO Extension of the archive %url_application_archive% is %url_application_archive:~-4% so will be treated accordingly
IF NOT EXIST "%path_developer_application_specific%" (
ECHO As destination folder %path_developer_application_specific% does not exists, it will be created now
MD %path_developer_application_specific%
)
IF /I "%url_application_archive:~-7%"==".7z.exe" (
IF EXIST %path_downloads%%url_application_archive% (
IF NOT EXIST %path_downloads%%url_application_archive_included_folder_name% (
ECHO Will extract downloaded kit %url_application_archive% to a intermediary destination folder, using PowerShell
%path_downloads%%url_application_archive% -y
)
)
)
IF /I "%url_application_archive:~-3%"==".7z" (
CALL :InitiateOrUpdateFrameworkInfrastructure__PeaZipImpartial
IF "%url_application_archive_includes_folder%"=="No" (
ECHO Will extract downloaded kit %path_downloads%%url_application_archive% to a folder from where it will reside for user to enjoy, using PeaZip utility: %path_developer_applications_peazip%\res\bin\7z\7z.exe x %path_downloads%%url_application_archive% -o%path_downloads%
%path_developer_applications_peazip%\res\bin\7z\7z.exe x %path_downloads%%url_application_archive% -o%path_developer_application_specific%
) ELSE (
IF EXIST "%path_downloads%%url_application_archive%" (
ECHO Will extract downloaded kit %path_downloads%%url_application_archive% to an intermediary destination folder %url_application_archive_included_folder_name%, using PeaZip utility: %path_developer_applications_peazip%\res\bin\7z\7z.exe x %path_downloads%%url_application_archive% -o %path_downloads%
%path_developer_applications_peazip%\res\bin\7z\7z.exe x %path_downloads%%url_application_archive% -o%path_downloads%
)
)
)
IF /I "%url_application_archive:~-4%"==".zip" (
IF "%url_application_archive_includes_folder%"=="No" (
ECHO Will extract downloaded kit %path_downloads%%url_application_archive% to a folder from where it will reside for user to enjoy, using PowerShell
powershell.exe Expand-Archive -Path %path_downloads%%url_application_archive% -DestinationPath %path_developer_application_specific%
) ELSE (
IF EXIST "%path_downloads%%url_application_archive%" (
ECHO Will extract downloaded kit %url_application_archive% to a intermediary destination folder, using PowerShell
powershell.exe Expand-Archive -Path %path_downloads%%url_application_archive% -DestinationPath %path_downloads%
)
)
)
IF "%url_application_archive_includes_folder%"=="Yes" (
IF NOT EXIST %path_developer_application_specific%\%application_main_binary% (
ECHO Will move files from intermediary folder destination folder %path_downloads%%url_application_archive_included_folder_name% to final destination %path_developer_application_specific%
XCOPY %path_downloads%%url_application_archive_included_folder_name% %path_developer_application_specific% /Q /C /E /J /R /H /Y
ECHO Will delete all files from intermediary destination folder, %url_application_archive_included_folder_name%
RMDIR /Q /S %path_downloads%%url_application_archive_included_folder_name%
)
)
)
)
GOTO END
REM ----------------------------------------------------------------------------
REM End of Project Specific variable initialize
REM Start of Main Part
REM ----------------------------------------------------------------------------
:SetPythonGlobalVariables
:: IF NOT DEFINED PY_PIP (
ECHO Setting global variables for Python %version_python_major_minor_build% ...
SET PYTHONHOME=%path_developer_applications_python%
SET PYTHONPATH=%path_developer_applications_python%
SET PY_PIP=%path_developer_applications_python%\Scripts
SET PY_LIBS=%path_developer_applications_python%\Lib;%path_developer_applications_python%\Lib\site-packages
SET PATH="%path_developer_applications_python%;%PY_PIP%;%PY_LIBS%;%PATH%"
:: )
GOTO END
:CreateWebApplicationsOperationalFolders
IF NOT EXIST %path_web_applications_configuration% (
ECHO Creating configuration folder
MD %path_web_applications_configuration%
)
IF NOT EXIST %path_web_applications_logs% (
ECHO Creating logs folder
MD %path_web_applications_logs%
)
GOTO END
:AdditionalTask_InitiatePythonVirtualEnvironment
REM https://virtualenv.pypa.io/en/latest/installation.html#via-zipapp
IF NOT EXIST "%path_developer_applications_python_modules%\virtualenv.pyz" (
IF NOT EXIST %path_developer_applications_python_modules% (
ECHO Will crate a new folder named %path_developer_applications_python_modules%
MD %path_developer_applications_python_modules%
IF EXIST "%path_developer_applications_python_modules%" (
ECHO %path_developer_applications_python_modules% folder has been created
)
)
ECHO Will download Python Virtual Environment module, using PowerShell
powershell.exe "$cli=New-Object System.Net.WebClient;$cli.Headers['User-Agent']='%custom_user_agent%';$cli.DownloadFile('%url_python_virtualenv%','%path_developer_applications_python_modules%\virtualenv.pyz');"
)
CALL :SetPythonGlobalVariables
IF EXIST "%path_developer_applications_python%\python.exe" (
IF EXIST "%path_developer_applications_python_modules%\virtualenv.pyz" (
IF NOT EXIST "%CHOICE_PYTHON_PROJECT%\%applied_virtual_environment_folder%\Scripts\python.exe" (
CD %CHOICE_PYTHON_PROJECT%
ECHO Creating Python Virtual Environment to %CHOICE_PYTHON_PROJECT%\%applied_virtual_environment_folder%
ECHO -----------------
REM %path_developer_applications_python%\python.exe %path_developer_applications_python_modules%\virtualenv.pyz --help
%path_developer_applications_python%\python.exe %path_developer_applications_python_modules%\virtualenv.pyz --verbose --always-copy --python=%path_developer_applications_python%\python.exe --creator builtin --with-traceback --clear --extra-search-dir=%path_developer_applications_python% --extra-search-dir=%path_developer_applications_python%\DLLs --extra-search-dir=%path_developer_applications_python%\Scripts --extra-search-dir=%path_developer_applications_python%\Lib --extra-search-dir=%path_developer_applications_python%\Lib\site-packages %CHOICE_PYTHON_PROJECT%\%applied_virtual_environment_folder%\
REM %path_developer_applications_python%\python.exe %path_developer_applications_python_modules%\virtualenv.pyz --python=%path_developer_applications_python%\python.exe --extra-search-dir=%path_developer_applications_python%\DLLs %applied_virtual_environment_folder%
ECHO -----------------
REM %path_developer_applications_python%\python.exe %path_developer_applications_python_modules%\virtualenv.pyz --help
)
)
)
REM %path_developer_applications_python%\python.exe -m virtualenv %applied_virtual_environment_folder%
GOTO END
:DetectVersions__Generic
REM ECHO Searching for %generic_application_folder%\%exact_version_folder%
IF EXIST "%generic_application_folder%\%exact_version_folder%" (
REM ECHO Version targeted is %exact_version%
IF /I "%application_action_to_do%"=="ApacheHTTPd" (
SET detected_version_apache_httpd=%exact_version%
IF "%version_apache_httpd%" NEQ "%exact_version%" (
SET detected_version_apache_httpd_newer=***
)
)
IF /I "%application_action_to_do%"=="ApacheModEvasive" (
SET detected_version_apache_mod_evasive=%exact_version%
IF "%version_apache_mod_evasive%" NEQ "%exact_version%" (
SET detected_version_apache_mod_evasive_newer=***
)
)
IF /I "%application_action_to_do%"=="ApacheModFCGId" (
SET detected_version_apache_mod_fcgid=%exact_version%
IF "%version_apache_mod_fcgid%" NEQ "%exact_version%" (
SET detected_version_apache_mod_fcgid_newer=***
)
)
IF /I "%application_action_to_do%"=="ApacheModLogRotate" (
SET detected_version_apache_mod_log_rotate=%exact_version%
IF "%version_apache_mod_log_rotate%" NEQ "%exact_version%" (
SET detected_version_apache_mod_log_rotate_newer=***
)
)
IF /I "%application_action_to_do%"=="ApacheModSecurity" (
SET detected_version_apache_mod_security=%exact_version%
IF "%version_apache_mod_security%" NEQ "%exact_version%" (
SET detected_version_apache_mod_security_newer=***
)
)
IF /I "%application_action_to_do%"=="ApacheTomcat9x" (
SET detected_version_apache_tomcat9x=%exact_version%
IF "%version_apache_tomcat9x%" NEQ "%exact_version%" (
SET detected_version_apache_tomcat9x_newer=***
)
)
IF /I "%application_action_to_do%"=="ApacheTomcat10x" (
SET detected_version_apache_tomcat10x=%exact_version%
IF "%version_apache_tomcat10x%" NEQ "%exact_version%" (
SET detected_version_apache_tomcat10x_newer=***
)
)
IF /I "%application_action_to_do%"=="CherryTree" (
SET detected_version_cherry_tree=%exact_version%
IF "%version_cherry_tree%" NEQ "%exact_version%" (
SET detected_version_cherry_tree_newer=***
)
)
IF /I "%application_action_to_do%"=="DoubleCommander" (
SET detected_version_double_commander=%exact_version%
IF "%version_double_commander%" NEQ "%exact_version%" (
SET detected_version_double_commander_newer=***
)
)
IF /I "%application_action_to_do%"=="Git" (
SET detected_version_git=%exact_version%
IF "%version_git_enhanced%" NEQ "%exact_version%" (
SET detected_version_git_newer=***
)
)
IF /I "%application_action_to_do%"=="JDK" (
SET detected_version_jdk=%exact_version%
IF "%version_jdk%" NEQ "%exact_version%" (
SET detected_version_jdk_newer=***
)
)
IF /I "%application_action_to_do%"=="JsonEdit" (
SET detected_version_json_edit=%exact_version:_=.%
IF "%version_json_edit%" NEQ "%exact_version:_=.%" (
SET detected_version_json_edit_newer=***
)
)
IF /I "%application_action_to_do%"=="NodeJS_Current" (
SET detected_version_nodejs_current=%exact_version%
IF "%version_nodejs_current%" NEQ "%exact_version%" (
SET detected_version_nodejs_current_newer=***
)
)
IF /I "%application_action_to_do%"=="NotepadPlusPlus" (
SET detected_version_notepad_plus_plus=%exact_version%
IF "%version_notepad_plus_plus%" NEQ "%exact_version%" (
SET detected_version_notepad_plus_plus_newer=***
)
)
IF /I "%application_action_to_do%"=="MySqlRouter" (
SET detected_version_mysql_router=%exact_version%
IF "%version_mysql_router%" NEQ "%exact_version%" (
SET detected_version_mysql_router_newer=***
)
)
IF /I "%application_action_to_do%"=="MySqlServerCommunity" (
SET detected_version_mysql_server_community=%exact_version%
IF "%version_mysql_server_community%" NEQ "%exact_version%" (
SET detected_version_mysql_server_community_newer=***
)
)
IF /I "%application_action_to_do%"=="PHP74x" (
SET detected_version_php74x=%exact_version%
IF "%version_php74x%" NEQ "%exact_version%" (
SET detected_version_php74x_newer=***
)
)
IF /I "%application_action_to_do%"=="PHP80x" (
SET detected_version_php80x=%exact_version%
IF "%version_php80x%" NEQ "%exact_version%" (
SET detected_version_php80x_newer=***
)
)
IF /I "%application_action_to_do%"=="PHP81x" (
SET detected_version_php81x=%exact_version%
IF "%version_php81x%" NEQ "%exact_version%" (
SET detected_version_php81x_newer=***
)
)
IF /I "%application_action_to_do%"=="PeaZip" (
SET detected_version_peazip=%exact_version%
IF "%version_peazip%" NEQ "%exact_version%" (
SET detected_version_peazip_newer=***
)
)
IF /I "%application_action_to_do%"=="Putty" (
SET detected_version_putty=%exact_version%
IF "%version_putty%" NEQ "%exact_version%" (
SET detected_version_putty_newer=***
)
)
IF /I "%application_action_to_do%"=="Python36x" (
SET detected_version_python36x=%exact_version%
IF "%version_python36x_major_minor_build%" NEQ "%exact_version%" (
SET detected_version_python36x_newer=***
)
)
IF /I "%application_action_to_do%"=="Python37x" (
SET detected_version_python37x=%exact_version%
IF "%version_python37x_major_minor_build%" NEQ "%exact_version%" (
SET detected_version_python37x_newer=***
)
)
IF /I "%application_action_to_do%"=="Python38x" (
SET detected_version_python38x=%exact_version%
IF "%version_python38x_major_minor_build%" NEQ "%exact_version%" (
SET detected_version_python38x_newer=***
)
)
IF /I "%application_action_to_do%"=="Python39x" (
SET detected_version_python39x=%exact_version%
IF "%version_python39x_major_minor_build%" NEQ "%exact_version%" (
SET detected_version_python39x_newer=***
)
)
IF /I "%application_action_to_do%"=="TreeSize" (
SET detected_version_treesize=%exact_version%
IF "%version_treesize%" NEQ "%exact_version%" (
SET detected_version_treesize_newer=***
)
)
IF /I "%application_action_to_do%"=="VLC" (
SET detected_version_vlc=%exact_version%
IF "%version_vlc%" NEQ "%exact_version%" (
SET detected_version_vlc_newer=***
)
)
IF /I "%application_action_to_do%"=="WinSCP" (
SET detected_version_winscp=%exact_version%
IF "%version_winscp%" NEQ "%exact_version%" (
SET detected_version_winscp_newer=***
)
)
)
GOTO END
:MultipleActionsToDo_AllSequences
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
IF /I "%action_to_do%"=="remove_old_versions" (
CALL :RemoveFolderWithOlderVersions
)
GOTO END
:MultipleActionsToDo
IF /I "%application_action_to_do%"=="ApacheHTTPd" (
SET detected_version_apache_httpd_newer=_
SET exact_version=%version_apache_httpd%
SET exact_version_folder=%version_apache_httpd%-64bit
SET generic_application_folder=%path_developer_applications__root__apache_httpd%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_apache_httpd_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=httpd-%%i-win64-VS16.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="ApacheModEvasive" (
SET detected_version_apache_mod_evasive_newer=_
SET exact_version=%version_apache_mod_evasive%
SET exact_version_folder=%version_apache_mod_evasive%-64bit
SET generic_application_folder=%path_developer_applications__root__apache_mod_evasive%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_apache_mod_evasive_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=mod_evasive-%%i-win64-VS16.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="ApacheModFCGId" (
SET detected_version_apache_mod_fcgid_newer=_
SET exact_version=%version_apache_mod_fcgid%
SET exact_version_folder=%version_apache_mod_fcgid%-64bit
SET generic_application_folder=%path_developer_applications__root__apache_mod_fcgid%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_apache_mod_fcgid_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=mod_fcgid-%%i-win64-VS16.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="ApacheModLogRotate" (
SET detected_version_apache_mod_log_rotate_newer=_
SET exact_version=%version_apache_mod_log_rotate%
SET exact_version_folder=%version_apache_mod_log_rotate%-64bit
SET generic_application_folder=%path_developer_applications__root__apache_mod_log_rotate%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_apache_mod_log_rotate_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=mod_log_rotate-%%i-win64-VS16.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="ApacheModSecurity" (
SET detected_version_apache_mod_security_newer=_
SET exact_version=%version_apache_mod_security%
SET exact_version_folder=%version_apache_mod_security%-64bit
SET generic_application_folder=%path_developer_applications__root__apache_mod_security%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_apache_mod_security_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=mod_security-%%i-win64-VS16.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="ApacheTomcat9x" (
SET detected_version_apache_tomcat9x_newer=_
SET exact_version=%version_apache_tomcat9x%
SET exact_version_folder=%version_apache_tomcat9x%-64bit
SET generic_application_folder=%path_developer_applications__root__apache_tomcat9x%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_apache_tomcat9x_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=apache-tomcat-%%i-windows-x64.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="ApacheTomcat10x" (
SET detected_version_apache_tomcat10x_newer=_
SET exact_version=%version_apache_tomcat10x%
SET exact_version_folder=%version_apache_tomcat10x%-64bit
SET generic_application_folder=%path_developer_applications__root__apache_tomcat10x%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_apache_tomcat10x_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=apache-tomcat-%%i-windows-x64.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="CherryTree" (
SET detected_version_cherry_tree_newer=_
SET exact_version=%version_cherry_tree%
SET exact_version_folder=%version_cherry_tree%-64bit
SET generic_application_folder=%path_developer_applications__root__cherry_tree%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_cherry_tree_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=cherrytree_%%i_win64_portable.7z
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="DoubleCommander" (
SET detected_version_double_commander_newer=_
SET exact_version=%version_double_commander%
SET exact_version_folder=%version_double_commander%-64bit
SET generic_application_folder=%path_developer_applications__root__double_commander%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_double_commander_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=doubleCmd-%%i.x86_64-win64-qt5.dark.7z
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="Git" (
SET detected_version_git_newer=_
SET exact_version=%version_git_enhanced%
SET exact_version_folder=%version_git_enhanced%-64bit
SET generic_application_folder=%path_developer_applications__root__git%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_git_enhanced_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=PortableGit-%%i-64-bit.7z.exe
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="JDK" (
SET detected_version_jdk_newer=_
SET exact_version=%version_jdk%
SET exact_version_folder=%version_jdk%-64bit
SET generic_application_folder=%path_developer_applications__root__jdk%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_jdk_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=openjdk-%%i_windows-x64_bin.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="JsonEdit" (
SET detected_version_json_edit_newer=_
SET exact_version=%version_json_edit:.=_%
SET exact_version_folder=%version_json_edit%-32bit
SET generic_application_folder=%path_developer_applications__root__json_edit%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_json_edit_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-32bit
SET url_application_archive=JSONedit_%%i.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="MySqlRouter" (
SET detected_version_mysql_router_newer=_
SET exact_version=%version_mysql_router%
SET exact_version_folder=Router-%version_mysql_router%-64bit
SET generic_application_folder=%path_developer_applications__root__mysql%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_mysql_router_older%) do (
SET exact_version=%%i
SET exact_version_folder=Router-%%i-64bit
SET url_application_archive=mysql-router-%%i-winx64.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="MySqlServerCommunity" (
SET detected_version_mysql_server_community=_
SET exact_version=%version_mysql_server_community%
SET exact_version_folder=Server-%version_mysql_server_community%-64bit
SET generic_application_folder=%path_developer_applications__root__mysql%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_mysql_server_community_older%) do (
SET exact_version=%%i
SET exact_version_folder=Server-%%i-64bit
SET url_application_archive=mysql-%%i-winx64.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="NodeJS_Current" (
SET detected_version_nodejs_current_newer=_
SET exact_version=%version_nodejs_current%
SET exact_version_folder=%version_nodejs_current%-64bit
SET generic_application_folder=%path_developer_applications__root__nodejs%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_nodejs_current_older%) do (
IF EXIST "%path_developer_applications__root__nodejs%\%%i-64bit" (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=node-%%i-win-x64.zip
CALL :MultipleActionsToDo_AllSequences
)
)
)
IF /I "%application_action_to_do%"=="NotePadPlusPlus" (
SET detected_version_notepad_plus_plus_newer=_
SET exact_version=%version_notepad_plus_plus%
SET exact_version_folder=%version_notepad_plus_plus%-64bit
SET generic_application_folder=%path_developer_applications__root__notepad_plus_plus%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_notepad_plus_plus_older%) do (
IF EXIST "%path_developer_applications__root__notepad_plus_plus%\%%i-64bit" (
for %%j in (session.xml config.xml) do (
REM ECHO Detecting %path_developer_applications__root__notepad_plus_plus%\%%i-64bit\%%j
IF EXIST "%path_developer_applications__root__notepad_plus_plus%\%%i-64bit\%%j" (
REM ECHO Copying %path_developer_applications__root__notepad_plus_plus%\%%i-64bit\%%j to %path_developer_applications_notepad_plus_plus%
XCOPY %path_developer_applications__root__notepad_plus_plus%\%%i-64bit\%%j %path_developer_applications_notepad_plus_plus%
)
)
IF EXIST "%path_developer_applications__root__notepad_plus_plus%\%%i-64bit\backup\" (
XCOPY "%path_developer_applications__root__notepad_plus_plus%\%%i-64bit\backup\" %path_developer_applications_notepad_plus_plus%\backup\ /c /s /r /h /y
)
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=npp.%%i.portable.x64.zip
CALL :MultipleActionsToDo_AllSequences
)
)
)
IF /I "%application_action_to_do%"=="PHP74x" (
SET detected_version_php74x_newer=_
SET exact_version=%version_php74x%
SET exact_version_folder=%version_php74x%-64bit
SET generic_application_folder=%path_developer_applications__root__php%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_php74x_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=php-%%i-nts-Win32-vc15-x64.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="PHP80x" (
SET detected_version_php80x_newer=_
SET exact_version=%version_php80x%
SET exact_version_folder=%version_php80x%-64bit
SET generic_application_folder=%path_developer_applications__root__php%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_php80x_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=php-%%i-nts-Win32-vs16-x64.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="PHP81x" (
SET detected_version_php81x_newer=_
SET exact_version=%version_php81x%
SET exact_version_folder=%version_php81x%-64bit
SET generic_application_folder=%path_developer_applications__root__php%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_php81x_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=php-%%i-nts-Win32-vs16-x64.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="PeaZip" (
SET detected_version_peazip_newer=_
SET exact_version=%version_peazip%
SET exact_version_folder=%version_peazip%-64bit
SET generic_application_folder=%path_developer_applications__root__peazip%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_peazip_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET url_application_archive=peazip_portable-%%i.WIN64.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="Putty" (
SET detected_version_putty_newer=_
SET exact_version=%version_putty%
SET exact_version_folder=%version_putty%-64bit
SET generic_application_folder=%path_developer_applications__root__putty%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)
for %%i in (%version_putty_older%) do (
SET exact_version=%%i
SET exact_version_folder=%%i-64bit
SET generic_application_folder=%path_developer_applications__root__putty%
REM as name is fixed, removal of old versions is not neccsesary
SET url_application_archive=putty9999.zip
CALL :MultipleActionsToDo_AllSequences
)
)
IF /I "%application_action_to_do%"=="Python36x" (
SET detected_version_python36x_newer=_
SET exact_version=%version_python36x_major_minor_build%
SET exact_version_folder=%version_python36x_major_minor_build%-64bit
SET generic_application_folder=%path_developer_applications__root__python%
IF /I "%action_to_do%"=="detect_versions" (
CALL :DetectVersions__Generic
)