-
Notifications
You must be signed in to change notification settings - Fork 1
/
xlwdotnet.nsi
1677 lines (1239 loc) · 53.4 KB
/
xlwdotnet.nsi
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
;------------------------------------------------------------------------------------------------------------------------
;------------------------------------------------------------------------------------------------------------------------
;Include Modern UI
!include "MUI2.nsh"
!include ".\version.nsh"
!include ".\xlw.nsh"
!include "LogicLib.nsh"
!include "winmessages.nsh"
;------------------------------------------------------------------------------------------------------------------------
;------------------------------------------------------------------------------------------------------------------------
;Definitions
!define APP "xlw"
!define APP_VER ${APP}-${XLW_VERSION}
;------------------------------------------------------------------------------------------------------------------------
;------------------------------------------------------------------------------------------------------------------------
;General
;Name and file
Name "${APP}"
!ifndef RELEASE_VERSION
OutFile "${APP_VER}-${SHORT_REL_DATE}.exe"
!else
OutFile "${APP_VER}.exe"
!endif
LicenseForceSelection radiobuttons "I Accept" "I Decline"
BrandingText "${APP_VER} ${DEV_OR_RELEASE}"
;Default installation folder
InstallDir $PROGRAMFILES\XLW\${APP_VER}
;InstallDir C:\TEMP\${APP_VER}
;Get installation folder from registry if available
InstallDirRegKey HKLM "Software\XLW\${XLW_VERSION}" "InstallDir"
;Request application privileges for Windows Vista
RequestExecutionLevel admin
;------------------------------------------------------------------------------------------------------------------------
;------------------------------------------------------------------------------------------------------------------------
;Interface Settings
!define MUI_ABORTWARNING
!define MUI_ICON "xlw\docs\images\xlw_32x32.ico"
!define MUI_UNICON "xlw\docs\images\xlw_32x32.ico"
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "xlw\docs\images\logo.bmp"
!define MUI_WELCOMEFINISHPAGE_BITMAP "xlw\docs\images\header5.bmp"
!define MUI_WELCOMEPAGE_TITLE "Welcome to the installer of xlw ${RELEASE_SHORT}"
;------------------------------------------------------------------------------------------------------------------------
;------------------------------------------------------------------------------------------------------------------------
;Pages
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "xlwLICENSE.rtf"
Page custom DevEnvironFinder ;Custom page
Page custom PlatformSDK ;Custom page
!insertmacro MUI_PAGE_COMPONENTS
Page custom ExcelPatchPage ;Custom page
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
;------------------------------------------------------------------------------------------------------------------------
;------------------------------------------------------------------------------------------------------------------------
;Languages
!insertmacro MUI_LANGUAGE "English"
;------------------------------------------------------------------------------------------------------------------------
;------------------------------------------------------------------------------------------------------------------------
;Global Status Vaiables
Var VS2003_Saved
Var VS2005_Saved
Var VS2008_Saved
Var VS2010_Saved
Var VS2012_Saved
Var VS2013_Saved
Var CODEBLOCKS_Saved
Var GCCMAKE_Saved
Var VS2005DotNet_Saved
Var VS2008DotNet_Saved
Var VS2010DotNet_Saved
Var VS2012DotNet_Saved
Var VS2013DotNet_Saved
Var Dialog
Var Label
Var ListBox
Var VS2013_INST
Var VS2012_INST
Var VS2010PRO_CPP_INST
Var VS2010PRO_CSharp_INST
Var VS2010PRO_VisualBasic_INST
Var VS2010EXP_CPP_INST
Var VS2010EXP_CSharp_INST
Var VS2010EXP_VisualBasic_INST
Var VS2008PRO_CPP_INST
Var VS2008PRO_CSharp_INST
Var VS2008PRO_VisualBasic_INST
Var VS2008EXP_CPP_INST
Var VS2008EXP_CSharp_INST
Var VS2008EXP_VisualBasic_INST
Var VS2005PRO_CPP_INST
Var VS2005PRO_CSharp_INST
Var VS2005PRO_VisualBasic_INST
Var VS2005EXP_CPP_INST
Var VS2005EXP_CSharp_INST
Var VS2005EXP_VisualBasic_INST
Var VS2003PRO_CPP_INST
Var CodeBlocks_INST
Var PSDK
Var CPP_DETECTED
Var CodeBlocks_FRMWK
; Excel Patcher
Var DIALOG_PATCH
Var BUTTON_PATCH
Var EXCEL97
Var EXCEL2000
Var EXCEL2002
Var EXCEL2003
Var EXCEL97_CHECK
Var EXCEL2000_CHECK
Var EXCEL2002_CHECK
Var EXCEL2003_CHECK
Var EXCEL97_SEL
Var EXCEL2000_SEL
Var EXCEL2002_SEL
Var EXCEL2003_SEL
;------------------------------------------------------------------------------------------------------------------------
;------------------------------------------------------------------------------------------------------------------------
; macros
!macro projectfiles dir
SetOutPath "$INSTDIR\${dir}"
File /nonfatal /r "${dir}\*.vcproj"
File /nonfatal /r "${dir}\*.vcxproj"
File /nonfatal /r "${dir}\*.csproj"
File /nonfatal /r "${dir}\*.vbproj"
File /nonfatal /r "${dir}\*.sln"
File /nonfatal /r "${dir}\*.mak"
File /nonfatal /r "${dir}\*.nmake"
File /nonfatal /r "${dir}\Makefile.RELEASE"
File /nonfatal /r "${dir}\Makefile"
File /nonfatal /r "${dir}\*.dev"
File /nonfatal /r "${dir}\*.cbp"
File /nonfatal /r "${dir}\*.workspace"
File /nonfatal /r "${dir}\*.bat"
CreateDirectory "$INSTDIR\${dir}\AutoGeneratedSource"
!macroend
!macro sourcefiles dir
SetOutPath "$INSTDIR\${dir}"
File /nonfatal /r "${dir}\*.cpp"
File /nonfatal /r "${dir}\*.h"
File /nonfatal /r "${dir}\*.cs"
File /nonfatal /r "${dir}\*.snk"
File /nonfatal /r "${dir}\*.vb"
!macroend
!macro addsource
SetOutPath "$INSTDIR\xlw\src"
File /r "xlw\src\*.cpp"
File /nonfatal /r "xlw\src\*.h"
SetOutPath "$INSTDIR\xlw\InterfaceGenerator"
File /r "xlw\InterfaceGenerator\*.cpp"
File /r "xlw\InterfaceGenerator\*.h"
SetOutPath "$INSTDIR\xlw\xlcall32stub"
File /r "xlw\xlcall32stub\*.cpp"
File /r "xlw\xlcall32stub\*.def"
SetOutPath "$INSTDIR\xlw\XlwDocGen"
File /r "xlw\XlwDocGen\*.cpp"
!macroend
!macro buildfiles dir
!insertmacro projectfiles "xlw\build\${dir}"
!insertmacro addsource
!macroend
Var X
!macro insertline
${NSD_LB_AddString} $ListBox_right ""
!macroend
!macro FINDENV root key subkey env
ReadRegStr $X ${root} "${key}" "${subkey}"
${If} $X != ""
${NSD_LB_AddString} $ListBox_right "Detected ${env}"
!insertmacro insertline
${EndIf}
Push $X
!macroend
!macro DotNetbuildfiles dir
SetOutPath "$INSTDIR\xlwDotNet\xlwDotNet"
File "xlwDotNet\xlwDotNet\*.cpp"
SetOutPath "$INSTDIR\xlwDotNet\build\${dir}"
File /r "xlwDotNet\build\${dir}\*.sln"
File /r "xlwDotNet\build\${dir}\*.vcproj"
File /r "xlwDotNet\build\${dir}\*.csproj"
!macroend
!macro DotNetbuildfiles_VS10 dir
SetOutPath "$INSTDIR\xlwDotNet\xlwDotNet"
File "xlwDotNet\xlwDotNet\*.cpp"
SetOutPath "$INSTDIR\xlwDotNet\build\${dir}"
File /r "xlwDotNet\build\${dir}\*.sln"
File /r "xlwDotNet\build\${dir}\*.vcxproj"
File /r "xlwDotNet\build\${dir}\*.csproj"
!macroend
!macro DotNetHeaders
SetOutPath "$INSTDIR\xlwDotNet\xlwDotNet"
File "xlwDotNet\xlwDotNet\*.h"
File "xlwDotNet\xlwDotNet\*.snk"
SetOutPath "$INSTDIR\xlwDotNet\vc_common"
File "xlwDotNet\vc_common\*.nmake"
!macroend
!macro dotNetInterfaceGenSource
SetOutPath "$INSTDIR\xlwDotNet\DotNetInterfaceGenerator"
File /r "xlwDotNet\DotNetInterfaceGenerator\*.cs"
!macroend
!macro DotNetInterfaceGenerator dir
SetOutPath "$INSTDIR\xlwDotNet\build\${dir}\Debug"
File "xlwDotNet\build\${dir}\Debug\*.dll"
File "xlwDotNet\build\${dir}\Debug\*.exe"
File "xlwDotNet\build\${dir}\Debug\*.pdb"
SetOutPath "$INSTDIR\xlwDotNet\build\${dir}\Release"
File "xlwDotNet\build\${dir}\Release\*.dll"
File "xlwDotNet\build\${dir}\Release\*.exe"
!insertmacro DotNetHeaders
!macroend
!macro DotNetInterfaceGenerator64 dir
SetOutPath "$INSTDIR\xlwDotNet\build\${dir}\x64_Debug"
File "xlwDotNet\build\${dir}\x64_Debug\*.dll"
File "xlwDotNet\build\${dir}\x64_Debug\*.exe"
File "xlwDotNet\build\${dir}\x64_Debug\*.pdb"
SetOutPath "$INSTDIR\xlwDotNet\build\${dir}\x64_Release"
File "xlwDotNet\build\${dir}\x64_Release\*.dll"
File "xlwDotNet\build\${dir}\x64_Release\*.exe"
!insertmacro DotNetHeaders
!macroend
!macro InterfaceGenerator dir
SetOutPath "$INSTDIR\xlw\build\${dir}\Debug"
File "xlw\build\${dir}\Debug\*.exe"
File "xlw\build\${dir}\Debug\*.pdb"
File "xlw\build\${dir}\Debug\*.dll"
SetOutPath "$INSTDIR\xlw\build\${dir}\Release"
File "xlw\build\${dir}\Release\*.exe"
File "xlw\build\${dir}\Release\*.dll"
!macroend
!macro doExampleVCHelper dir
SetOutPath "$INSTDIR\${dir}"
File /nonfatal /r "${dir}\*.cpp"
File /nonfatal /r "${dir}\*.h"
File /nonfatal /r "${dir}\*.vcproj"
File /nonfatal /r "${dir}\*.vcxproj"
File /nonfatal /r "${dir}\*.csproj"
File /nonfatal /r "${dir}\*.vcxproj.filters"
File /nonfatal /r "${dir}\*.sln"
File /nonfatal /r "${dir}\*.nmake"
File /nonfatal /r "${dir}\*.bat"
;CreateDirectory "$INSTDIR\${dir}\AutoGeneratedSource"
!macroend
!macro doExample dir gccaswell vs2003aswell
Push $0
SetOutPath "$INSTDIR\${dir}"
File /nonfatal /r "${dir}\*.xls"
File /nonfatal /r "${dir}\*.txt"
SetOutPath "$INSTDIR\${dir}\common_source"
File /nonfatal /r "${dir}\common_source\*.cpp"
File /nonfatal /r "${dir}\common_source\*.h"
File /nonfatal /r "${dir}\common_source\*.resx"
SetOutPath "$INSTDIR\${dir}\Objects"
File /nonfatal /r "${dir}\Objects\*.cpp"
File /nonfatal /r "${dir}\Objects\*.h"
${If} ${vs2003aswell} == 1
SectionGetFlags ${VS2003} $0
${If} $0 == "1"
!insertmacro doExampleVCHelper "${dir}\vc7"
${EndIf}
${EndIf}
SectionGetFlags ${VS2005} $0
${If} $0 == "1"
!insertmacro doExampleVCHelper "${dir}\vc8"
${EndIf}
SectionGetFlags ${VS2008} $0
${If} $0 == "1"
!insertmacro doExampleVCHelper "${dir}\vc9"
${EndIf}
SectionGetFlags ${VS2010} $0
${If} $0 == "1"
!insertmacro doExampleVCHelper "${dir}\vc10"
${EndIf}
SectionGetFlags ${VS2012} $0
${If} $0 == "1"
!insertmacro doExampleVCHelper "${dir}\vc11"
${EndIf}
SectionGetFlags ${VS2013} $0
${If} $0 == "1"
!insertmacro doExampleVCHelper "${dir}\vc12"
${EndIf}
${If} ${gccaswell} == 1
SectionGetFlags ${CODEBLOCKS} $0
${If} $0 == "1"
SetOutPath "$INSTDIR\${dir}\codeblocks-gcc"
File /nonfatal /r "${dir}\codeblocks-gcc\*.cbp"
File /nonfatal /r "${dir}\codeblocks-gcc\*.mak"
File /nonfatal /r "${dir}\codeblocks-gcc\*.workspace"
File /nonfatal /r "${dir}\codeblocks-gcc\*.bat"
${EndIf}
SectionGetFlags ${GCCMAKE} $0
${If} $0 == "1"
SetOutPath "$INSTDIR\${dir}\gcc-make"
File /nonfatal /r "${dir}\gcc-make\Makefile"
File /nonfatal /r "${dir}\gcc-make\*.mak"
File /nonfatal /r "${dir}\gcc-make\*.bat"
${EndIf}
${EndIf}
Pop $0
!macroend
!macro doDotNetExample dir
Push $0
SetOutPath "$INSTDIR\${dir}"
File /nonfatal /r "${dir}\*.xls"
File /nonfatal /r "${dir}\*.txt"
SetOutPath "$INSTDIR\${dir}\common_source"
File /nonfatal /r "${dir}\common_source\*.cs"
File /nonfatal /r "${dir}\common_source\*.snk"
SectionGetFlags ${VS2005DotNet} $0
${If} $0 == "1"
!insertmacro doExampleVCHelper "${dir}\VS8"
${EndIf}
SectionGetFlags ${VS2008DotNet} $0
${If} $0 == "1"
!insertmacro doExampleVCHelper "${dir}\VS9"
${EndIf}
SectionGetFlags ${VS2010DotNet} $0
${If} $0 == "1"
!insertmacro doExampleVCHelper "${dir}\VS10"
${EndIf}
SectionGetFlags ${VS2012DotNet} $0
${If} $0 == "1"
!insertmacro doExampleVCHelper "${dir}\VS11"
${EndIf}
SectionGetFlags ${VS2013DotNet} $0
${If} $0 == "1"
!insertmacro doExampleVCHelper "${dir}\VS12"
${EndIf}
Pop $0
!macroend
!macro xlwDotNetReadMes
SetOutPath "$INSTDIR\xlwDotNet"
File "xlwDotNet\*.txt"
!macroend
;------------------------------------------------------------------------------------------------------------------------
;------------------------------------------------------------------------------------------------------------------------
;Installer Sections
Section #
SetOutPath "$INSTDIR\xlw"
File "xlw\*.txt"
SetOutPath "$INSTDIR\xlw\include"
File /r "xlw\include\*.h"
File /r "xlw\include\*.inl"
File /r "xlw\include\*.def"
SetOutPath "$INSTDIR\xlw\make"
File "xlw\make\*.*"
SetOutPath "$INSTDIR\TemplateExtractors"
File ".\xlwTemplateExtractor.exe"
File ".\xlwDotNetTemplateExtractor.exe"
File ".\xlwCppCLITemplateExtractor.exe"
SetOutPath "$INSTDIR"
File "xlwLICENSE.TXT"
SetOutPath "$INSTDIR"
File /oname=Xlw-${RELEASE_SHORT}.chm "Xlw.chm"
SetOutPath "$INSTDIR\utils"
File "MinGW_Installer\xlw-MinGW-Installer-gcc-4.5.2-1.exe"
!insertmacro xlwDotNetReadMes
WriteUninstaller $INSTDIR\Uninstall.exe
CreateDirectory "$SMPROGRAMS\XLW\${APP_VER}\xlw"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\xlw\Extract XLW xll template.lnk" "$INSTDIR\TemplateExtractors\xlwTemplateExtractor.exe"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\xlw\Extract XLW C++/CLI xll template.lnk" "$INSTDIR\TemplateExtractors\xlwCppCLITemplateExtractor.exe"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\XLW Help.lnk" "$INSTDIR\Xlw-${RELEASE_SHORT}.chm"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\XLW License.lnk" "$INSTDIR\xlwLICENSE.TXT"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\Uninstall XLW.lnk" "$INSTDIR\Uninstall.exe"
SectionEnd
;--------------------------------
;Descriptions
;--------------------------------------------------
; xlw
SubSection "xlw" xlw
; vanilla xlw
SectionGroup "Libraries" Libraries
Section "VS2003" VS2003
SetOutPath "$INSTDIR\xlw\lib"
File "xlw\lib\xlw-vc71*.lib"
File "xlw\lib\xlw-vc71*.pdb"
!insertmacro InterfaceGenerator vc7
SectionEnd
Section "VS2005" VS2005
SetOutPath "$INSTDIR\xlw\lib"
File "xlw\lib\xlw-vc80*.lib"
File "xlw\lib\xlw-vc80*.pdb"
SetOutPath "$INSTDIR\xlw\lib\x64"
File "xlw\lib\x64\xlw-vc80*.lib"
File "xlw\lib\x64\xlw-vc80*.pdb"
!insertmacro InterfaceGenerator vc8
SectionEnd
Section "VS2008" VS2008
SetOutPath "$INSTDIR\xlw\lib"
File "xlw\lib\xlw-vc90*.lib"
File "xlw\lib\xlw-vc90*.pdb"
SetOutPath "$INSTDIR\xlw\lib\x64"
File "xlw\lib\x64\xlw-vc90*.lib"
File "xlw\lib\x64\xlw-vc90*.pdb"
!insertmacro InterfaceGenerator vc9
SectionEnd
Section "VS2010" VS2010
SetOutPath "$INSTDIR\xlw\lib"
File "xlw\lib\xlw-vc100*.lib"
File "xlw\lib\xlw-vc100*.pdb"
SetOutPath "$INSTDIR\xlw\lib\x64"
File "xlw\lib\x64\xlw-vc100*.lib"
File "xlw\lib\x64\xlw-vc100*.pdb"
!insertmacro InterfaceGenerator vc10
SectionEnd
Section "VS2012" VS2012
SetOutPath "$INSTDIR\xlw\lib"
File "xlw\lib\xlw-vc110*.lib"
File "xlw\lib\xlw-vc110*.pdb"
SetOutPath "$INSTDIR\xlw\lib\x64"
File "xlw\lib\x64\xlw-vc110*.lib"
File "xlw\lib\x64\xlw-vc110*.pdb"
!insertmacro InterfaceGenerator vc11
SectionEnd
Section "VS2013" VS2013
SetOutPath "$INSTDIR\xlw\lib"
File "xlw\lib\xlw-vc120*.lib"
File "xlw\lib\xlw-vc120*.pdb"
SetOutPath "$INSTDIR\xlw\lib\x64"
File "xlw\lib\x64\xlw-vc120*.lib"
File "xlw\lib\x64\xlw-vc120*.pdb"
!insertmacro InterfaceGenerator vc12
SectionEnd
Section "Code::Blocks(mingw)" CODEBLOCKS
SetOutPath "$INSTDIR\xlw\lib"
File "xlw\lib\libxlw-gcc*.a"
SetOutPath "$INSTDIR\xlw\lib\x64"
File "xlw\lib\x64\libxlw-gcc*.a"
SetOutPath "$INSTDIR\xlw\build\codeblocks-gcc\bin"
File /r "xlw\build\codeblocks-gcc\bin\*.exe"
File /r "xlw\build\codeblocks-gcc\bin\*.dll"
SectionEnd
Section "make(mingw)" GCCMAKE
SetOutPath "$INSTDIR\xlw\lib"
File "xlw\lib\libxlw-gcc*.a"
SetOutPath "$INSTDIR\xlw\lib\x64"
File "xlw\lib\x64\libxlw-gcc*.a"
SetOutPath "$INSTDIR\xlw\build\gcc-make"
File /r "xlw\build\gcc-make\*.exe"
File /r "xlw\build\gcc-make\*.dll"
SectionEnd
SectionGroupEnd
Section "Examples" xlwExamples
!insertmacro doExample "xlw\examples\Start Here - Example" 1 1
!insertmacro doExample "xlw\examples\Commands and Attributes" 1 1
!insertmacro doExample "xlw\examples\ObjectCacheDemo" 1 1
!insertmacro doExample "xlw\examples\Handwritten" 1 1
!insertmacro doExample "xlw\examples\MJ - Design Patterns" 1 1
!insertmacro doExample "xlw\examples\LoggerDemo" 1 1
!insertmacro doExample "xlw\examples\Typeregister" 1 1
!insertmacro doExample "xlw\examples\C++CLR" 0 0
!insertmacro doExample "xlw\examples\C++CLR_password" 0 0
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\xlw\Examples.lnk" "$INSTDIR\xlw\Examples"
SetOutPath "$INSTDIR\xlw\usercontrib"
File /r "xlw\usercontrib\*.txt"
!insertmacro doExample "xlw\usercontrib\matrices\ublas" 1 1
!insertmacro doExample "xlw\usercontrib\matrices\dlib" 1 1
!insertmacro doExample "xlw\usercontrib\matrices\fortran" 1 1
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\xlw\User Contributed Examples.lnk" "$INSTDIR\xlw\usercontrib"
SectionEnd
Section "Sandcastle" sandcastle
SetOutPath "$INSTDIR\xlw\build\sandcastle"
File "xlw\build\sandcastle\*.*"
SectionEnd
; vanilla xlw sources
SectionGroup "Source" Source
Section "VS2003" VS2003_SRC
!insertmacro buildfiles "vc7"
!insertmacro projectfiles "xlw\Template_Projects\vc7"
!insertmacro sourcefiles "xlw\Template_Projects\vc7"
SectionEnd
Section "VS2005" VS2005_SRC
!insertmacro buildfiles "vc8"
!insertmacro projectfiles "xlw\Template_Projects\vc8"
!insertmacro sourcefiles "xlw\Template_Projects\vc8"
SectionEnd
Section "VS2008" VS2008_SRC
!insertmacro buildfiles "vc9"
!insertmacro projectfiles "xlw\Template_Projects\vc9"
!insertmacro sourcefiles "xlw\Template_Projects\vc9"
SectionEnd
Section "VS2010" VS2010_SRC
!insertmacro buildfiles "vc10"
!insertmacro projectfiles "xlw\Template_Projects\vc10"
!insertmacro sourcefiles "xlw\Template_Projects\vc10"
SectionEnd
Section "VS2012" VS2012_SRC
!insertmacro buildfiles "vc11"
!insertmacro projectfiles "xlw\Template_Projects\vc11"
!insertmacro sourcefiles "xlw\Template_Projects\vc11"
SectionEnd
Section "VS2013" VS2013_SRC
!insertmacro buildfiles "vc12"
!insertmacro projectfiles "xlw\Template_Projects\vc12"
!insertmacro sourcefiles "xlw\Template_Projects\vc12"
SectionEnd
Section "Code::Blocks(mingw)" CODEBLOCKS_SRC
!insertmacro buildfiles "codeblocks-gcc"
!insertmacro projectfiles "xlw\Template_Projects\codeblocks-gcc"
!insertmacro sourcefiles "xlw\Template_Projects\codeblocks-gcc"
SectionEnd
Section "make(mingw)" GCCMAKE_SRC
!insertmacro buildfiles "gcc-make"
!insertmacro projectfiles "xlw\Template_Projects\gcc-make"
!insertmacro sourcefiles "xlw\Template_Projects\gcc-make"
SectionEnd
SectionGroupEnd
SubSectionEnd
;--------------------------------------------------
; xlwDotNet
SubSection "xlwDotNet" xlwDotNet
; vanilla xlw
SectionGroup "Libraries" xlwDotNetLibraries
Section #
${If} $EXCEL97_SEL == ${BST_CHECKED}
IfFileExists "$EXCEL97\Excel.exe.config" Warn97 Install97
Install97:
SetOutPath "$EXCEL97"
File "ExcelPatch\Excel.exe.config"
Goto Do2000
Warn97:
MessageBox MB_OK "$EXCEL97\Excel.exe.config exists. Installer will not overwrite it. A manual patch maybe required"
${EndIF}
Do2000:
${If} $EXCEL2000_SEL == ${BST_CHECKED}
IfFileExists "$EXCEL2000\Excel.exe.config" Warn2000 Install2000
Install2000:
SetOutPath "$EXCEL2000"
File "ExcelPatch\Excel.exe.config"
Goto Do2002
Warn2000:
MessageBox MB_OK "$EXCEL2000\Excel.exe.config exists. Installer will not overwrite it. A manual patch maybe required"
${EndIF}
Do2002:
${If} $EXCEL2002_SEL == ${BST_CHECKED}
IfFileExists "$EXCEL2002\Excel.exe.config" Warn2002 Install2002
Install2002:
SetOutPath "$EXCEL2002"
File "ExcelPatch\Excel.exe.config"
Goto Do2003
Warn2002:
MessageBox MB_OK "$EXCEL2002\Excel.exe.config exists. Installer will not overwrite it. A manual patch maybe required"
${EndIF}
Do2003:
${If} $EXCEL2003_SEL == ${BST_CHECKED}
IfFileExists "$EXCEL2003\Excel.exe.config" Warn2003 Install2003
Install2003:
SetOutPath "$EXCEL2003"
File "ExcelPatch\Excel.exe.config"
Goto FINISH
Warn2003:
MessageBox MB_OK "$EXCEL2003\Excel.exe.config exists. Installer will not overwrite it. A manual patch maybe required"
${EndIF}
FINISH:
SectionEnd
Section "VS2005" VS2005DotNet
SetOutPath "$INSTDIR\xlwDotNet\lib"
File "xlwDotNet\lib\xlwDotNet-vc80*.dll"
File "xlwDotNet\lib\xlwDotNet-vc80*.pdb"
SetOutPath "$INSTDIR\xlwDotNet\lib\x64"
File "xlwDotNet\lib\x64\xlwDotNet-vc80*.dll"
File "xlwDotNet\lib\x64\xlwDotNet-vc80*.pdb"
!insertmacro DotNetInterfaceGenerator VS8
!insertmacro DotNetInterfaceGenerator64 VS8
!insertmacro projectfiles "xlwDotNet\Template_Projects\VS8"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VS8"
!insertmacro projectfiles "xlwDotNet\Template_Projects\VisualBasic\VB2005"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VisualBasic\VB2005"
!insertmacro projectfiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS8_PRO"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS8_PRO"
CreateDirectory "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet\Extract XLW .NET xll template.lnk" "$INSTDIR\TemplateExtractors\xlwDotNetTemplateExtractor.exe"
SectionEnd
Section "VS2008" VS2008DotNet
SetOutPath "$INSTDIR\xlwDotNet\lib"
File "xlwDotNet\lib\xlwDotNet-vc90*.dll"
File "xlwDotNet\lib\xlwDotNet-vc90*.pdb"
SetOutPath "$INSTDIR\xlwDotNet\lib\x64"
File "xlwDotNet\lib\x64\xlwDotNet-vc90*.dll"
File "xlwDotNet\lib\x64\xlwDotNet-vc90*.pdb"
!insertmacro DotNetInterfaceGenerator VS9
!insertmacro DotNetInterfaceGenerator64 VS9
!insertmacro projectfiles "xlwDotNet\Template_Projects\VS9"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VS9"
!insertmacro projectfiles "xlwDotNet\Template_Projects\VisualBasic\VB2008"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VisualBasic\VB2008"
!insertmacro projectfiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS9_PRO"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS9_PRO"
CreateDirectory "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet\Extract XLW .NET xll template.lnk" "$INSTDIR\TemplateExtractors\xlwDotNetTemplateExtractor.exe"
SectionEnd
Section "VS2010" VS2010DotNet
SetOutPath "$INSTDIR\xlwDotNet\lib"
File "xlwDotNet\lib\xlwDotNet-vc100*.dll"
File "xlwDotNet\lib\xlwDotNet-vc100*.pdb"
SetOutPath "$INSTDIR\xlwDotNet\lib\x64"
File "xlwDotNet\lib\x64\xlwDotNet-vc100*.dll"
File "xlwDotNet\lib\x64\xlwDotNet-vc100*.pdb"
!insertmacro DotNetInterfaceGenerator VS10
!insertmacro DotNetInterfaceGenerator64 VS10
!insertmacro projectfiles "xlwDotNet\Template_Projects\VS10"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VS10"
; !insertmacro projectfiles "xlwDotNet\Template_Projects\VisualBasic\VB2010"
; !insertmacro sourcefiles "xlwDotNet\Template_Projects\VisualBasic\VB2010"
!insertmacro projectfiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS10_PRO"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS10_PRO"
CreateDirectory "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet\Extract XLW .NET xll template.lnk" "$INSTDIR\TemplateExtractors\xlwDotNetTemplateExtractor.exe"
SectionEnd
Section "VS2012" VS2012DotNet
SetOutPath "$INSTDIR\xlwDotNet\lib"
File "xlwDotNet\lib\xlwDotNet-vc110*.dll"
File "xlwDotNet\lib\xlwDotNet-vc110*.pdb"
SetOutPath "$INSTDIR\xlwDotNet\lib\x64"
File "xlwDotNet\lib\x64\xlwDotNet-vc110*.dll"
File "xlwDotNet\lib\x64\xlwDotNet-vc110*.pdb"
!insertmacro DotNetInterfaceGenerator VS11
!insertmacro DotNetInterfaceGenerator64 VS11
!insertmacro projectfiles "xlwDotNet\Template_Projects\VS11"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VS11"
!insertmacro projectfiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS11_PRO"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS11_PRO"
CreateDirectory "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet\Extract XLW .NET xll template.lnk" "$INSTDIR\TemplateExtractors\xlwDotNetTemplateExtractor.exe"
SectionEnd
Section "VS2013" VS2013DotNet
SetOutPath "$INSTDIR\xlwDotNet\lib"
File "xlwDotNet\lib\xlwDotNet-vc120*.dll"
File "xlwDotNet\lib\xlwDotNet-vc120*.pdb"
SetOutPath "$INSTDIR\xlwDotNet\lib\x64"
File "xlwDotNet\lib\x64\xlwDotNet-vc120*.dll"
File "xlwDotNet\lib\x64\xlwDotNet-vc120*.pdb"
!insertmacro DotNetInterfaceGenerator VS12
!insertmacro DotNetInterfaceGenerator64 VS12
!insertmacro projectfiles "xlwDotNet\Template_Projects\VS12"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VS12"
!insertmacro projectfiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS12_PRO"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS12_PRO"
CreateDirectory "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet\Extract XLW .NET xll template.lnk" "$INSTDIR\TemplateExtractors\xlwDotNetTemplateExtractor.exe"
SectionEnd
SectionGroupEnd
Section "Examples" xlwDotNextExamples
!insertmacro xlwDotNetReadMes
!insertmacro doDotNetExample "xlwDotNet\Examples\Start Here - Example"
!insertmacro doDotNetExample "xlwDotNet\Examples\TypeRegister"
!insertmacro doDotNetExample "xlwDotNet\Examples\ReflectionFactory"
!insertmacro doDotNetExample "xlwDotNet\Examples\VisualBasic"
!insertmacro doDotNetExample "xlwDotNet\UserContrib\NonPassive"
!insertmacro doDotNetExample "xlwDotNet\UserContrib\Python"
!insertmacro doDotNetExample "xlwDotNet\UserContrib\RTDExample"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet\Examples.lnk" "$INSTDIR\xlwDotNet\Examples"
CreateShortCut "$SMPROGRAMS\XLW\${APP_VER}\xlwDotNet\User Contributed Examples.lnk" "$INSTDIR\xlwDotNet\UserContrib"
SectionEnd
; vanilla xlw sources
SectionGroup "Source" DotNetSource
Section "VS2005" VS2005DotNet_SRC
!insertmacro DotNetbuildfiles "VS8"
!insertmacro DotNetHeaders
!insertmacro dotNetInterfaceGenSource
!insertmacro projectfiles "xlwDotNet\Template_Projects\VS8"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VS8"
!insertmacro projectfiles "xlwDotNet\Template_Projects\VisualBasic\VB2005"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VisualBasic\VB2005"
${If} VS2005PRO_CSharp_INST != ""
!insertmacro projectfiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS8_PRO"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS8_PRO"
${EndIf}
SectionEnd
Section "VS2008" VS2008DotNet_SRC
!insertmacro DotNetbuildfiles "VS9"
!insertmacro DotNetHeaders
!insertmacro dotNetInterfaceGenSource
!insertmacro projectfiles "xlwDotNet\Template_Projects\VS9"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VS9"
!insertmacro projectfiles "xlwDotNet\Template_Projects\VisualBasic\VB2008"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VisualBasic\VB2008"
${If} VS2008PRO_CSharp_INST != ""
!insertmacro projectfiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS9_PRO"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS9_PRO"
${EndIf}
SectionEnd
Section "VS2010" VS2010DotNet_SRC
!insertmacro DotNetbuildfiles_VS10 "VS10"
!insertmacro DotNetHeaders
!insertmacro dotNetInterfaceGenSource
!insertmacro projectfiles "xlwDotNet\Template_Projects\VS10"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VS10"
; !insertmacro projectfiles "xlwDotNet\Template_Projects\VisualBasic\VB2010"
; !insertmacro sourcefiles "xlwDotNet\Template_Projects\VisualBasic\VB2010"
${If} VS2010PRO_CSharp_INST != ""
!insertmacro projectfiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS10_PRO"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS10_PRO"
${EndIf}
SectionEnd
Section "VS2012" VS2012DotNet_SRC
!insertmacro DotNetbuildfiles_VS10 "VS11"
!insertmacro DotNetHeaders
!insertmacro dotNetInterfaceGenSource
!insertmacro projectfiles "xlwDotNet\Template_Projects\VS11"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VS11"
${If} VS2012PRO_CSharp_INST != ""
!insertmacro projectfiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS11_PRO"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS11_PRO"
${EndIf}
SectionEnd
Section "VS2013" VS2013DotNet_SRC
!insertmacro DotNetbuildfiles_VS10 "VS12"
!insertmacro DotNetHeaders
!insertmacro dotNetInterfaceGenSource
!insertmacro projectfiles "xlwDotNet\Template_Projects\VS12"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\VS12"
${If} VS2012PRO_CSharp_INST != ""
!insertmacro projectfiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS12_PRO"
!insertmacro sourcefiles "xlwDotNet\Template_Projects\Hybrid_Cpp_CSharp_XLLs\VS12_PRO"
${EndIf}
SectionEnd
SectionGroupEnd
SubSectionEnd
;----------------------------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------------------------
;Section Descriptions
LangString DESC_Libraries ${LANG_ENGLISH} "The static xlw libraries & Tools."
LangString DESC_VS2003 ${LANG_ENGLISH} "VS2003 xll C++ build enviroment for Visual Studio 2003 (VS7.1)."
LangString DESC_VS2005 ${LANG_ENGLISH} "VS2005 xll C++ build enviroment for Visual Studio 2005 (VS8)."
LangString DESC_VS2008 ${LANG_ENGLISH} "VS2008 xll C++ build enviroment for Visual Studio 2008 (VS9)."
LangString DESC_VS2010 ${LANG_ENGLISH} "VS2010 xll C++ build enviroment for Visual Studio 2010 (VS10)."
LangString DESC_VS2012 ${LANG_ENGLISH} "VS2012 xll C++ build enviroment for Visual Studio 2012 (VS11)."
LangString DESC_VS2013 ${LANG_ENGLISH} "VS2013 xll C++ build enviroment for Visual Studio 2013 (VS12)."
LangString DESC_CODEBLOCKS ${LANG_ENGLISH} "Code::Blocks xll C++ build enviroment Code::Blocks ( MinGW only )."
LangString DESC_GCCMAKE ${LANG_ENGLISH} "gcc/make xll C++ build enviroment with support of GNU-MAKE. This uses makefiles"
LangString DESC_Source ${LANG_ENGLISH} "You can install the source code for the xlw libraries including all appropriates project files."
LangString DESC_xlwExamples ${LANG_ENGLISH} "xlw Examples"
LangString DESC_VS2003_SRC ${LANG_ENGLISH} "Source code and Visual Studio 2003 (VS7.1) project files for building the xlw libraries & Tools."
LangString DESC_VS2005_SRC ${LANG_ENGLISH} "Source code and Visual Studio 2005 (VS8) project files for building the xlw libraries & Tools.."
LangString DESC_VS2008_SRC ${LANG_ENGLISH} "Source code and Visual Studio 2008 (VS9) project files for building the xlw libraries & Tools.."
LangString DESC_VS2010_SRC ${LANG_ENGLISH} "Source code and Visual Studio 2010 (VS10) project files for building the xlw libraries & Tools.."
LangString DESC_VS2012_SRC ${LANG_ENGLISH} "Source code and Visual Studio 2012 (VS11) project files for building the xlw libraries & Tools.."
LangString DESC_VS2013_SRC ${LANG_ENGLISH} "Source code and Visual Studio 2013 (VS12) project files for building the xlw libraries & Tools.."
LangString DESC_CODEBLOCKS_SRC ${LANG_ENGLISH} "Source code and Code::Blocks project files for building the xlw libraries & Tools."
LangString DESC_GCCMAKE_SRC ${LANG_ENGLISH} "Source code and and gnu-make makefiles for building the xlw libraries & Tools."
LangString DESC_xlwDotNetLibraries ${LANG_ENGLISH} "The xlwDotNet .NET Assemblies & Tools. xlls reference these assemblies when they are built. The Assemblies are built for CLR 2 supporting .NET Frameworks 2.0, 3.0 & 3.5 "
LangString DESC_VS2005DotNet ${LANG_ENGLISH} "xlwDotNet .NET Assemblies & Tools to build for xlls with Visual Studio 2005 (VS8)"
LangString DESC_VS2008DotNet ${LANG_ENGLISH} "xlwDotNet .NET Assemblies & Tools to build for xlls with Visual Studio 2008 (VS9)"
LangString DESC_VS2010DotNet ${LANG_ENGLISH} "xlwDotNet .NET Assemblies & Tools to build for xlls with Visual Studio 2010 (VS10)"
LangString DESC_VS2012DotNet ${LANG_ENGLISH} "xlwDotNet .NET Assemblies & Tools to build for xlls with Visual Studio 2012 (VS11)"
LangString DESC_VS2013DotNet ${LANG_ENGLISH} "xlwDotNet .NET Assemblies & Tools to build for xlls with Visual Studio 2013 (VS12)"
LangString DESC_DotNetSource ${LANG_ENGLISH} "You can install the source code for the xlwDotNet libraries & Tools including all appropriates project files."
LangString DESC_VS2005DotNet_SRC ${LANG_ENGLISH} "Source code and Visual Studio 2005 (VS8) project files for building the xlwDotNet Assemblies & Tools."
LangString DESC_VS2008DotNet_SRC ${LANG_ENGLISH} "Source code and Visual Studio 2008 (VS9) project files for building the xlwDotNet Assemblies & Tools."
LangString DESC_VS2010DotNet_SRC ${LANG_ENGLISH} "Source code and Visual Studio 2010 (VS10) project files for building the xlwDotNet Assemblies & Tools."
LangString DESC_VS2012DotNet_SRC ${LANG_ENGLISH} "Source code and Visual Studio 2012 (VS11) project files for building the xlwDotNet Assemblies & Tools."
LangString DESC_VS2013DotNet_SRC ${LANG_ENGLISH} "Source code and Visual Studio 2013 (VS12) project files for building the xlwDotNet Assemblies & Tools."
;Assign language strings to sections
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${Libraries} $(DESC_Libraries)
!insertmacro MUI_DESCRIPTION_TEXT ${VS2003} $(DESC_VS2003)
!insertmacro MUI_DESCRIPTION_TEXT ${VS2005} $(DESC_VS2005)
!insertmacro MUI_DESCRIPTION_TEXT ${VS2008} $(DESC_VS2008)
!insertmacro MUI_DESCRIPTION_TEXT ${VS2010} $(DESC_VS2010)
!insertmacro MUI_DESCRIPTION_TEXT ${VS2012} $(DESC_VS2012)
!insertmacro MUI_DESCRIPTION_TEXT ${VS2013} $(DESC_VS2013)
!insertmacro MUI_DESCRIPTION_TEXT ${CODEBLOCKS} $(DESC_CODEBLOCKS)
!insertmacro MUI_DESCRIPTION_TEXT ${GCCMAKE} $(DESC_GCCMAKE)
!insertmacro MUI_DESCRIPTION_TEXT ${Source} $(DESC_Source)
!insertmacro MUI_DESCRIPTION_TEXT ${xlwExamples} $(DESC_xlwExamples)