2007-10-05 07:19:57 +00:00
|
|
|
; Script generated by the Inno Setup Script Wizard.
|
|
|
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
|
|
|
|
|
|
|
[Setup]
|
2019-12-24 17:45:23 +00:00
|
|
|
AppName=Ultimate Doom Builder
|
|
|
|
AppVerName=Ultimate Doom Builder
|
|
|
|
AppPublisher=ZZYZX
|
2019-12-24 18:19:53 +00:00
|
|
|
AppPublisherURL=https://forum.zdoom.org/memberlist.php?mode=viewprofile&u=7527
|
|
|
|
AppSupportURL=https://forum.zdoom.org/viewtopic.php?f=232&t=66745
|
|
|
|
AppUpdatesURL=https://devbuilds.drdteam.org/ultimatedoombuilder/
|
2019-12-24 18:43:55 +00:00
|
|
|
DefaultDirName={pf}\Ultimate Doom Builder
|
|
|
|
DefaultGroupName=Ultimate Doom Builder
|
2007-10-05 07:19:57 +00:00
|
|
|
AllowNoIcons=true
|
2019-12-24 17:45:23 +00:00
|
|
|
LicenseFile=..\LICENSE.txt
|
2009-07-11 05:13:18 +00:00
|
|
|
OutputDir=..\Release
|
2019-12-24 17:45:23 +00:00
|
|
|
OutputBaseFilename=Setup
|
2007-10-05 07:19:57 +00:00
|
|
|
Compression=lzma/ultra64
|
|
|
|
SolidCompression=true
|
2009-07-11 05:13:18 +00:00
|
|
|
SourceDir=..\Build
|
2007-10-05 07:19:57 +00:00
|
|
|
SetupLogging=false
|
2019-12-24 18:43:55 +00:00
|
|
|
AppMutex=ultimatedoombuilder
|
2009-05-04 16:07:14 +00:00
|
|
|
PrivilegesRequired=admin
|
2007-10-05 07:19:57 +00:00
|
|
|
ShowLanguageDialog=no
|
2008-05-11 09:17:56 +00:00
|
|
|
LanguageDetectionMethod=none
|
2019-12-24 17:45:23 +00:00
|
|
|
MinVersion=0,6.0
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
UninstallDisplayIcon={app}\Updater.exe
|
2009-05-04 16:27:15 +00:00
|
|
|
WizardImageFile=..\Setup\WizModernImage-IS.bmp
|
|
|
|
WizardSmallImageFile=..\Setup\WizModernSmallImage-IS.bmp
|
2007-10-05 07:19:57 +00:00
|
|
|
|
|
|
|
[Languages]
|
|
|
|
Name: english; MessagesFile: compiler:Default.isl
|
|
|
|
|
|
|
|
[Tasks]
|
|
|
|
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
|
|
|
|
|
|
|
|
[Files]
|
2009-05-04 16:07:14 +00:00
|
|
|
Source: Setup\dotnetfx35setup.exe; DestDir: {tmp}; Flags: dontcopy
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
Source: Setup\vcredist_x86.exe; DestDir: {tmp}; Flags: dontcopy
|
2007-10-05 07:19:57 +00:00
|
|
|
Source: Builder.exe; DestDir: {app}; Flags: ignoreversion
|
2015-04-13 10:37:08 +00:00
|
|
|
Source: GZBuilder.default.cfg; DestDir: {app}; Flags: ignoreversion
|
2015-07-01 15:06:25 +00:00
|
|
|
Source: Updater.exe; DestDir: {app}; Flags: ignoreversion
|
|
|
|
Source: Updater.ini; DestDir: {app}; Flags: ignoreversion
|
2009-04-12 21:39:23 +00:00
|
|
|
Source: Refmanual.chm; DestDir: {app}; Flags: ignoreversion
|
2012-06-01 19:53:14 +00:00
|
|
|
Source: DevIL.dll; DestDir: {app}; Flags: ignoreversion
|
2019-12-24 18:43:55 +00:00
|
|
|
Source: BuilderNative.dll; DestDir: {app}; Flags: ignoreversion
|
2019-12-24 17:45:23 +00:00
|
|
|
Source: SharpCompress.dll; DestDir: {app}; Flags: ignoreversion
|
|
|
|
Source: ScintillaNET.dll; DestDir: {app}; Flags: ignoreversion
|
2016-12-08 12:10:43 +00:00
|
|
|
Source: TabControlEX.dll; DestDir: {app}; Flags: ignoreversion
|
2019-12-24 18:07:55 +00:00
|
|
|
Source: LICENSE.txt; DestDir: {app}; Flags: ignoreversion
|
2009-03-28 15:43:36 +00:00
|
|
|
Source: Compilers\*; DestDir: {app}\Compilers; Flags: ignoreversion recursesubdirs
|
2010-01-03 13:12:16 +00:00
|
|
|
Source: Configurations\*; DestDir: {app}\Configurations; Flags: ignoreversion recursesubdirs
|
|
|
|
Source: Scripting\*; DestDir: {app}\Scripting; Flags: ignoreversion recursesubdirs
|
2015-01-10 11:45:25 +00:00
|
|
|
Source: Snippets\*; DestDir: {app}\Snippets; Flags: ignoreversion recursesubdirs
|
2007-10-05 07:19:57 +00:00
|
|
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
2008-05-30 07:06:28 +00:00
|
|
|
Source: Plugins\BuilderModes.dll; DestDir: {app}\Plugins; Flags: ignoreversion
|
2013-07-23 14:25:03 +00:00
|
|
|
Source: Plugins\BuilderEffects.dll; DestDir: {app}\Plugins; Flags: ignoreversion
|
|
|
|
Source: Plugins\ColorPicker.dll; DestDir: {app}\Plugins; Flags: ignoreversion
|
|
|
|
Source: Plugins\CommentsPanel.dll; DestDir: {app}\Plugins; Flags: ignoreversion
|
|
|
|
Source: Plugins\NodesViewer.dll; DestDir: {app}\Plugins; Flags: ignoreversion
|
2015-01-23 12:49:37 +00:00
|
|
|
Source: Plugins\SoundPropagationMode.dll; DestDir: {app}\Plugins; Flags: ignoreversion
|
2015-10-23 14:51:37 +00:00
|
|
|
Source: Plugins\StairSectorBuilder.dll; DestDir: {app}\Plugins; Flags: ignoreversion
|
2013-07-23 14:25:03 +00:00
|
|
|
Source: Plugins\TagExplorer.dll; DestDir: {app}\Plugins; Flags: ignoreversion
|
|
|
|
Source: Plugins\TagRange.dll; DestDir: {app}\Plugins; Flags: ignoreversion
|
|
|
|
Source: Plugins\VisplaneExplorer.dll; DestDir: {app}\Plugins; Flags: ignoreversion
|
2010-08-18 15:07:07 +00:00
|
|
|
Source: Plugins\Loadorder.cfg; DestDir: {app}\Plugins; Flags: ignoreversion onlyifdoesntexist
|
2010-01-03 13:12:16 +00:00
|
|
|
Source: Sprites\*; DestDir: {app}\Sprites; Flags: ignoreversion recursesubdirs
|
2015-12-30 13:58:58 +00:00
|
|
|
Source: Textures\*; DestDir: {app}\Textures; Flags: ignoreversion
|
2007-10-05 07:19:57 +00:00
|
|
|
|
|
|
|
[Icons]
|
2019-12-24 18:43:55 +00:00
|
|
|
Name: {group}\Ultimate Doom Builder; Filename: {app}\Builder.exe
|
|
|
|
Name: {group}\{cm:UninstallProgram,Ultimate Doom Builder}; Filename: {uninstallexe}
|
|
|
|
Name: {commondesktop}\Ultimate Doom Builder; Filename: {app}\Builder.exe; Tasks: desktopicon
|
2007-10-05 07:19:57 +00:00
|
|
|
|
|
|
|
[UninstallDelete]
|
2010-08-18 17:45:12 +00:00
|
|
|
Name: {app}; Type: filesandordirs
|
2015-01-10 11:45:25 +00:00
|
|
|
|
2007-10-05 10:00:15 +00:00
|
|
|
[InstallDelete]
|
|
|
|
Name: {app}\Builder.pdb; Type: files
|
2015-01-10 11:45:25 +00:00
|
|
|
Name: {app}\Builder.xml; Type: files
|
|
|
|
|
2008-05-26 15:46:08 +00:00
|
|
|
[Registry]
|
2019-12-24 18:43:55 +00:00
|
|
|
Root: HKLM; Subkey: SOFTWARE\UDB\Ultimate Doom Builder\; ValueType: string; ValueName: Location; ValueData: {app}; Flags: uninsdeletevalue
|
2015-01-10 11:45:25 +00:00
|
|
|
|
2009-05-04 16:07:14 +00:00
|
|
|
[Messages]
|
|
|
|
ReadyLabel2a=Continue to begin with the installation, or click Back if you want to review or change any settings.
|
2015-01-10 11:45:25 +00:00
|
|
|
|
2008-02-15 13:22:12 +00:00
|
|
|
[Code]
|
2008-05-11 09:17:56 +00:00
|
|
|
// Global variables
|
2008-02-15 13:22:12 +00:00
|
|
|
var
|
2008-05-11 09:17:56 +00:00
|
|
|
page_info_net: TOutputMsgWizardPage;
|
2009-05-04 16:07:14 +00:00
|
|
|
page_info_netfailed: TOutputMsgWizardPage;
|
2008-05-11 09:17:56 +00:00
|
|
|
page_setup_net: TOutputProgressWizardPage;
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
page_info_vc: TOutputMsgWizardPage;
|
|
|
|
page_info_vcfailed: TOutputMsgWizardPage;
|
|
|
|
page_setup_vc: TOutputProgressWizardPage;
|
2008-11-15 16:51:29 +00:00
|
|
|
restartneeded: Boolean;
|
2009-05-04 16:07:14 +00:00
|
|
|
netinstallfailed: Boolean;
|
|
|
|
netisinstalled: Boolean;
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
vcinstallfailed: Boolean;
|
|
|
|
vcisinstalled: Boolean;
|
2008-02-15 13:22:12 +00:00
|
|
|
|
2015-01-10 11:45:25 +00:00
|
|
|
// Prerequisites checks
|
|
|
|
function CheckNetIsInstalled(): Boolean;
|
2009-05-04 16:07:14 +00:00
|
|
|
begin
|
2015-01-10 11:45:25 +00:00
|
|
|
Result := RegKeyExists(HKLM, 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5') or
|
2009-05-04 16:07:14 +00:00
|
|
|
RegKeyExists(HKLM, 'SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v3.5');
|
|
|
|
end;
|
2008-02-15 13:22:12 +00:00
|
|
|
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
function CheckVCIsInstalled(): Boolean;
|
|
|
|
begin
|
2015-10-23 14:51:37 +00:00
|
|
|
//mxd. Any VC++ 2008 package will do, I assume...
|
|
|
|
//mxd. Registry values gartered from http://blogs.msdn.com/b/astebner/archive/2009/01/29/9384143.aspx
|
|
|
|
Result := RegKeyExists(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1F1C2DFC-2D24-3E06-BCB8-725134ADF989}') or
|
|
|
|
RegKeyExists(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475}') or
|
|
|
|
RegKeyExists(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}');
|
2015-01-10 11:45:25 +00:00
|
|
|
end;
|
|
|
|
|
2008-05-11 09:17:56 +00:00
|
|
|
// When the wizard initializes
|
|
|
|
procedure InitializeWizard();
|
2008-02-15 13:22:12 +00:00
|
|
|
begin
|
2008-11-15 16:51:29 +00:00
|
|
|
restartneeded := false;
|
2009-05-04 16:07:14 +00:00
|
|
|
netinstallfailed := false;
|
2015-01-10 11:45:25 +00:00
|
|
|
netisinstalled := CheckNetIsInstalled();
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
vcinstallfailed := false;
|
|
|
|
vcisinstalled := CheckVCIsInstalled();
|
2009-05-04 16:07:14 +00:00
|
|
|
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
// Create .NET Framework pages
|
2009-05-04 16:07:14 +00:00
|
|
|
page_info_net := CreateOutputMsgPage(wpPreparing,
|
2015-01-10 11:45:25 +00:00
|
|
|
'Installing Microsoft .NET Framework 3.5', '',
|
2009-05-04 16:07:14 +00:00
|
|
|
'Setup has detected that your system is missing the required version of the Microsoft .NET Framework. ' +
|
2015-01-10 11:45:25 +00:00
|
|
|
'Setup will now install or update your Microsoft .NET Framework. This may take several minutes to complete.' + #10 + #10 +
|
2009-05-04 16:07:14 +00:00
|
|
|
'WARNING: The installer will download the Microsoft .NET Framework from the internet, but the progress bar will not ' +
|
|
|
|
'go forward until the download is complete. You may send Microsoft an angry letter about that.' + #10 + #10 +
|
|
|
|
'Click Install to begin.');
|
|
|
|
|
|
|
|
page_info_netfailed := CreateOutputMsgPage(page_info_net.ID,
|
2015-01-10 11:45:25 +00:00
|
|
|
'Installing Microsoft .NET Framework 3.5', '',
|
|
|
|
'Setup could not install the Microsoft .NET Framework 3.5.' + #10 + #10 +
|
2009-05-04 16:07:14 +00:00
|
|
|
'Click Back to try again, or Cancel to exit Setup.');
|
|
|
|
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
page_setup_net := CreateOutputProgressPage('Installing Microsoft .NET Framework 3.5', 'Setup is installing Microsoft .NET Framework 3.5, please wait...');
|
2008-02-15 13:22:12 +00:00
|
|
|
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
// Create VC++ 2008 pages
|
|
|
|
page_info_vc := CreateOutputMsgPage(wpPreparing,
|
|
|
|
'Installing Visual C++ 2008 SP1 ATL Security Update', '',
|
|
|
|
'Setup has detected that your system is missing the required version of the Visual C++ Runtime. ' +
|
|
|
|
'Setup will now install or update your Visual C++ Runtime. This may take several minutes to complete.' + #10 + #10 +
|
|
|
|
'Click Install to begin.');
|
|
|
|
|
|
|
|
page_info_vcfailed := CreateOutputMsgPage(page_info_net.ID,
|
|
|
|
'Installing Visual C++ 2008 SP1 ATL Security Update', '',
|
|
|
|
'Setup could not install Visual C++ 2008 SP1 ATL Security Update.' + #10 + #10 +
|
|
|
|
'Click Back to try again, or Cancel to exit Setup.');
|
|
|
|
|
|
|
|
page_setup_vc := CreateOutputProgressPage('Installing Visual C++ 2008 SP1 ATL Security Update', 'Setup is installing Visual C++ 2008 SP1 ATL Security Update, please wait...');
|
2015-01-10 11:45:25 +00:00
|
|
|
end;
|
2008-02-15 13:22:12 +00:00
|
|
|
|
2008-05-11 09:17:56 +00:00
|
|
|
// This is called to check if a page must be skipped
|
|
|
|
function ShouldSkipPage(PageID: Integer): Boolean;
|
2008-02-15 13:22:12 +00:00
|
|
|
begin
|
2015-01-10 11:45:25 +00:00
|
|
|
if(PageID = page_info_net.ID) then // Skip .NET pages?
|
2009-05-04 16:07:14 +00:00
|
|
|
Result := netisinstalled
|
|
|
|
else if(PageID = page_info_netfailed.ID) then
|
|
|
|
Result := (not netinstallfailed) and netisinstalled
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
else if(PageID = page_info_vc.ID) then // Skip VC++ pages?
|
|
|
|
Result := vcisinstalled
|
|
|
|
else if(PageID = page_info_vcfailed.ID) then
|
|
|
|
Result := (not vcinstallfailed) and vcisinstalled
|
2008-05-11 09:17:56 +00:00
|
|
|
else
|
2009-05-04 16:07:14 +00:00
|
|
|
Result := false;
|
2008-02-15 13:22:12 +00:00
|
|
|
end;
|
|
|
|
|
2008-11-15 16:51:29 +00:00
|
|
|
// This is called to determine if we need to restart
|
|
|
|
function NeedRestart(): Boolean;
|
|
|
|
begin
|
|
|
|
Result := restartneeded;
|
|
|
|
end;
|
|
|
|
|
|
|
|
// This is called when the current page changes
|
|
|
|
procedure CurPageChanged(CurPageID: Integer);
|
|
|
|
begin
|
2015-01-10 11:45:25 +00:00
|
|
|
if(CurPageID = wpReady) then begin
|
2019-12-24 17:45:23 +00:00
|
|
|
if(netisinstalled = false) or (vcisinstalled = false) then
|
2015-01-10 11:45:25 +00:00
|
|
|
WizardForm.NextButton.Caption := 'Next';
|
2009-05-04 16:07:14 +00:00
|
|
|
end
|
2019-12-24 17:45:23 +00:00
|
|
|
else if(CurPageID = page_info_net.ID) or (CurPageID = page_info_vc.ID) then begin
|
2009-05-04 16:07:14 +00:00
|
|
|
WizardForm.NextButton.Caption := 'Install';
|
|
|
|
end
|
2019-12-24 17:45:23 +00:00
|
|
|
else if(CurPageID = page_info_netfailed.ID) or (CurPageID = page_info_vcfailed.ID) then begin
|
2009-05-04 16:07:14 +00:00
|
|
|
WizardForm.NextButton.Visible := true;
|
|
|
|
WizardForm.NextButton.Enabled := false;
|
|
|
|
WizardForm.BackButton.Visible := true;
|
|
|
|
WizardForm.BackButton.Enabled := true;
|
|
|
|
WizardForm.CancelButton.Visible := true;
|
|
|
|
WizardForm.CancelButton.Enabled := true;
|
|
|
|
end;
|
2008-11-15 16:51:29 +00:00
|
|
|
end;
|
|
|
|
|
2008-05-11 09:17:56 +00:00
|
|
|
// This is called when the Next button is clicked
|
|
|
|
function NextButtonClick(CurPage: Integer): Boolean;
|
|
|
|
var
|
2008-11-15 16:51:29 +00:00
|
|
|
errorcode: Integer;
|
2009-05-04 16:07:14 +00:00
|
|
|
tempfile: String;
|
2008-02-15 13:22:12 +00:00
|
|
|
begin
|
|
|
|
|
2008-05-11 09:17:56 +00:00
|
|
|
// Next pressed on .NET info page?
|
2015-01-10 11:45:25 +00:00
|
|
|
if(CurPage = page_info_net.ID) then begin
|
2008-05-11 09:17:56 +00:00
|
|
|
// Show progress page and run setup
|
|
|
|
page_setup_net.Show;
|
|
|
|
try
|
2008-11-15 16:51:29 +00:00
|
|
|
begin
|
2009-05-04 16:07:14 +00:00
|
|
|
netinstallfailed := false;
|
|
|
|
ExtractTemporaryFile('dotnetfx35setup.exe');
|
|
|
|
// We copy the file to the real temp directory so that it isn't removed when Setup is closed.
|
|
|
|
// Judging from the return codes, this installer may want to run again after a reboot.
|
|
|
|
// See the return codes here: http://msdn.microsoft.com/en-us/library/cc160716.aspx
|
|
|
|
tempfile := RemoveBackslash(GetTempDir()) + '\dotnetfx35setup.exe';
|
|
|
|
FileCopy(ExpandConstant('{tmp}\dotnetfx35setup.exe'), tempfile, false);
|
|
|
|
Exec(tempfile, '/qb /norestart', '', SW_SHOW, ewWaitUntilTerminated, errorcode);
|
|
|
|
|
2015-01-10 11:45:25 +00:00
|
|
|
if((errorcode = 1641) or (errorcode = 3010)) then begin
|
2009-05-04 16:07:14 +00:00
|
|
|
// Success, but restart needed!
|
|
|
|
restartneeded := true;
|
2008-11-15 16:51:29 +00:00
|
|
|
end
|
2015-01-10 11:45:25 +00:00
|
|
|
else if(errorcode <> 0) then begin
|
2009-05-04 16:07:14 +00:00
|
|
|
netinstallfailed := true;
|
|
|
|
end;
|
|
|
|
|
2015-01-10 11:45:25 +00:00
|
|
|
netisinstalled := CheckNetIsInstalled();
|
2008-11-15 16:51:29 +00:00
|
|
|
end
|
2008-05-11 09:17:56 +00:00
|
|
|
finally
|
|
|
|
page_setup_net.Hide;
|
|
|
|
end;
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
end
|
|
|
|
// Next pressed on VC info page?
|
|
|
|
else if(CurPage = page_info_vc.ID) then begin
|
|
|
|
// Show progress page and run setup
|
|
|
|
page_setup_vc.Show;
|
|
|
|
try
|
|
|
|
begin
|
|
|
|
vcinstallfailed := false;
|
|
|
|
ExtractTemporaryFile('vcredist_x86.exe');
|
|
|
|
// We copy the file to the real temp directory so that it isn't removed when Setup is closed.
|
|
|
|
// Judging from the return codes, this installer may want to run again after a reboot.
|
|
|
|
// See the return codes here: http://blogs.msdn.com/b/astebner/archive/2010/10/20/10078468.aspx
|
|
|
|
tempfile := RemoveBackslash(GetTempDir()) + '\vcredist_x86.exe';
|
|
|
|
FileCopy(ExpandConstant('{tmp}\vcredist_x86.exe'), tempfile, false);
|
|
|
|
Exec(tempfile, '/q /norestart', '', SW_SHOW, ewWaitUntilTerminated, errorcode);
|
|
|
|
|
|
|
|
if(errorcode = 3010) then begin
|
|
|
|
// Success, but restart needed!
|
|
|
|
restartneeded := true;
|
|
|
|
end
|
|
|
|
else if(errorcode <> 0) then begin
|
|
|
|
vcinstallfailed := true;
|
|
|
|
end;
|
|
|
|
|
|
|
|
vcisinstalled := CheckVCIsInstalled();
|
|
|
|
end
|
|
|
|
finally
|
|
|
|
page_setup_vc.Hide;
|
|
|
|
end;
|
2015-01-10 11:45:25 +00:00
|
|
|
end;
|
2008-11-15 16:51:29 +00:00
|
|
|
|
2015-01-10 11:45:25 +00:00
|
|
|
Result := True;
|
|
|
|
end;
|
2009-05-04 07:46:44 +00:00
|
|
|
|
2015-01-10 11:45:25 +00:00
|
|
|
//Remove configs?
|
|
|
|
procedure DeinitializeUninstall();
|
|
|
|
begin
|
2015-10-23 14:51:37 +00:00
|
|
|
if MsgBox('Delete map restore data and program configuration files?', mbConfirmation, MB_YESNO) = IDYES then
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
begin
|
2015-10-23 14:51:37 +00:00
|
|
|
// Remove restore data
|
|
|
|
DelTree(ExpandConstant('{localappdata}\Doom Builder\Restore'), True, True, True);
|
|
|
|
|
|
|
|
// Remove configs
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
DeleteFile(ExpandConstant('{localappdata}\Doom Builder\GZBuilder.cfg'));
|
|
|
|
DeleteFile(ExpandConstant('{localappdata}\Doom Builder\GZBuilder.log'));
|
|
|
|
DeleteFile(ExpandConstant('{localappdata}\Doom Builder\GZCrash.txt'));
|
|
|
|
end;
|
2015-01-10 11:45:25 +00:00
|
|
|
end;
|