summaryrefslogtreecommitdiff
path: root/installer_scripts/template.iss
diff options
context:
space:
mode:
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