if(!$allvariables->{'DOWNLOADBANNER'}){installer::exiter::exit_program("ERROR: DOWNLOADBANNER not defined in product definition!","put_banner_bmp_into_template");}
if(!$allvariables->{'DOWNLOADBITMAP'}){installer::exiter::exit_program("ERROR: DOWNLOADBITMAP not defined in product definition!","put_welcome_bmp_into_template");}
if(!$allvariables->{'DOWNLOADSETUPICO'}){installer::exiter::exit_program("ERROR: DOWNLOADSETUPICO not defined in product definition!","put_setup_ico_into_template");}
if(!$allvariables->{$var}){installer::exiter::exit_program("ERROR: $var not defined in product definition!","substitute_path_into_template");}
my$filename=$allvariables->{'DOWNLOADSETUPICO'};
my$filename=$allvariables->{$var};
my$completefilenameref="";
my$completefilenameref="";
...
@@ -1065,65 +993,24 @@ sub put_setup_ico_into_template
...
@@ -1065,65 +993,24 @@ sub put_setup_ico_into_template
# open( IN, "<:utf16", $filename ) || installer::exiter::exit_program("ERROR: Cannot open file $filename for reading", "convert_utf16_to_utf8");
# open( IN, "<:para:crlf:uni", $filename ) || installer::exiter::exit_program("ERROR: Cannot open file $filename for reading", "convert_utf16_to_utf8");
open(IN,"<:encoding(UTF16-LE)",$filename)||installer::exiter::exit_program("ERROR: Cannot open file $filename for reading","convert_utf16_to_utf8");
open(IN,"<:encoding(UTF16-LE)",$filename)||installer::exiter::exit_program("ERROR: Cannot open file $filename for reading","convert_utf16_to_utf8");
while($line=<IN>){
while($line=<IN>){
push@localfile,$line;
push@localfile,$line;
...
@@ -1750,12 +1633,6 @@ sub get_path_to_nsis_sdk
...
@@ -1750,12 +1633,6 @@ sub get_path_to_nsis_sdk
$nsispath=$ENV{'NSISSDK_SOURCE'};# overriding the NSIS SDK with NSISSDK_SOURCE
$nsispath=$ENV{'NSISSDK_SOURCE'};# overriding the NSIS SDK with NSISSDK_SOURCE
installer::logger::print_message("... no Environment variable \"SOLARROOT\", \"NSIS_PATH\" or \"NSISSDK_SOURCE\" found and NSIS not found in path!","get_path_to_nsis_sdk");
installer::logger::print_message("... no Environment variable \"SOLARROOT\", \"NSIS_PATH\" or \"NSISSDK_SOURCE\" found and NSIS not found in path!","get_path_to_nsis_sdk");
...
@@ -1870,9 +1747,6 @@ sub remove_english_for_nsis_installer
...
@@ -1870,9 +1747,6 @@ sub remove_english_for_nsis_installer
{
{
my($languagestringref,$languagesarrayref)=@_;
my($languagestringref,$languagesarrayref)=@_;
# $$languagestringref =~ s/en-US_//;
# shift(@{$languagesarrayref});
@{$languagesarrayref}=("en-US");# only english for NSIS installer!
@{$languagesarrayref}=("en-US");# only english for NSIS installer!