ApplicationDefinition.st
changeset 10870 71d98ad9c151
parent 10863 daabfcda3d90
child 10871 7f92c5f55e64
--- a/ApplicationDefinition.st	Wed Feb 06 11:22:29 2008 +0100
+++ b/ApplicationDefinition.st	Wed Feb 06 11:56:39 2008 +0100
@@ -757,8 +757,8 @@
 
 # This uses the Nullsoft Installer Package and works in Windows only
 
-install_%(APPLICATION).exe: $(PROJECT) %(APPLICATION).nsi
-        $(MAKENSIS) %(APPLICATION).nsi
+install_%(APPLICATION).exe: $(PROJECT) %(NSI_FILENAME)
+        $(MAKENSIS) %(NSI_FILENAME)
 
 new:
         bmake clean
@@ -1627,6 +1627,7 @@
         at: 'LOCAL_INCLUDES' put: (self generateLocalIncludes_win32);
         at: 'APPLICATION_OR_CONSOLEAPPLICATION' put:(self isConsoleApplication ifTrue:(self applicationNameConsole) ifFalse:(self applicationNameNoConsole));
         at: 'APPLICATION' put: (self applicationName);
+        at: 'NSI_FILENAME' put: self nsiFilename ;
         at: 'CONSOLE_APPLICATION' put: (self applicationNameConsole);
         at: 'NOCONSOLE_APPLICATION' put: (self applicationNameNoConsole);
         at: 'NOCONSOLE_LOGFILE' put:(self logFilenameNoConsole);
@@ -1723,6 +1724,7 @@
 make_dot_proto_mappings
     ^ Dictionary new
         at: 'TOP' put: ( self pathToTop_unix );
+        at: 'NSI_FILENAME' put: self nsiFilename ;
         at: 'APPLICATION_NAME' put: self applicationName;
         at: 'APPLICATION_PACKAGE' put: self package printString "applicationPackage";
         at: 'APPLICATION_TYPE' put: self applicationType;
@@ -1781,6 +1783,7 @@
 
         at: 'APPLICATION' put: (self applicationName);
         at: 'APPLICATION_ICON' put: (self applicationIconFileName);
+        at: 'NSI_FILENAME' put: (self nsiFilename );
         at: 'CONSOLE_APPLICATION' put: (self applicationNameConsole);
         at: 'NOCONSOLE_APPLICATION' put: (self applicationNameNoConsole);
         at: 'DELIVERED_EXECUTABLES' put: (self nsiDeliveredExecutables);
@@ -2204,5 +2207,5 @@
 !ApplicationDefinition class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.95 2008-02-05 10:25:58 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.96 2008-02-06 10:56:39 cg Exp $'
 ! !