make_installer.pl (04be0b07) make_installer.pl (ba69edf5)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 1697 unchanged lines hidden (view full) ---

1706 if ( $allvariableshashref->{'OPENSOURCE'} ) { $installer::globals::makedownload = 1; }
1707 else { $installer::globals::makedownload = 0; }
1708 }
1709
1710 # Set up an MSI object for the source version.
1711 if ($installer::globals::is_release
1712 && $installer::globals::iswindowsbuild)
1713 {
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 1697 unchanged lines hidden (view full) ---

1706 if ( $allvariableshashref->{'OPENSOURCE'} ) { $installer::globals::makedownload = 1; }
1707 else { $installer::globals::makedownload = 0; }
1708 }
1709
1710 # Set up an MSI object for the source version.
1711 if ($installer::globals::is_release
1712 && $installer::globals::iswindowsbuild)
1713 {
1714 $installer::logger::Info->printf("preparing MSI object for source version %s\n",
1715 $installer::globals::source_version);
1716 my $source_version_string = join(
1717 "",
1718 installer::patch::Version::StringToNumberArray($installer::globals::source_version));
1719 $installer::globals::source_msi = installer::patch::Msi->FindAndCreate(
1720 $installer::globals::source_version,
1721 0,
1722 $$languagestringref,
1723 $installer::globals::product);
1714 my $releases = installer::patch::ReleasesList::Instance()->{$installer::globals::source_version};
1715 if ( ! defined $releases)
1716 {
1717 $installer::logger::Info->printf(
1718 "there is no recorded information about previous version %s\n",
1719 $installer::globals::source_version);
1720 $installer::logger::Info->printf(" reverting to non-release build\n");
1721 $installer::globals::is_release = 0;
1722 }
1723 elsif ( ! defined $releases->{'msi'}->{installer::languages::get_normalized_language($$languagestringref)})
1724 {
1725 $installer::logger::Info->printf(
1726 "there is no recorded information about language '%s' in previous version %s\n",
1727 $$languagestringref,
1728 $installer::globals::source_version);
1729 $installer::logger::Info->printf(" reverting to non-release build\n");
1730 $installer::globals::is_release = 0;
1731 }
1732 else
1733 {
1734 $installer::logger::Info->printf("preparing MSI object for source version %s\n",
1735 $installer::globals::source_version);
1736 my $source_version_string = join(
1737 "",
1738 installer::patch::Version::StringToNumberArray($installer::globals::source_version));
1739 $installer::globals::source_msi = installer::patch::Msi->FindAndCreate(
1740 $installer::globals::source_version,
1741 0,
1742 $$languagestringref,
1743 $installer::globals::product);
1744 }
1724 }
1725
1726 ############################################################
1727 # Beginning of language specific logging mechanism
1728 # Until now only global logging into default: logfile.txt
1729 ############################################################
1730
1731 installer::logger::copy_globalinfo_into_logfile();

--- 532 unchanged lines hidden ---
1745 }
1746
1747 ############################################################
1748 # Beginning of language specific logging mechanism
1749 # Until now only global logging into default: logfile.txt
1750 ############################################################
1751
1752 installer::logger::copy_globalinfo_into_logfile();

--- 532 unchanged lines hidden ---