-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup_is6.iss
2121 lines (1918 loc) · 149 KB
/
setup_is6.iss
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
; ---------------------------------------
; By EnergyCube 2020-2023
; Empire Earth Community Setup
; GNU General Public License v3.0
; ---------------------------------------
; Reborn : discord.com/invite/BjUXbFB
; ---------------------------------------
; Don't change the UTF-8 BOM encoding!
; UTF-8 doesn't preserve all characters
; ---------------------------------------
; Credit
; ---------------------------------------
; Translations :
; German : xXxJannik#0001, AmbozZ_Ger#3847
; French : EnergyCube
; Polish : Dr.MonaLisa#9523, jorrr1#1558
; Italian : Âgræl#9008
; Spanish : IvaN#9233, Kurt Z#8222
; Russian : FC_Fan#8831
; Others : DeepL / DuckDuckGo Translator
; ---------------------------------------
; External Dep.
; InnoSetup Downloader Plugin (download files + support mirrors), BASS (audio module)
; Additinal Content
; Omega (Patch & Neo Content Patch), yukon aka. drex (dreXmod.dll)
; Dege (DX Wrapper: dgVoodoo), GOG (DX Wrapper), zocker_160 & EnergyCube (Reborn.dll)
; Other Help
; CyrentiX#1219 (Compatibility), xq_happy#7140 (Compatibility & Chinese files) jorrr1#1558 (Polish files)
; giord#4697 (Content, Compatibility), IvaN#9233 (Spanish files), FC_Fan#8831 (Russian files)
; Every members of EE:Reborn team and and all others I may have forgotten :>
; ---------------------------------------
; Notes | Empire Earth is very sensitive to version change (which leads to multiplayer incompatibility),
; for | some modders might be interested in using this setup to deliver their mods. Please do not do
; Modders | this unless you have created a really popular and functional modpack. We must avoid creating
; | multiple versions of the game to avoid fracturing the community.
; ---------------------------------------
; Notes | Since the script is licensed under the GNU GPL v3 you have every right to modify the setup script
; for | to generate your own versions, but you must also publish the source code of the script.
; Dev | So I invite you to fork this project if you want and I pray you don't forget that we have to do
; | everything to unite the community around the world, if you have ideas of modifications to do don't
; | hesitate to make suggestions, I also invite you to make pull requests if you think you have done
; | something that deserves to be in this script. The version of the script I'm distributing should
; | become the standard to facilitate future installations. I hope you understand the objective and
; | how necessary and helpful it is for everyone.
; | If you think something is wrong, don't hesitate to tell me!
; ---------------------------------------
; Release Note
; ---------------------------------------
; 1.0.0.0 | Initial Version
; |--------- 16/02/2022 ----------
; | EE & AoC (in 11 languages)
; | Support NeoEE, dreXmod, Omega content
; | Support NeoEE CDKey generation (Admin)
; | Download localized content online (support mirror)
; | Online update checker (support mirror)
; | DirectX Wrapper (DX9 with GOG dll and DX12 with dgVoodoo dll)
; | Better compatibility with additonal flags
; | HD Content with FortuKing textures
; | Registered in Firewall (Admin)
; | DirectX 9 Install (when using DirectX Wrapper for DirectX 9)
; | Removable Movies
; | Digitally signed
; |-------------------------------
; | DX11 (API 10 & 11) has been disabled. It is obviously impossible to fix the bug related to the
; | full screen of the lobby (which puts the main window in window).
; | Reborn.dll is currently disabled because of a bug that makes it unusable with dgVoodoo (or makes
; | the window bug occur even with DirectX 12).
; | Since after analysis the binaries of GOG and the one of the 2002 Empire Earth crack are identical
; | the installation mode of the GOG binary has been removed since it is useless (its equivalent is to
; | simply use the DirectX Wrapper of DirectX 9)
; ----------------------------------------
; 1.0.0.1 | NeoEE version fix
; |--------- 17/02/2022 ----------
; | Fixed invalid regedit path for NeoEE (Installed From Directory was reversed)
; | Deleted old NeoEE integrated updater
; ----------------------------------------
; 1.0.1.0 | NeoEE CDKeys user support, fixed Regedit and added new tool
; |--------- 20/02/2022 ----------
; | Patched authtools.exe to install CDKeys in HKCU (now there is 2 authtools bin)
; | Patched EE & AoC to read CDKeys in HKCU (now there is 2 Neo EE/AoC bin)
; | Fixed wrong regedit compatibility delete that was deleting the entire (Layers) key
; | Reworked compatibility flags, with fewer flags and better admin rights
; | Added Empire Earth Diagnostic, a simple tool giving install informations (.NET 4)
; | Better certificate uninstall (check if another game is instaleld)
; | Allow to install the certificate as user
; | Redirected chinese traditional setup messages to chinese
; ----------------------------------------
; 1.0.2.0 | NeoEE Map fix, new HD content inc. icons with/witout letters
; |--------- 06/03/2022 ----------
; | Fixed invalid maps on NeoEE
; | Fixed EE:Diagnostic error while EE running
; | Reworked WON Lobby Dialog images
; | Added tips for recommanded multiplayer max pop for NeoEE
; | Updated HD Icons by Fortuking
; | Added some HD terrain textures from Yukon mod
; | Better file clean-up (OOS, UPnP)
; | Reworked Omega content management in the Setup
; ----------------------------------------
; 1.0.3.0 | eC Civs update, lobby regist. for Gen Z, fixed Linux setup crash, easy install mode and CD Keys/Install repair
; |--------- 14/04/2022 ----------
; | Updated eC civs thanks to Kazter
; | Added back the NeoEE Updater because it could still be required
; | NeoEE registration now allow year up to 3000 (was limited to 1999)
; | Fixed NeoEE Admin binary headers
; | Added a new page in the setup to install with default options (easy) or custom options
; | Added a new page for default options to select GPU vendor to try to apply settings
; | Renamed 'Game Intro' to 'Install intro videos' to avoid that people don't understand
; | Updated HD Icons by Fortuking
; | CD Keys now display an error message when fail
; | Installation step has been reworked to use safer IS function instead of the page ID
; | Components/Tasks now split the elements rather than stupidly looking for a match in the whole reg list as string
; | Added back dgVoodoo DX 11 config and more stable DX 12 thanks to Giord (also removed useless dgVoodoo dlls files)
; | Fixed AoC directory creation when not installing it while using DirectX Wrapper
; | Reworked gold corners of IG interface (isn't in HD content, it's by default)
; | Removed already installed warning
; |-------------------------------
; | I am still shocked by the results of the first round of the presidential
; | election of the French Republic, so there can be errors of innatention in the code...
; ----------------------------------------
; 1.0.4.0 | Better support for Wine and ARM, added Telemetry (+possibility to accept/refuse) and dreXmod 3
; |--------- 24/12/2022 ----------
; | Added Empire Earth Stats v1.0.4
; | Added dreXmod v3 (yeah, I'm not kidding, it's finally released)
; | - Add a ranking system in the multiplayer lobby
; | - Add an anti cheat system
; | - Improved resolution patch
; | - Add a Lobby Theme and Mod system
; | - Add a quick civ selection in game
; | - Various minor improvement and fix for the game and lobby
; | Now able to agree or reject tracking for dreXmod and EES!
; | Updated EE Discord from v1.0 to v1.1.1
; | More secure files and folder permissions, only Data/Users can be edited by anyone (avoid non-admin to add/edit dll to game dir)
; | Show update and not repair when a setup version different from the one already installed is started
; | EE Diag is no more selected by default with Wine
; | Fixed invalid regedit path not overwrited when not created by the setup (Sierra Setup create but don't delete it...)
; | Fixed Wine detection, the setup was reading the registry, we are now using a dll that call ntdll.dll -> wine_get_version
; | Disabled compatibiliy, firewall, certutil and file permissions flags for Wine (was useless and speed up the install process)
; | Removed Retail/GOG text on EE/AoC banners since we only use Retail
; | Less visible EE black border in startup banner and reduced EnergyCube logo opacity
; | Added Setup mutex to avoid multiple instance running at the same time
; | Reworked the Setup code and reorganized some parts because the code was getting really messy
; | Added ARM support (tested on Windows 11 ARM64 Parallels Desktop)
; | Fixed regedit entry for Wine installations (created even without using AoC for ex.)
; | Added EE and AoC pl campain thanks to jorrr1#1558
; | Fixed Scenario Editor render bug caused by HD Terrain that was transparent
; ----------------------------------------
; 1.0.4.1 | Runtime fix
; |--------- 26/12/2022 ----------
; | DLL are now compiled with /MT to ensure no additional runtime libs are required
; | This include: EEStats.dll EEStatsSetup.dll EEDiscord.dll
; ----------------------------------------
; 1.5.0 | Massive bug fixing in the setup, more simple installation and new language behaviour for setup
; |--------- 06/02/2023 ----------
; | Changed setup versioning to semantic versioning (old one didn't make sense but was respecting the format of the game)
; | Added localized message for telemetry
; | Updated dgVoodoo from v2.71.3 to v2.79.3
; | Fixed tab overlapping in the Internet Screen and adjusted the one in the LAN Screen
; | Fixed telemetry selection when disabled in install mode screen that was still enabled in custom components list
; | Updated dreXmod from v3.0 to v3.1
; | - Fix AoC camera bug introduced in v3.0
; | - Reworked themes to support dynamic fonts & UI (resolution)
; | - dxmdata is now located in data\dxm
; | - Fixed a crash when dxmdata was not found
; | Updated EES from v1.0.4 to v1.0.5
; | Added 'Take JPG Screenshots' to regedit, allowing game screenshots to be jpg and not bmp, which greatly reduces the files size
; | Reactivation of the DirectPlay installation
; | Reworked languages folders to fit https://github.com/EE-modders/localized-text
; | The setup language is now different than the game one, so a game lang page has been added
; | The setup no longer ask the setup lang except if unable to detect a setup compatible one
; | Fixed invalid telemetry selection that could be unselected in some cases
; | Fixed a bug that make the setup telemetry always report installed as true
; | Thanks to Jodocus authtools source code, I converted it to a dll with build in admin/user support, AV should be happy now
; | Automatic GPU detection for DirectX Wrapper
; | Added Warning Message Box (and log) if authtools.dll is removed (probably by antivirus)
; | Muting the setup audio will now pause the music instead of muting it
; | Updated IDP from v1.5.1 to v1.6.0 (compiled manually using VS2005 on XP)
; | DirectX End-User Runtime install now use the web based installer to reduce the setup
; | Added EE & AoC mutex to Setup to detect and avoid operations while an instance is running
; ----------------------------------------
; 1.6.0 | NeoEE maps update, localization fix and dXm update
; |--------- 18/07/2023 ----------
; | Updated dreXmod from v3.1 to v3.2
; | - The game can now load campaign in other languages than the one used by Language.dll
; | - Rank database fetching reduced with cache
; | - A little faster game saving
; | - A little faster game start (no more strange windows creation on game start)
; | - Fixed invalid map type when doing /[set name] in an existing multiplayer game
; | - Now possible to close the previous game instance in case it's still running in background
; | - Fixed lobby/game rank icon size that was not respecting the resolution mentioned in dreXmod.config
; | - Gate-crash fix (the patch is already present on NeoEE, but since it's now in dxm any EE/AoC instance will have the fix)
; | Include dreXmod image web cache by default to reduce the freze time during first login
; | DX Web setup only run for DX9 and native render
; | Fixed problems with the language patching (EE-modders/localized-text)
; | Fixed invalid auto GPU selection
; | Reworked dgVoodoo configs
; | Fixed invalid NeoEE WON files copy
; | Disabled online DirectX End-User Runtime install for Wine
; | Improved laptop compatibility by suggesting to windows 10/11 to use a real graphic card if present
; | Updated IS from 6.2.1 to 6.2.2
; | Use the windows resolution as default game resolution if >=1024x768 && <=1920x1080
; | Fixed invalid repair/modify auto selection (was messed up with telemetry agreement)
; | Added Kazter RMS Pack v1 for Neo (and included Perfect Island by yukon) (+13 (11 + 2) maps)
; | Stats send is now asynchronous (not sure that it work)
; | Removed J2 civs
; ----------------------------------------
; 1.6.1 | dgVoodoo update and window priority fixed
; |--------- 30/07/2023 ----------
; | Updated dgVoodoo from v2.79.3 to v2.81.0
; | dreXmod now show EE intro video by default if present to avoid window priority focus bug with dgVoodoo
; | dreXmod edited to respect XML v1 convention (header comment was wrong)
; ----------------------------------------
; 1.7.0 | dreXmod update and performance improvement
; |--------- 29/11/2023 ----------
; | Updated dgVoodoo from v2.81.0 to v2.82.1
; | - Corrected window size issue when going in game from lobby/scn editor and dgVoodoo
; | - White minimap fixed
; | Added DDrawCompat 0.5.1 pre-release with EE fix #251
; | Minor file clean-up improvement
; | Added NeoEE extra maps by default for NeoEE installs
; | Updated French _WONStatus.cfg
; | Disabled Anti-Virus prevention message as most anti virus no longer report false positive
; | Updated dreXmod from v3.2 to v3.4
; | - Fixed game crash on Windows < 8 caused by 32 bits display check skip
; | - 10 Players support in lobby
; | - Menu resolution editable during runtime in the game settings
; | - Force vertex buffer into system memory for T&L
; | - Auto updater don't lock process for more than 5s (was 100s)
; | - Missed message summary while in game
; ----------------------------------------
; 1.7.1 | dreXmod update and performance improvement
; |--------- 29/11/2023 ----------
; | Fixed an invalid RMS in the NeoEE Extra RMS
; | Fixed invalid Vanilla custom RMS selection
; ----------------------------------------
; 1.7.2 | updated dreXmod config
; |--------- 04/12/2023 ----------
; | dreXmod config changes
; | - Disabled mod section
; | - Fixed invalid HUD size since 10 players support
; ----------------------------------------
; SETUP SETTINGS
#define MySetupVersion "1.7.2"
#define MyAppGroupName "Empire Earth"
; InstallMode : Regular / Portable
#define InstallMode "Regular"
; InstallType : EE / NeoEE
#define InstallType "EE"
; Sign Setup/Uninstall
; Note: Signing the setup allows you to avoid the warning messages of Windows (saying that it would be
; a virus...). This certificate is not free because everyone knows that trust can be bought...
; However, when a user installs a signed version of the setup, by default he installs the joint
; certificate on his computer (if CertInclude = true + user confirmation). If you want to use
; the community certificate, contact me on discord, I will sign your setup after a verification.
#define SignSetup false
#if SignSetup
; Install Cert
#define CertInclude true
; Cert File Name (Need to be in data)
#define CertFileName "cert_name.crt"
; Cert Hash SHA1 (very important, needed to uninstall the cert)
#define CertHashSHA1 ""
#else
#define CertInclude false
#endif
; Regedit
#if InstallType == "EE"
#define BaseRegEE = "Software\SSSI\Empire Earth"
#define BaseRegAoC = "Software\Mad Doc Software\EE-AOC"
#elif InstallType == "NeoEE"
#define BaseRegEE = "Software\Neo\Empire Earth"
#define BaseRegAoC = "Software\Neo\Art of Conquest"
#else
#error Unsupported Install Type
#endif
#define BaseRegCompatibility = "Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"
; TestID (0 if Release)
#define TestID = 0
; END SETUP SETTINGS
; Reminder
; Update MyAppVersion if the update is a game update
; Update MySetupVersion if the update is a setup update
; Update MySetupVersion if updating MyAppVersion only if the setup is really updated
; When releasing a new MySetupVersion, it should be distribued for both EE & Neo
; MySetupVersion is a good way to know the features of the setup, meaning that EE & Neo should share the same version !
#define EE_AppID ""
#define NeoEE_AppID ""
#if InstallType == "EE"
#define AppID EE_AppID
#define MyAppVersion "2.0.0.0"
#define MyAppName "Empire Earth"
#define MyAppPublisher "Empire Earth Community"
#define MyAppURL "https://empireearth.eu/"
#define MyInstallDirName "Empire Earth"
#define MySetupPassword "ee"
#elif InstallType == "NeoEE"
#define AppID NeoEE_AppID
#define MyAppVersion "2.0.0.5"
#define MyAppName "NeoEE"
#define MyAppPublisher "Empire Earth Community & NeoEE"
#define MyAppURL "https://www.neoee.net/"
#define MyInstallDirName "Neo Empire Earth"
#define MySetupPassword "neo"
#else
#error Unsupported Install Type
#endif
; AppId: Tools > Generate GUID
; Be very carefull to AppId, it's like the unique id of the setup, be sure to generate it with inno setup
; the first time you distribute your setup and to keep it forever for the setup !
; So since it's a unique setup id, EE & NeoEE must have different AppId !
[Setup]
; SignTool: We need to use InnoSetup SignTool feature to sign install/uninstall etc...
AppId={{{#AppID}}
#if InstallType == "EE"
SetupIconFile=data\Empire Earth Base\Empire Earth\game.ico
WizardSmallImageFile=internal\media\WizardSmallImageFileEE.bmp
#if SignSetup
SignTool=NameInInnoSetupEE $f
#endif
#elif InstallType == "NeoEE"
SetupIconFile=data\NeoEE Base\shared\neoee.ico
WizardSmallImageFile=internal\media\WizardSmallImageFileNeo.bmp
#if SignSetup
SignTool=NameInInnoSetupNeo $f
#endif
#endif
SetupMutex={#InstallType}_Setup
AppMutex=StainlessSteelStudiosPresentsEmpireEarth,MadDocSoftwarePresentsEmpireEarthExpansion
AppName={#MyAppName}
AppVersion={#MyAppVersion}
VersionInfoProductVersion={#MyAppVersion}
VersionInfoVersion={#MySetupVersion}
VersionInfoCopyright={#MyAppPublisher}
AppVerName={#MyAppName} v{#MyAppVersion} - Setup v{#MySetupVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultGroupName={#MyAppGroupName}
AllowNoIcons=yes
LicenseFile=data\Empire Earth Base\Empire Earth\EULA_DSML.txt
#if InstallType == "NeoEE"
InfoBeforeFile=data\NeoEE Base\shared\neoee_rules.rtf
#endif
InfoAfterFile=data\Empire Earth Base\Empire Earth\help.rtf
OutputDir=out
; lzma2/max = 32mo of ram (noticed 42mo on W10 & XP)
; Since EE need 64mo (including Windows), lzma2/max is the maximum compression
#if TestID == 0
Compression=lzma2/max
#else
Compression=zip/1
#endif
SolidCompression=no
LZMAUseSeparateProcess=yes
WizardImageFile=internal\media\SetupBanner.bmp
WindowVisible=True
WindowResizable=False
WindowShowCaption=False
UninstallDisplayIcon={uninstallexe}
DirExistsWarning=no
ShowLanguageDialog=auto
#if Ver >= EncodeVer(6, 0, 0)
WizardStyle=modern
#else
WizardStyle=classic
#endif
; Windows 10/11 ARM
; EE working on ARM thanks to the Windows x86 to ARM translation
; By not defining ArchitecturesAllowed IS will allow the setup to run
; on any machine supporting x86 (so ARM emulation will work)
; So never uncomment that line unless we want to restrict the install to some arch
; ArchitecturesAllowed=x86 x64 arm64
; I have condemned myself forever to use this option...
; I don't need it at all but I didn't understand how ArchitecturesAllowed works
; So I had to use it to avoid regedit redirection in WOW6432Node on x64
; I should have used IsWin64 and HK[...]64 or not IsWin64 and HK[...]32
ArchitecturesInstallIn64BitMode=x64 arm64 ia64
; Warning for MinVersion < 6.1sp1
; From IS 6, Windows < 6.1sp1 has been disabled for security reasons.
; We can force it to support from Windows 6.0 (Vista) but that's *insecure*
; Keeping that security is okay I think, creating a legacy setup with IS 5
; would be the real solution for that problem since it's clearly 'legacy'
; MinVersion=6.0
; If for any reason, Setup is reported to be a virus uncomment this to crypt files...
; The setup will display the password when asked to the user :)
; Also the setup should work, remember that any ressources used befoare the password
; validation need the 'noencryption' flag in Inno Setup !
; Encryption=yes
; Password={#MySetupPassword}
#if InstallMode == "Regular"
PrivilegesRequiredOverridesAllowed=commandline dialog
UsePreviousAppDir=yes
Uninstallable=yes
CreateUninstallRegKey=yes
PrivilegesRequired=admin
DefaultDirName={autopf32}\{#MyInstallDirName}
#if InstallType == "EE"
OutputBaseFilename={#InstallType}_Setup_v{#MySetupVersion}
#elif InstallType == "NeoEE"
OutputBaseFilename={#InstallType}_v{#MyAppVersion}_Setup_v{#MySetupVersion}
#endif
#elif InstallMode == "Portable"
UsePreviousAppDir=no
Uninstallable=no
CreateUninstallRegKey=no
PrivilegesRequired=lowest
DefaultDirName={src}\{#MyInstallDirName} Portable
#if InstallType == "EE"
OutputBaseFilename={#InstallType}_Portable_Setup_v{#MySetupVersion}
#elif InstallType == "NeoEE"
OutputBaseFilename={#InstallType}_Portable_v{#MyAppVersion}_Setup_v{#MySetupVersion}
#endif
#else
#error Unsupported Install Mode
#endif
; Includes
#include "utils.iss"
#include "messages.iss"
#include "internal\lib\idp\idp.iss"
#define BassLoopSound "internal\misc\Loop.flac"
#include "internal\lib\bass\bass.iss"
[Languages]
Name: "de"; MessagesFile: "compiler:Languages\german.isl"
Name: "en"; MessagesFile: "compiler:Default.isl"
Name: "es"; MessagesFile: "compiler:Languages\spanish.isl"
Name: "fr"; MessagesFile: "compiler:Languages\french.isl"
Name: "it"; MessagesFile: "compiler:Languages\italian.isl"
Name: "ko"; MessagesFile: "internal\unofficial_isl\IS6\korean.isl"
Name: "pl"; MessagesFile: "compiler:Languages\Polish.isl"
Name: "pt_BR"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl"
Name: "zh_CN"; MessagesFile: "internal\unofficial_isl\IS6\ChineseSimplified.isl"
Name: "zh_TW"; MessagesFile: "internal\unofficial_isl\IS6\ChineseTraditional.isl"
; Additional for Setup
Name: "hy"; MessagesFile: "compiler:Languages\Armenian.isl"
Name: "bg"; MessagesFile: "compiler:Languages\Bulgarian.isl"
Name: "ca"; MessagesFile: "compiler:Languages\Catalan.isl"
Name: "cs"; MessagesFile: "compiler:Languages\Czech.isl"
Name: "da"; MessagesFile: "compiler:Languages\Danish.isl"
Name: "nl"; MessagesFile: "compiler:Languages\Dutch.isl"
Name: "fi"; MessagesFile: "compiler:Languages\Finnish.isl"
Name: "he"; MessagesFile: "compiler:Languages\Hebrew.isl"
Name: "is"; MessagesFile: "compiler:Languages\Icelandic.isl"
Name: "ja"; MessagesFile: "compiler:Languages\Japanese.isl"
Name: "nb"; MessagesFile: "compiler:Languages\Norwegian.isl"
Name: "pt_PT"; MessagesFile: "compiler:Languages\Portuguese.isl"
Name: "sk"; MessagesFile: "compiler:Languages\Slovak.isl"
Name: "sl"; MessagesFile: "compiler:Languages\Slovenian.isl"
Name: "tr"; MessagesFile: "compiler:Languages\Turkish.isl"
Name: "uk"; MessagesFile: "compiler:Languages\Ukrainian.isl"
[Types]
Name: "full"; Description: "Full game install";
Name: "compact"; Description: "Compact game install";
Name: "custom"; Description: "Custom game install"; Flags: iscustom
Name: "raw"; Description: "Raw game install";
[Tasks]
Name: "compatibility"; Description: "Enable compatibility flags"; MinVersion: 0.0,5.1; Check: not IsWine
Name: "compatibility_windows"; Description: "Enable earlier Windows compatibility mode"; MinVersion: 0.0,5.1; Check: not IsWine
Name: "firewallexception"; Description: "Add Empire Earth in the FireWall"; MinVersion: 0.0,5.0; Check: IsAdminInstallMode and not IsWine
; GOG Setup install DirectPlay but i don't think it's really important... some kind of default install for old DX game maybe
Name: "directplay"; Description: "Install DirectPlay"; MinVersion: 6.2; Check: IsAdminInstallMode
Name: "dxwebsetup"; Description: "Install DirectX End-User Runtime"; MinVersion: 0.0,5.0; Check: IsAdminInstallMode and not IsWine; Components: additional\directx_wrapper\dx9 or not additional\directx_wrapper
#if InstallType == "NeoEE"
; Since 1.0.1.0 NeoEE CDKeys support HKLM & HKCU
Name: "neoee_cdkeys"; Description: "Register NeoEE CDKeys (Required to use the online lobby)"; MinVersion: 0.0,5.0;
#endif
#if CertInclude
Name: "certinclude"; Description: "Install Empire Earth Community Certificate (Uncheck if you don't trust us!)"; MinVersion: 0.0,6.0; Check: IsAdminInstallMode and not IsWine
Name: "certinclude"; Description: "Install Empire Earth Community Certificate (Check only if you trust us!)"; MinVersion: 0.0,6.0; Flags: unchecked; Check: not IsAdminInstallMode and not IsWine
#endif
Name: "everyoneadminstart"; Description: "Require administrator rights for all users to run the game"; MinVersion: 0.0,5.1; Flags: unchecked; Check: IsAdminInstallMode and not IsWine
#if InstallMode != "Portable"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0.0,6.1
#endif
[Components]
Name: "game"; Description: "{#MyAppName}"; Types: full compact custom raw; Flags: fixed
; ------------------
Name: "gameaoc"; Description: "{#MyAppName} : The Art of Conquest"; Types: full
; ------------------
Name: "additional"; Description: "Additional Recommended Content"
Name: "additional\movies"; Description: "Install intro videos"; Flags: disablenouninstallwarning;
Name: "additional\hd"; Description: "HD/HQ Content"; Flags: disablenouninstallwarning; Types: full
Name: "additional\hd\terrain"; Description: "HD Terrain v1.0 (by Sleeper & Yukon)"; Types: full
Name: "additional\hd\music"; Description: "HQ Musics WIP (by Fortuking)"; Types: full
Name: "additional\hd\buildings"; Description: "HD Buildings Icons v3.0 (by Fortuking)"; Types: full;
Name: "additional\hd\tech"; Description: "HD Tech Icons v3.0.1 (by Fortuking)"; Types: full;
Name: "additional\hd\effects"; Description: "HD Effects WIP (by Fortuking)"; Types: full;
Name: "additional\drexmod"; Description: "dreXmod to enhance/add features (by Yukon)"
//#if InstallType == "EE" ; Prefer dxm2
// Name: "additional\drexmod\v2"; Description: "dreXmod v2 for better Camera/HUD/Lobby "; Flags: exclusive disablenouninstallwarning; Types: full compact; MinVersion: 0,5.1
// Name: "additional\drexmod\v3"; Description: "dreXmod v3 for better Camera/HUD/Lobby/Ranking/AntiCheat"; Flags: exclusive disablenouninstallwarning; MinVersion: 0,5.1
//#elif InstallType == "NeoEE" ; Prefer dxm3
Name: "additional\drexmod\v3"; Description: "dreXmod v3 for better Camera/HUD/Lobby/Ranking/AntiCheat"; Flags: exclusive disablenouninstallwarning; Types: full compact; MinVersion: 0,5.1
Name: "additional\drexmod\v2"; Description: "dreXmod v2 for better Camera/HUD/Lobby"; Flags: exclusive disablenouninstallwarning; MinVersion: 0,5.1
//#endif
; Name: "additional\reborn"; Description: "Reborn.dll v0.1 for better Camera, Resolution and Solo Max Units"; Flags: disablenouninstallwarning; Types: full compact; MinVersion: 0,5.1
#if InstallType == "EE"
Name: "additional\rms"; Description: "Random Map Scripts";
Name: "additional\rms\omega"; Description: "Omega Pack";
Name: "additional\rms\neoextra"; Description: "NeoEE Extra";
#endif
Name: "additional\directx_wrapper"; Description: "DirectX Wrapper"; Flags: disablenouninstallwarning; MinVersion: 0.0,6.1
Name: "additional\directx_wrapper\dx7"; Description: "DirectX 7 [Lightest]"; Flags: exclusive disablenouninstallwarning; MinVersion: 0.0,6.1
Name: "additional\directx_wrapper\dx9"; Description: "DirectX 9 [Most Compatible]"; Flags: exclusive disablenouninstallwarning; MinVersion: 0.0,6.1
Name: "additional\directx_wrapper\dx11_lvl10"; Description: "DirectX 11 API lvl 10 v2.82.1"; Flags: exclusive disablenouninstallwarning; MinVersion: 0.0,6.1
Name: "additional\directx_wrapper\dx11_lvl10_1"; Description: "DirectX 11 API lvl 10.1 v2.82.1"; Flags: exclusive disablenouninstallwarning; MinVersion: 0.0,6.1
Name: "additional\directx_wrapper\dx11_lvl11"; Description: "DirectX 11 API lvl 11 v2.82.1 [Generally Recommended]"; Flags: exclusive disablenouninstallwarning; MinVersion: 0.0,6.1
Name: "additional\directx_wrapper\dx12_lvl11"; Description: "DirectX 12 API lvl 11 v2.82.1 [Experimental]"; Flags: exclusive disablenouninstallwarning; MinVersion: 0.0,10;
Name: "additional\directx_wrapper\dx12_lvl12"; Description: "DirectX 12 API lvl 12 v2.82.1 [Experimental]"; Flags: exclusive disablenouninstallwarning; MinVersion: 0.0,10;
Name: "additional\telemetry"; Description: "Telemetry (Compatibility and Stats)"; Flags: disablenouninstallwarning; MinVersion: 0.0,6.1
Name: "additional\discord"; Description: "Discord Presence"; Flags: disablenouninstallwarning; Types: full compact; MinVersion: 0.0,6.1; Check: not IsWine
Name: "additional\tools"; Description: "Tools";
Name: "additional\tools\diagnostic"; Description: "Empire Earth Diagnostic"; Flags: disablenouninstallwarning; Types: full compact; MinVersion: 0.0,6.1; Check: not IsWine
Name: "additional\civs"; Description: "Civilizations"
Name: "additional\civs\ec"; Description: "eC Standard Civilizations (25)"; Types: full compact
Name: "additional\civs\ec_full"; Description: "eC Full Civilizations (71)"; Types: full
Name: "language"; Description: "Game Language"; Types: full compact custom raw; Flags: disablenouninstallwarning fixed;
Name: "language\de"; Description: "{cm:LIQP_de}"; Flags: exclusive;
Name: "language\en"; Description: "{cm:LIQP_en}"; Flags: exclusive;
Name: "language\es"; Description: "{cm:LIQP_es}"; Flags: exclusive;
Name: "language\fr"; Description: "{cm:LIQP_fr}"; Flags: exclusive;
Name: "language\it"; Description: "{cm:LIQP_it}"; Flags: exclusive;
Name: "language\ko"; Description: "{cm:LIQP_ko}"; Flags: exclusive;
Name: "language\pl"; Description: "{cm:LIQP_pl}"; Flags: exclusive;
Name: "language\pt_BR"; Description: "{cm:LIQP_pt_BR}"; Flags: exclusive;
Name: "language\ru"; Description: "{cm:LIQP_ru}"; Flags: exclusive;
Name: "language\zh_CN"; Description: "{cm:LIQP_zh_CN}"; Flags: exclusive;
Name: "language\zh_TW"; Description: "{cm:LIQP_zh_TW}"; Flags: exclusive;
Name: "language\update"; Description: "Download localized voices and campaigns"; Types: full compact custom raw; Flags: disablenouninstallwarning;
[Files]
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
; For future ? signonce/sign
#if CertInclude
Source: "internal\misc\{#CertFileName}"; DestDir: "{tmp}"; DestName: "{#CertFileName}"; Flags: deleteafterinstall; Tasks: certinclude;
#endif
;Source: "data\Add-on\DLLs\EEStats\EEStats.dll"; Flags: dontcopy noencryption nocompression; MinVersion: 0.0,6.1
Source: "data\Add-on\DLLs\EEStats\EEStatsSetup.dll"; DestDir: "{app}\{#AppID}"; Flags: noencryption nocompression ignoreversion recursesubdirs createallsubdirs; MinVersion: 0.0,5.1
#if InstallType == "EE"
Source: "internal\media\SetupBackground-4-3.bmp"; DestDir: "{tmp}"; DestName: "SetupBackground-4-3.bmp"; Flags: deleteafterinstall dontcopy noencryption
Source: "internal\media\SetupBackground-16-9.bmp"; DestDir: "{tmp}"; DestName: "SetupBackground-16-9.bmp"; Flags: deleteafterinstall dontcopy noencryption
#elif InstallType == "NeoEE"
Source: "internal\media\SetupBackground-4-3-Neo.bmp"; DestDir: "{tmp}"; DestName: "SetupBackground-4-3.bmp"; Flags: deleteafterinstall dontcopy noencryption
Source: "internal\media\SetupBackground-16-9-Neo.bmp"; DestDir: "{tmp}"; DestName: "SetupBackground-16-9.bmp"; Flags: deleteafterinstall dontcopy noencryption
#endif
Source: "internal\runtime\directx\dxwebsetup.exe"; DestDir: "{tmp}\directx"; Flags: deleteafterinstall ignoreversion recursesubdirs createallsubdirs nocompression; Tasks: dxwebsetup
; ----------------
; EE Base
Source: "data\Empire Earth Base\Empire Earth\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game;
;Source: "data\Empire Earth Base\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game;
; EE Movies
Source: "data\Add-on\Movies\EE\*"; DestDir: "{app}\Empire Earth\Data\Movies"; Flags: ignoreversion recursesubdirs createallsubdirs nocompression; Components: additional\movies and game;
#if InstallType == "NeoEE"
Source: "data\NeoEE Base\Empire Earth\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game
Source: "data\NeoEE Base\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game
Source: "data\Add-on\RMS\Omega\EE\*"; DestDir: "{app}\Empire Earth\Data\Random Map Scripts"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game
Source: "data\Add-on\RMS\NeoExtra\*"; DestDir: "{app}\Empire Earth\Data\Random Map Scripts"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game
Source: "data\NeoEE - Admin\Empire Earth\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game; Check: IsAdminInstallMode
Source: "data\NeoEE - User\Empire Earth\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game; Check: not IsAdminInstallMode
Source: "data\NeoEE - CDKeys\authtools.dll"; DestDir: "{tmp}"; DestName: "authtools.dll"; Flags: dontcopy noencryption nocompression; Components: game;
Source: "data\NeoEE - CDKeys\_wonkver.pub"; DestDir: "{app}\Empire Earth"; Flags: deleteafterinstall ignoreversion recursesubdirs createallsubdirs; Components: game
; NeoEE - Wine Fix (GDI)
Source: "data\NeoEE - Wine\NeoEE.cfg"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game; Check: IsWine
#endif
; EE Lang Game Based Content
Source: "data\localized-text\Game\de\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\de
Source: "data\localized-text\Game\en\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\en
Source: "data\localized-text\Game\es\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\es
Source: "data\localized-text\Game\fr\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\fr
Source: "data\localized-text\Game\it\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\it
Source: "data\localized-text\Game\ko\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ko
Source: "data\localized-text\Game\pl\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pl
Source: "data\localized-text\Game\pt-BR\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pt_BR
Source: "data\localized-text\Game\ru\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ru
Source: "data\localized-text\Game\zh-CN\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\zh_CN
Source: "data\localized-text\Game\zh-TW\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\zh_TW
; EE Lang Lobby Based Content
Source: "data\localized-text\Lobby\de\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\de
Source: "data\localized-text\Lobby\en\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\en
Source: "data\localized-text\Lobby\es\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\es
Source: "data\localized-text\Lobby\fr\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\fr
Source: "data\localized-text\Lobby\it\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\it
Source: "data\localized-text\Lobby\ko\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ko
Source: "data\localized-text\Lobby\pl\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pl
Source: "data\localized-text\Lobby\pt-BR\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pt_BR
Source: "data\localized-text\Lobby\ru\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ru
Source: "data\localized-text\Lobby\zh\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and (language\zh_CN or language\zh_TW)
Source: "data\localized-text\Lobby\de\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\de
Source: "data\localized-text\Lobby\en\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\en
Source: "data\localized-text\Lobby\es\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\es
Source: "data\localized-text\Lobby\fr\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\fr
Source: "data\localized-text\Lobby\it\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\it
Source: "data\localized-text\Lobby\ko\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ko
Source: "data\localized-text\Lobby\pl\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pl
Source: "data\localized-text\Lobby\pt-BR\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pt_BR
Source: "data\localized-text\Lobby\ru\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ru
Source: "data\localized-text\Lobby\zh\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and (language\zh_CN or language\zh_TW)
#if InstallType == "NeoEE"
; NeoEE Lang Lobby Based Content
Source: "data\localized-text\Mods\NeoEE\Game\de\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\de
Source: "data\localized-text\Mods\NeoEE\Game\en\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\en
Source: "data\localized-text\Mods\NeoEE\Game\es\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\es
Source: "data\localized-text\Mods\NeoEE\Game\fr\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\fr
Source: "data\localized-text\Mods\NeoEE\Game\it\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\it
Source: "data\localized-text\Mods\NeoEE\Game\ko\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ko
Source: "data\localized-text\Mods\NeoEE\Game\pl\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pl
Source: "data\localized-text\Mods\NeoEE\Game\pt-BR\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pt_BR
Source: "data\localized-text\Mods\NeoEE\Game\ru\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ru
Source: "data\localized-text\Mods\NeoEE\Game\zh-CN\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\zh_CN
Source: "data\localized-text\Mods\NeoEE\Game\zh-TW\EE\Language.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\zh_TW
Source: "data\localized-text\Mods\NeoEE\Lobby\de\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\de
Source: "data\localized-text\Mods\NeoEE\Lobby\en\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\en
Source: "data\localized-text\Mods\NeoEE\Lobby\es\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\es
Source: "data\localized-text\Mods\NeoEE\Lobby\fr\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\fr
Source: "data\localized-text\Mods\NeoEE\Lobby\it\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\it
Source: "data\localized-text\Mods\NeoEE\Lobby\ko\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ko
Source: "data\localized-text\Mods\NeoEE\Lobby\pl\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pl
Source: "data\localized-text\Mods\NeoEE\Lobby\pt-BR\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pt_BR
Source: "data\localized-text\Mods\NeoEE\Lobby\ru\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ru
Source: "data\localized-text\Mods\NeoEE\Lobby\zh\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and (language\zh_CN or language\zh_TW)
Source: "data\localized-text\Mods\NeoEE\Lobby\de\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\de
Source: "data\localized-text\Mods\NeoEE\Lobby\en\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\en
Source: "data\localized-text\Mods\NeoEE\Lobby\es\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\es
Source: "data\localized-text\Mods\NeoEE\Lobby\fr\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\fr
Source: "data\localized-text\Mods\NeoEE\Lobby\it\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\it
Source: "data\localized-text\Mods\NeoEE\Lobby\ko\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ko
Source: "data\localized-text\Mods\NeoEE\Lobby\pl\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pl
Source: "data\localized-text\Mods\NeoEE\Lobby\pt-BR\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\pt_BR
Source: "data\localized-text\Mods\NeoEE\Lobby\ru\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and language\ru
Source: "data\localized-text\Mods\NeoEE\Lobby\zh\shared\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: game and (language\zh_CN or language\zh_TW)
#endif
; EE Online Lang Any Based Content
Source: "{tmp}\EE\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs external skipifsourcedoesntexist; Components: game language\update;
; DreXmod 2 (+privacy patched dll, because nothing allow to disable it in config)
Source: "data\Add-on\DLLs\dreXmod\2\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\drexmod\v2 and game;
Source: "data\Add-on\DLLs\dreXmod\2_privacy\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\drexmod\v2 and game and not additional\telemetry;
; DreXmod 3 (+privacy config)
Source: "data\Add-on\DLLs\dreXmod\3\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\drexmod\v3 and game;
Source: "data\Add-on\DLLs\dreXmod\3_privacy\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\drexmod\v3 and game and not additional\telemetry;
; RMS
#if InstallType == "EE"
; Omega
Source: "data\Add-on\RMS\Omega\EE\*"; DestDir: "{app}\Empire Earth - The Art of Conquest\Data\Random Map Scripts"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\rms\omega and game
Source: "data\Add-on\RMS\NeoExtra\*"; DestDir: "{app}\Empire Earth - The Art of Conquest\Data\Random Map Scripts"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\rms\neoextra and gameaoc
#endif
; dgVoodoo Bin
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_bin\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper and game and not additional\directx_wrapper\dx9 and not additional\directx_wrapper\dx7
Source: "data\\Add-on\DirectX_Wrapper\GOG\DDraw.dll"; DestDir: "{app}\Empire Earth"; DestName: "DDraw.dll"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx9 and game;
Source: "data\\Add-on\DirectX_Wrapper\DDrawCompat\DDraw.dll"; DestDir: "{app}\Empire Earth"; DestName: "DDraw.dll"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx7 and game;
; dgVoodoo Conf
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_conf\dgVoodoo_DX11_LVL10.conf"; DestDir: "{app}\Empire Earth"; DestName: "dgVoodoo.conf"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx11_lvl10 and game;
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_conf\dgVoodoo_DX11_LVL10_1.conf"; DestDir: "{app}\Empire Earth"; DestName: "dgVoodoo.conf"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx11_lvl10_1 and game;
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_conf\dgVoodoo_DX11_LVL11.conf"; DestDir: "{app}\Empire Earth"; DestName: "dgVoodoo.conf"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx11_lvl11 and game;
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_conf\dgVoodoo_DX12_LVL11.conf"; DestDir: "{app}\Empire Earth"; DestName: "dgVoodoo.conf"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx12_lvl11 and game;
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_conf\dgVoodoo_DX12_LVL12.conf"; DestDir: "{app}\Empire Earth"; DestName: "dgVoodoo.conf"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx12_lvl12 and game;
; Civs
Source: "data\Add-on\Civs\eC\*"; DestDir: "{app}\Empire Earth\Users\default\Civilizations"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\civs\ec and game
Source: "data\Add-on\Civs\eC_full\*"; DestDir: "{app}\Empire Earth\Users\default\Civilizations"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\civs\ec_full and game
; Discord
Source: "data\Add-on\DLLs\Discord\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\discord and game
; Reborn.dll
; Source: "data\Add-on\DLLs\Reborn\*"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\reborn and game
; EEStats
Source: "data\Add-on\DLLs\EEStats\EEStats.dll"; DestDir: "{app}\Empire Earth"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\telemetry and game; MinVersion: 0.0,6.1
; HD
Source: "data\Add-on\HD\terrain\*"; DestDir: "{app}\Empire Earth\Data\Textures"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\hd\terrain and game
; Music
Source: "data\Add-on\HD\music\*"; DestDir: "{app}\Empire Earth\Data\Sounds"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\hd\music and game
; Tech
Source: "data\Add-on\HD\tech\*"; DestDir: "{app}\Empire Earth\Data\Textures"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\hd\tech and game
; Building
Source: "data\Add-on\HD\buildings\*"; DestDir: "{app}\Empire Earth\Data\Textures"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\hd\buildings and game
; Effects
Source: "data\Add-on\HD\effects\*"; DestDir: "{app}\Empire Earth\Data\Textures"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\hd\effects and game
; ----------------
; AoC Base
Source: "data\Empire Earth Base\Empire Earth - The Art of Conquest\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc;
;Source: "data\Empire Earth Base\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc;
; EE Movies
Source: "data\Add-on\Movies\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest\Data\Movies"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\movies and gameaoc;
#if InstallType == "NeoEE"
Source: "data\NeoEE Base\Empire Earth - The Art of Conquest\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc
Source: "data\NeoEE Base\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc
Source: "data\Add-on\RMS\Omega\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest\Data\Random Map Scripts"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc
Source: "data\Add-on\RMS\NeoExtra\*"; DestDir: "{app}\Empire Earth - The Art of Conquest\Data\Random Map Scripts"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc
Source: "data\NeoEE - Admin\Empire Earth - The Art of Conquest\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc; Check: IsAdminInstallMode
Source: "data\NeoEE - User\Empire Earth - The Art of Conquest\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc; Check: not IsAdminInstallMode
; Already done in EE part Source: authtools.exe
Source: "data\NeoEE - CDKeys\_wonkver.pub"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
Flags: deleteafterinstall ignoreversion recursesubdirs createallsubdirs; Components: gameaoc
; NeoEE - Wine Fix (GDI)
Source: "data\NeoEE - Wine\NeoEE.cfg"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: game; Check: IsWine
#endif
; EE Lang Game Based Content
Source: "data\localized-text\Game\de\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\de
Source: "data\localized-text\Game\en\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\en
Source: "data\localized-text\Game\es\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\es
Source: "data\localized-text\Game\fr\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\fr
Source: "data\localized-text\Game\it\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\it
Source: "data\localized-text\Game\ko\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ko
Source: "data\localized-text\Game\pl\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pl
Source: "data\localized-text\Game\pt-BR\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pt_BR
Source: "data\localized-text\Game\ru\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ru
Source: "data\localized-text\Game\zh-CN\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\zh_CN
Source: "data\localized-text\Game\zh-TW\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\zh_TW
; EE Lang Lobby Based Content
Source: "data\localized-text\Lobby\de\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\de
Source: "data\localized-text\Lobby\en\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\en
Source: "data\localized-text\Lobby\es\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\es
Source: "data\localized-text\Lobby\fr\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\fr
Source: "data\localized-text\Lobby\it\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\it
Source: "data\localized-text\Lobby\ko\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ko
Source: "data\localized-text\Lobby\pl\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pl
Source: "data\localized-text\Lobby\pt-BR\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pt_BR
Source: "data\localized-text\Lobby\ru\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ru
Source: "data\localized-text\Lobby\zh\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and (language\zh_CN or language\zh_TW)
Source: "data\localized-text\Lobby\de\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\de
Source: "data\localized-text\Lobby\en\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\en
Source: "data\localized-text\Lobby\es\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\es
Source: "data\localized-text\Lobby\fr\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\fr
Source: "data\localized-text\Lobby\it\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\it
Source: "data\localized-text\Lobby\ko\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ko
Source: "data\localized-text\Lobby\pl\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pl
Source: "data\localized-text\Lobby\pt-BR\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pt_BR
Source: "data\localized-text\Lobby\ru\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ru
Source: "data\localized-text\Lobby\zh\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and (language\zh_CN or language\zh_TW)
#if InstallType == "NeoEE"
; NeoEE Lang Lobby Based Content
Source: "data\localized-text\Mods\NeoEE\Game\de\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\de
Source: "data\localized-text\Mods\NeoEE\Game\en\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\en
Source: "data\localized-text\Mods\NeoEE\Game\es\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\es
Source: "data\localized-text\Mods\NeoEE\Game\fr\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\fr
Source: "data\localized-text\Mods\NeoEE\Game\it\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\it
Source: "data\localized-text\Mods\NeoEE\Game\ko\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ko
Source: "data\localized-text\Mods\NeoEE\Game\pl\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pl
Source: "data\localized-text\Mods\NeoEE\Game\pt-BR\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pt_BR
Source: "data\localized-text\Mods\NeoEE\Game\ru\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ru
Source: "data\localized-text\Mods\NeoEE\Game\zh-CN\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\zh_CN
Source: "data\localized-text\Mods\NeoEE\Game\zh-TW\AoC\Language.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\zh_TW
Source: "data\localized-text\Mods\NeoEE\Lobby\de\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\de
Source: "data\localized-text\Mods\NeoEE\Lobby\en\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\en
Source: "data\localized-text\Mods\NeoEE\Lobby\es\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\es
Source: "data\localized-text\Mods\NeoEE\Lobby\fr\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\fr
Source: "data\localized-text\Mods\NeoEE\Lobby\it\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\it
Source: "data\localized-text\Mods\NeoEE\Lobby\ko\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ko
Source: "data\localized-text\Mods\NeoEE\Lobby\pl\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pl
Source: "data\localized-text\Mods\NeoEE\Lobby\pt-BR\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pt_BR
Source: "data\localized-text\Mods\NeoEE\Lobby\ru\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ru
Source: "data\localized-text\Mods\NeoEE\Lobby\zh\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and (language\zh_CN or language\zh_TW)
Source: "data\localized-text\Mods\NeoEE\Lobby\de\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\de
Source: "data\localized-text\Mods\NeoEE\Lobby\en\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\en
Source: "data\localized-text\Mods\NeoEE\Lobby\es\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\es
Source: "data\localized-text\Mods\NeoEE\Lobby\fr\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\fr
Source: "data\localized-text\Mods\NeoEE\Lobby\it\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\it
Source: "data\localized-text\Mods\NeoEE\Lobby\ko\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ko
Source: "data\localized-text\Mods\NeoEE\Lobby\pl\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pl
Source: "data\localized-text\Mods\NeoEE\Lobby\pt-BR\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\pt_BR
Source: "data\localized-text\Mods\NeoEE\Lobby\ru\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and language\ru
Source: "data\localized-text\Mods\NeoEE\Lobby\zh\shared\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: gameaoc and (language\zh_CN or language\zh_TW)
#endif
Source: "{tmp}\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
Flags: ignoreversion recursesubdirs createallsubdirs external; Components: gameaoc and language\update
Source: "{tmp}\EE\Data\Campaigns\EELearningCampaign.ssa"; DestDir: "{app}\Empire Earth\Data\Campaigns"; \
Flags: ignoreversion recursesubdirs createallsubdirs external skipifsourcedoesntexist; Components: gameaoc and language\update
; DreXmod 2 (+privacy patched dll, because nothing allow to disable it in config)
Source: "data\Add-on\DLLs\dreXmod\2\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\drexmod\v2 and gameaoc;
Source: "data\Add-on\DLLs\dreXmod\2_privacy\*"; DestDir: "{app}\Empire Earth"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\drexmod\v2 and gameaoc and not additional\telemetry;
; DreXmod 3 (+privacy config)
Source: "data\Add-on\DLLs\dreXmod\3\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\drexmod\v3 and gameaoc;
Source: "data\Add-on\DLLs\dreXmod\3_privacy\*"; DestDir: "{app}\Empire Earth"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\drexmod\v3 and gameaoc and not additional\telemetry;
; RMS
#if InstallType == "EE"
; Omega
Source: "data\Add-on\RMS\Omega\AoC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest\Data\Random Map Scripts"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\rms\omega and gameaoc
Source: "data\Add-on\RMS\NeoExtra\*"; DestDir: "{app}\Empire Earth - The Art of Conquest\Data\Random Map Scripts"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\rms\neoextra and gameaoc
#endif
; dgVoodoo Bin
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_bin\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper and gameaoc and not additional\directx_wrapper\dx9 and not additional\directx_wrapper\dx7
Source: "data\\Add-on\DirectX_Wrapper\GOG\DDraw.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; DestName: "DDraw.dll"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx9 and gameaoc;
Source: "data\\Add-on\DirectX_Wrapper\DDrawCompat\DDraw.dll"; DestDir: "{app}\Empire Earth - The Art of Conquest"; DestName: "DDraw.dll"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx7 and gameaoc;
; dgVoodoo Conf
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_conf\dgVoodoo_DX11_LVL10.conf"; DestDir: "{app}\Empire Earth - The Art of Conquest"; DestName: "dgVoodoo.conf"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx11_lvl10 and gameaoc;
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_conf\dgVoodoo_DX11_LVL10_1.conf"; DestDir: "{app}\Empire Earth - The Art of Conquest"; DestName: "dgVoodoo.conf"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx11_lvl10_1 and gameaoc;
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_conf\dgVoodoo_DX11_LVL11.conf"; DestDir: "{app}\Empire Earth - The Art of Conquest"; DestName: "dgVoodoo.conf"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx11_lvl11 and gameaoc;
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_conf\dgVoodoo_DX12_LVL11.conf"; DestDir: "{app}\Empire Earth - The Art of Conquest"; DestName: "dgVoodoo.conf"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx12_lvl11 and gameaoc;
Source: "data\Add-on\DirectX_Wrapper\dgVoodoo_conf\dgVoodoo_DX12_LVL12.conf"; DestDir: "{app}\Empire Earth - The Art of Conquest"; DestName: "dgVoodoo.conf"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\directx_wrapper\dx12_lvl12 and gameaoc;
; Civs
Source: "data\Add-on\Civs\eC\*"; DestDir: "{app}\Empire Earth - The Art of Conquest\Users\default\Civilizations"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\civs\ec and gameaoc
Source: "data\Add-on\Civs\eC_full\*"; DestDir: "{app}\Empire Earth - The Art of Conquest\Users\default\Civilizations"; \
Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\civs\ec_full and gameaoc
; Discord
Source: "data\Add-on\DLLs\Discord\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\discord and gameaoc
; Reborn.dll
; Not supported Source: "data\Add-on\DLLs\Reborn\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\reborn and gameaoc
; EEStats
; Not supported Source: "data\Add-on\DLLs\EEStats\*"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\telemetry and gameaoc; MinVersion: 0.0,6.1
; HD & Music & Tech & Building
; Herit from EE natively
; -------------------
; Allow config edit, move the files to the exact same dir but with good perm :>
; -------------------
Source: "{app}\Empire Earth\*.cfg"; DestDir: "{app}\Empire Earth"; Permissions: authusers-modify; Flags: ignoreversion recursesubdirs createallsubdirs external; Components: game; Check: not IsWine and IsAdminInstallMode
Source: "{app}\Empire Earth\*.config"; DestDir: "{app}\Empire Earth"; Permissions: authusers-modify; Flags: ignoreversion recursesubdirs createallsubdirs external; Components: game; Check: not IsWine and IsAdminInstallMode
Source: "{app}\Empire Earth\*.conf"; DestDir: "{app}\Empire Earth"; Permissions: authusers-modify; Flags: ignoreversion recursesubdirs createallsubdirs external; Components: game; Check: not IsWine and IsAdminInstallMode
Source: "{app}\Empire Earth\*.ini"; DestDir: "{app}\Empire Earth"; Permissions: authusers-modify; Flags: ignoreversion recursesubdirs createallsubdirs external; Components: game; Check: not IsWine and IsAdminInstallMode
; ----------------
Source: "{app}\Empire Earth - The Art of Conquest\*.cfg"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Permissions: authusers-modify; Flags: ignoreversion recursesubdirs createallsubdirs external; Components: gameaoc; Check: not IsWine and IsAdminInstallMode
Source: "{app}\Empire Earth - The Art of Conquest\*.config"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Permissions: authusers-modify; Flags: ignoreversion recursesubdirs createallsubdirs external; Components: gameaoc; Check: not IsWine and IsAdminInstallMode
Source: "{app}\Empire Earth - The Art of Conquest\*.conf"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Permissions: authusers-modify; Flags: ignoreversion recursesubdirs createallsubdirs external; Components: gameaoc; Check: not IsWine and IsAdminInstallMode
Source: "{app}\Empire Earth - The Art of Conquest\*.ini"; DestDir: "{app}\Empire Earth - The Art of Conquest"; Permissions: authusers-modify; Flags: ignoreversion recursesubdirs createallsubdirs external; Components: gameaoc; Check: not IsWine and IsAdminInstallMode
; ---------------------
; Tools
; ---------------------
Source: "data\Add-on\Tools\Diagnostic\*"; DestDir: "{app}\Tools\Diagnostic"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: additional\tools\diagnostic;
[Dirs]
; ---------------------
; Allow Data/Civ edit
; ---------------------
Name: "{app}\Empire Earth\Data"; Permissions: authusers-modify; Components: game; Check: not IsWine and IsAdminInstallMode
Name: "{app}\Empire Earth\Users"; Permissions: authusers-modify; Components: game; Check: not IsWine and IsAdminInstallMode
; ----------------
Name: "{app}\Empire Earth - The Art of Conquest\Data"; Permissions: authusers-modify; Components: gameaoc; Check: not IsWine and IsAdminInstallMode
Name: "{app}\Empire Earth - The Art of Conquest\Users"; Permissions: authusers-modify; Components: gameaoc; Check: not IsWine and IsAdminInstallMode
; Additional setup related data
Name: "{app}\{#AppID}"; Attribs: hidden
[Registry]
; Compatibility
; WIN7RTM DWM8And16BitMitigation for Windows 8+
; WINXPSP3 DWM8And16BitMitigation for Windows 7+
; WIN98 - for Windows >2000
; Help
; HeapClearAllocation: Clear memory on program crash
; DWM8And16BitMitigation: (From Windows 8, DirectX) Convert 8bits to 16bits
; HIGHDPIAWARE: [Need investigation] Will try to make the game coherent with the screen DPI
; Maybe for later ?
; IgnoreAltTab DisableWindowsDefender DisableDWM Disable8And16BitModes Disable8And16BitD3D
; DISABLETHEMES DISABLEDWM IgnoreFontQuality ForceLoadMirrorDrvMitigation DXGICompat
; FontMigration: [Need investigation] Replaces a font with a better font, to avoid text truncation.
; ForceInvalidateOnClose: Force program to close window in some cases
; DISABLEDXMAXIMIZEDWINDOWEDMODE: (DirectX) Disable fullscreen optimization (maj is important...) (make game crash but sometime work)
; Windows 10+ GPU auto selection (apparently no HKLM... ty ms...)
Root: "HKCU"; Subkey: "Software\Microsoft\DirectX\UserGpuPreferences"; ValueType: String; ValueName: "{app}\Empire Earth\Empire Earth.exe"; ValueData: "GpuPreference=2;"; \
Flags: uninsdeletevalue; MinVersion: 0.0,10; Tasks: compatibility_windows; Components: game
Root: "HKCU"; Subkey: "Software\Microsoft\DirectX\UserGpuPreferences"; ValueType: String; ValueName: "{app}\Empire Earth - The Art of Conquest\EE-AOC.exe"; ValueData: "GpuPreference=2;"; \
Flags: uninsdeletevalue; MinVersion: 0.0,10; Tasks: compatibility_windows; Components: gameaoc
; Admin + Windows compatibility
; Windows >=8
Root: "HKLM"; Subkey: "{#BaseRegCompatibility}"; ValueType: String; ValueName: "{app}\Empire Earth\Empire Earth.exe"; ValueData: "{code:GetCompatibilityFlags} WIN7RTM"; \
Flags: uninsdeletevalue; Check: IsAdminInstallMode; MinVersion: 0.0,10; Tasks: compatibility_windows; Components: game
Root: "HKLM"; Subkey: "{#BaseRegCompatibility}"; ValueType: String; ValueName: "{app}\Empire Earth - The Art of Conquest\EE-AOC.exe"; ValueData: "{code:GetCompatibilityFlags} WIN7RTM"; \
Flags: uninsdeletevalue; Check: IsAdminInstallMode; MinVersion: 0.0,10; Tasks: compatibility_windows; Components: gameaoc
; Windows >=Vista & <= 7
Root: "HKLM"; Subkey: "{#BaseRegCompatibility}"; ValueType: String; ValueName: "{app}\Empire Earth\Empire Earth.exe"; ValueData: "{code:GetCompatibilityFlags} WINXPSP3"; \
Flags: uninsdeletevalue; Check: IsAdminInstallMode; MinVersion: 0.0,6.0; OnlyBelowVersion: 0.6.2; Tasks: compatibility_windows; Components: game
Root: "HKLM"; Subkey: "{#BaseRegCompatibility}"; ValueType: String; ValueName: "{app}\Empire Earth - The Art of Conquest\EE-AOC.exe"; ValueData: "{code:GetCompatibilityFlags} WINXPSP3"; \
Flags: uninsdeletevalue; Check: IsAdminInstallMode; MinVersion: 0.0,6.0; OnlyBelowVersion: 0.0,6.2; Tasks: compatibility_windows; Components: gameaoc
; Windows >=2000 & <=XP
Root: "HKLM"; Subkey: "{#BaseRegCompatibility}"; ValueType: String; ValueName: "{app}\Empire Earth\Empire Earth.exe"; ValueData: "{code:GetCompatibilityFlags} WIN98"; \
Flags: uninsdeletevalue; Check: IsAdminInstallMode; MinVersion: 0.0,5.0; OnlyBelowVersion: 0.0,6.0; Tasks: compatibility_windows; Components: game
Root: "HKLM"; Subkey: "{#BaseRegCompatibility}"; ValueType: String; ValueName: "{app}\Empire Earth - The Art of Conquest\EE-AOC.exe"; ValueData: "{code:GetCompatibilityFlags} WIN98"; \
Flags: uninsdeletevalue; Check: IsAdminInstallMode; MinVersion: 0.0,5.0; OnlyBelowVersion: 0.0,6.0; Tasks: compatibility_windows; Components: gameaoc
; Admin - Windows compatibility
; Windows >=8
Root: "HKLM"; Subkey: "{#BaseRegCompatibility}"; ValueType: String; ValueName: "{app}\Empire Earth\Empire Earth.exe"; ValueData: "{code:GetCompatibilityFlags}"; \
Flags: uninsdeletevalue; Check: IsAdminInstallMode; MinVersion: 0.0,10; Tasks: not compatibility_windows and compatibility; Components: game
Root: "HKLM"; Subkey: "{#BaseRegCompatibility}"; ValueType: String; ValueName: "{app}\Empire Earth - The Art of Conquest\EE-AOC.exe"; ValueData: "{code:GetCompatibilityFlags}"; \
Flags: uninsdeletevalue; Check: IsAdminInstallMode; MinVersion: 0.0,10; Tasks: not compatibility_windows and compatibility; Components: gameaoc
; Windows >=Vista & <= 7
Root: "HKLM"; Subkey: "{#BaseRegCompatibility}"; ValueType: String; ValueName: "{app}\Empire Earth\Empire Earth.exe"; ValueData: "{code:GetCompatibilityFlags}"; \
Flags: uninsdeletevalue; Check: IsAdminInstallMode; MinVersion: 0.0,6.0; OnlyBelowVersion: 0.6.2; Tasks: not compatibility_windows and compatibility; Components: game
Root: "HKLM"; Subkey: "{#BaseRegCompatibility}"; ValueType: String; ValueName: "{app}\Empire Earth - The Art of Conquest\EE-AOC.exe"; ValueData: "{code:GetCompatibilityFlags}"; \
Flags: uninsdeletevalue; Check: IsAdminInstallMode; MinVersion: 0.0,6.0; OnlyBelowVersion: 0.0,6.2; Tasks: not compatibility_windows and compatibility; Components: gameaoc
; Windows >=2000 & <=XP