summaryrefslogtreecommitdiff
path: root/installer_scripts/template.iss
diff options
context:
space:
mode:
authorrejbasket <39080670+rejbasket@users.noreply.github.com>2024-02-10 20:16:30 +0100
committerGitHub <noreply@github.com>2024-02-10 20:16:30 +0100
commitd929336f08f08e0b8c6a054df2367d24af92dd11 (patch)
tree3fdfaba288e5abf9bbcab75c45a265d2ff1fcbe0 /installer_scripts/template.iss
parent87d7fa387dfafabe77ffc5fd0fa6ca3494744d66 (diff)
Rejbasket/pyinstaller fix installer checks (#2718)
* netowrkx deps added in build * check for user inkscape config before installing * get os version in exception * update electron app location according to pyinstaller redesign * fixed broken libgeos syslinks * contents-directory added pyinstaller args fix broken linux and win versions * updated inkex * fix print_pdf --------- authored-by: rejbasket
Diffstat (limited to 'installer_scripts/template.iss')
-rwxr-xr-xinstaller_scripts/template.iss14
1 files changed, 14 insertions, 0 deletions
diff --git a/installer_scripts/template.iss b/installer_scripts/template.iss
index 99ae6d33..8dd26976 100755
--- a/installer_scripts/template.iss
+++ b/installer_scripts/template.iss
@@ -119,6 +119,20 @@ begin
end;
{ ///////////////////////////////////////////////////////////////////// }
+function InitializeSetup(): Boolean;
+begin
+ Result := True;
+
+ if DirExists(ExpandConstant('{userappdata}\inkscape\extensions\')) then
+ Log('Found Inks')
+ else
+ begin
+ MsgBox('Error: Inkscape Extensions folder not found! Install and then run Inkscape to create the extension folder.', mbInformation, MB_OK);
+ Result := False;
+ end;
+end;
+
+{ ///////////////////////////////////////////////////////////////////// }
procedure CurStepChanged(CurStep: TSetupStep);
begin
if (CurStep=ssInstall) then