summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-08-28 08:27:12 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-08-28 08:27:12 +0000
commit32b6514e05e0d744627f339a78abede80635435e (patch)
tree3623c0c4a59d721cc7fce69c16288b05469894f1 /solenv
parent3122e5507860a3ef7b294ef61773002304cd3656 (diff)
INTEGRATION: CWS native105 (1.31.62); FILE MERGED
2007/08/09 12:26:48 is 1.31.62.2: #i80476# simplifying Java exchange 2007/08/09 10:55:27 is 1.31.62.1: #i80476# simplifying Java exchange
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/installer/download.pm20
1 files changed, 18 insertions, 2 deletions
diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm
index 1044cbe1cdb4..e2224f2ff4a5 100644
--- a/solenv/bin/modules/installer/download.pm
+++ b/solenv/bin/modules/installer/download.pm
@@ -4,9 +4,9 @@
#
# $RCSfile: download.pm,v $
#
-# $Revision: 1.31 $
+# $Revision: 1.32 $
#
-# last change: $Author: hr $ $Date: 2007-06-27 17:48:32 $
+# last change: $Author: vg $ $Date: 2007-08-28 09:27:12 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -764,6 +764,21 @@ sub put_website_into_template
}
##################################################################
+# Windows: Including the Java file name into nsi template
+##################################################################
+
+sub put_javafilename_into_template
+{
+ my ($templatefile, $variableshashref) = @_;
+
+ my $javaversion = "";
+
+ if ( $variableshashref->{'WINDOWSJAVAFILENAME'} ) { $javaversion = $variableshashref->{'WINDOWSJAVAFILENAME'}; }
+
+ replace_one_variable($templatefile, "WINDOWSJAVAFILENAMEPLACEHOLDER", $javaversion);
+}
+
+##################################################################
# Windows: Including the product version into nsi template
##################################################################
@@ -1535,6 +1550,7 @@ sub create_download_sets
put_setup_ico_into_template($templatefile, $includepatharrayref, $allvariableshashref);
put_publisher_into_template($templatefile);
put_website_into_template($templatefile);
+ put_javafilename_into_template($templatefile, $allvariableshashref);
put_windows_productversion_into_template($templatefile, $allvariableshashref);
put_windows_productpath_into_template($templatefile, $allvariableshashref);
put_outputfilename_into_template($templatefile, $downloadname);