| 1 |
; Script generated by the Inno Setup Script Wizard. |
| 2 |
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! |
| 3 |
|
| 4 |
#define DarkRadiantVersion "3.1.0" |
| 5 |
#define VCRedistDir "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.32.31326\" |
| 6 |
|
| 7 |
[Setup] |
| 8 |
AppName=DarkRadiant |
| 9 |
AppVerName=DarkRadiant {#DarkRadiantVersion} x64 |
| 10 |
AppPublisher=The Dark Mod |
| 11 |
AppPublisherURL=https://www.darkradiant.net |
| 12 |
AppSupportURL=https://www.darkradiant.net |
| 13 |
AppUpdatesURL=https://www.darkradiant.net |
| 14 |
DefaultDirName={pf}\DarkRadiant |
| 15 |
DefaultGroupName=DarkRadiant {#DarkRadiantVersion} x64 |
| 16 |
OutputDir=. |
| 17 |
OutputBaseFilename=darkradiant-{#DarkRadiantVersion}-x64 |
| 18 |
Compression=lzma |
| 19 |
SolidCompression=yes |
| 20 |
ArchitecturesAllowed=x64 |
| 21 |
ArchitecturesInstallIn64BitMode=x64 |
| 22 |
|
| 23 |
[Languages] |
| 24 |
Name: "english"; MessagesFile: "compiler:Default.isl" |
| 25 |
|
| 26 |
[Tasks] |
| 27 |
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked |
| 28 |
|
| 29 |
[Files] |
| 30 |
Source: "..\..\install\darkradiant.exe"; DestDir: "{app}"; Flags: ignoreversion |
| 31 |
Source: "..\..\install\*"; Excludes: "*.pdb,*.exp,*.lib,*.in,*.fbp,*.iobj,*.ipdb, Tests.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 32 |
Source: "{#VCRedistDir}\x64\Microsoft.VC143.CRT\msvcp140.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 33 |
Source: "{#VCRedistDir}\x64\Microsoft.VC143.CRT\vcruntime140.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 34 |
Source: "{#VCRedistDir}\x64\Microsoft.VC143.CRT\vcruntime140_1.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 35 |
; NOTE: Don't use "Flags: ignoreversion" on any shared system files |
| 36 |
|
| 37 |
[Icons] |
| 38 |
Name: "{group}\DarkRadiant"; Filename: "{app}\darkradiant.exe"; |
| 39 |
Name: "{group}\{cm:UninstallProgram,DarkRadiant}"; Filename: "{uninstallexe}" |
| 40 |
Name: "{userdesktop}\DarkRadiant"; Filename: "{app}\darkradiant.exe"; Tasks: desktopicon |
| 41 |
|
| 42 |
[InstallDelete] |
| 43 |
; Remove all modules that are now integrated in DarkRadiant.exe |
| 44 |
Type: files; Name: {app}\modules\shaders.dll; |
| 45 |
Type: files; Name: {app}\modules\skins.dll; |
| 46 |
Type: files; Name: {app}\modules\sound.dll; |
| 47 |
Type: files; Name: {app}\modules\uimanager.dll; |
| 48 |
Type: files; Name: {app}\modules\vfspk3.dll; |
| 49 |
Type: files; Name: {app}\modules\xmlregistry.dll; |
| 50 |
Type: files; Name: {app}\modules\archivezip.dll; |
| 51 |
Type: files; Name: {app}\modules\commandsystem.dll; |
| 52 |
Type: files; Name: {app}\modules\eclassmgr.dll; |
| 53 |
Type: files; Name: {app}\modules\entity.dll; |
| 54 |
Type: files; Name: {app}\modules\eventmanager.dll; |
| 55 |
Type: files; Name: {app}\modules\filetypes.dll; |
| 56 |
Type: files; Name: {app}\modules\filters.dll; |
| 57 |
Type: files; Name: {app}\modules\fonts.dll; |
| 58 |
Type: files; Name: {app}\modules\image.dll; |
| 59 |
Type: files; Name: {app}\modules\mapdoom3.dll; |
| 60 |
Type: files; Name: {app}\modules\md5model.dll; |
| 61 |
Type: files; Name: {app}\modules\model.dll; |
| 62 |
Type: files; Name: {app}\modules\particles.dll; |
| 63 |
Type: files; Name: {app}\modules\scenegraph.dll; |
| 64 |
Type: files; Name: {app}\modules\script.dll; |
| 65 |
; Remove the legacy WaveFront plugin before installation |
| 66 |
Type: files; Name: {app}\plugins\wavefront.dll; |
| 67 |
; Grid module has been removed |
| 68 |
Type: files; Name: {app}\modules\grid.dll; |
| 69 |
; eclasstree module has been removed |
| 70 |
Type: files; Name: {app}\modules\eclasstree.dll; |
| 71 |
; entitylist module has been removed |
| 72 |
Type: files; Name: {app}\modules\entitylist.dll; |
| 73 |
; undo module has been removed |
| 74 |
Type: files; Name: {app}\modules\undo.dll; |
| 75 |
; remove all legacy XRC files before installing |
| 76 |
Type: files; Name: {app}\ui\*.xrc; |