about summary refs log tree commit diff stats
path: root/PACKAGE
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-08-22 09:17:59 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2019-08-22 09:17:59 +0000
commita803e26dcdc6652b12d05f29bbd1b23c4b4239ed (patch)
treebc22d2a3d883c86bb5fce947e402cbb2b2c7aede /PACKAGE
parent5cda0e8cde6b4ebb16f2968edf3734af7d9524ac (diff)
downloadlynx-snapshots-a803e26dcdc6652b12d05f29bbd1b23c4b4239ed.tar.gz
snapshot of project "lynx", label v2-9-0dev_2b
Diffstat (limited to 'PACKAGE')
-rw-r--r--PACKAGE/lynx.iss15
1 files changed, 8 insertions, 7 deletions
diff --git a/PACKAGE/lynx.iss b/PACKAGE/lynx.iss
index 68d9b83c..6172363c 100644
--- a/PACKAGE/lynx.iss
+++ b/PACKAGE/lynx.iss
@@ -1,4 +1,4 @@
-; $LynxId: lynx.iss,v 1.32 2019/01/27 22:56:58 tom Exp $

+; $LynxId: lynx.iss,v 1.33 2019/08/22 00:27:18 tom Exp $

 ; vile:ts=4 sw=4 notabinsert fk=8bit

 ;

 ; This is the BASE script for different flavors of the installer for Lynx.

@@ -138,8 +138,6 @@ Name: "{app}\icon"
 #ifndef NoScreenDll

 #emit 'Source: "' + DllsSrcDir + '\' + ScreenDllName + '"; DestDir: "{app}"; DestName: ' + ScreenDllName + '; Flags: ignoreversion'

 #endif

-#emit 'Source: "' + DllsSrcDir + '\' + ZlibDllName + '"; DestDir: "{app}"; DestName: ' + ZlibDllName + '; Flags: ignoreversion'

-#emit 'Source: "' + DllsSrcDir + '\' + BzipDllName + '"; DestDir: "{app}"; DestName: ' + BzipDllName + '; Flags: ignoreversion'

 #emit 'Source: "' + DllsSrcDir + '\' + BzipExeName + '"; DestDir: "{app}"; DestName: ' + BzipExeName + '; Flags: ignoreversion'

 #emit 'Source: "' + DllsSrcDir + '\' + GzipExeName + '"; DestDir: "{app}"; DestName: ' + GzipExeName + '; Flags: ignoreversion'

 #emit 'Source: "' + DocsSrcDir + '\*.*"; DestDir: "{app}\doc"; Flags: '

@@ -442,11 +440,14 @@ end;
 

 procedure ReallyDelete(const fullPath: string);

 begin

-    if DeleteFile( fullPath ) then

-        Log( '...successful' )

-    else

+    if FileExists( fullpath ) then

         begin

-        MsgBox('Failed to delete ' + fullPath, mbError, MB_OK);

+        if DeleteFile( fullPath ) then

+            Log( '...successful' )

+        else

+            begin

+            MsgBox('Failed to delete ' + fullPath, mbError, MB_OK);

+            end;

         end;

 end;