build/windows: Organize *gimp3264.iss [Code] to not look like Assembly

The installer is probably the most complex packaging format so one of the
biggest examples of packaging love over the years into it in our repo.
But the readability of installer scripts... leave a lot to be desired.

Now, the main script is organized following the order of installer pages
with some comments. This will make easier to future contributors work
(but this commit probably isn't perfect since it's a big change to read)
This commit is contained in:
Bruno 2024-06-02 10:25:03 -03:00
parent 09d6402a5b
commit fad40afe45
No known key found for this signature in database
3 changed files with 914 additions and 920 deletions

File diff suppressed because it is too large Load Diff

View File

@ -20,6 +20,8 @@ begin
Result := S + ' /' + P;
end;
const
RunOnceName = 'Resume GIMP {#GIMP_VERSION} install';
procedure CreateRunOnceEntry;
var RunOnceData, SetupRestartData: String;

View File

@ -2,6 +2,9 @@
[Code]
#endif
var
asUninstInf: TArrayOfString; //uninst.inf contents (loaded at start of uninstall, executed at the end)
function SplitRegParams(const pInf: String; var oRootKey: Integer; var oKey,oValue: String): Boolean;
var sRootKey: String;
d: Integer;