ApplicationDefinition.st
changeset 23383 2884fe465c09
parent 23216 7aefd9bb214d
child 23384 ee821b8c3c9f
--- a/ApplicationDefinition.st	Sun Sep 23 03:49:09 2018 +0200
+++ b/ApplicationDefinition.st	Mon Sep 24 12:22:21 2018 +0200
@@ -1232,14 +1232,17 @@
 !
 
 packageName_dot_nsi_mappings
-    |d s defLines undefLines defRunAsAdmin undefRunAsAdmin stxSourcesLines appSourcesLines|
+    |d fn s defLines undefLines defRunAsAdmin undefRunAsAdmin stxSourcesLines appSourcesLines|
 
     d := Dictionary new.
     d
         at: 'TOP' put: ( self pathToTopWithSeparator:'\' );
 
-        at: 'APPLICATION' put: (self applicationName);
-        at: 'APPLICATION_ICON' put: (self applicationInstallIconFileName);
+        at: 'APPLICATION' put: (self applicationName).
+    (fn := self applicationInstallIconFileName) notNil ifTrue:[    
+        d at: 'APPLICATION_ICON' put: fn
+    ].    
+    d
         at: 'NSI_FILENAME' put: (self nsiFilename );
         at: 'CONSOLE_APPLICATION' put: (self applicationNameConsole);
         at: 'NOCONSOLE_APPLICATION' put: (self applicationNameNoConsole);
@@ -1326,6 +1329,7 @@
     "Created: / 14-09-2006 / 21:08:44 / cg"
     "Modified: / 15-05-2007 / 17:24:27 / cg"
     "Modified: / 12-10-2012 / 11:44:32 / sr"
+    "Modified: / 24-09-2018 / 12:20:35 / Claus Gittinger"
 !
 
 preRequisiteLine_bc_dot_mak_mappings: aProjectID