Lines 250-256
Link Here
|
250 |
|
250 |
|
251 |
my @regcompoutput = (); |
251 |
my @regcompoutput = (); |
252 |
|
252 |
|
253 |
$systemcall = "$$regcompfileref -register -r $servicesfile -c " . $installer::globals::quote . $filestring . $installer::globals::quote . " 2\>\&1 |"; |
253 |
$systemcall = "guw.pl -env $$regcompfileref -register -r $servicesfile -c " . $installer::globals::quote . $filestring . $installer::globals::quote . " 2\>\&1 |"; |
254 |
|
254 |
|
255 |
open (REG, "$systemcall"); |
255 |
open (REG, "$systemcall"); |
256 |
while (<REG>) {push(@regcompoutput, $_); } |
256 |
while (<REG>) {push(@regcompoutput, $_); } |
Lines 341-347
Link Here
|
341 |
|
341 |
|
342 |
my @regcompoutput = (); |
342 |
my @regcompoutput = (); |
343 |
|
343 |
|
344 |
$systemcall = "$$regcompfileref -register -br $regcomprdb -r $servicesfile -c " . $installer::globals::quote . $filestring . $installer::globals::quote . " -l com.sun.star.loader.Java2 -env:UNO_JAVA_COMPONENT_PATH=" . $installer::globals::quote . $fileurl . $installer::globals::quote . " 2\>\&1 |"; |
344 |
$systemcall = "guw.pl -env $$regcompfileref -register -br $regcomprdb -r $servicesfile -c " . $installer::globals::quote . $filestring . $installer::globals::quote . " -l com.sun.star.loader.Java2 -env:UNO_JAVA_COMPONENT_PATH=" . $installer::globals::quote . $fileurl . $installer::globals::quote . " 2\>\&1 |"; |
345 |
|
345 |
|
346 |
open (REG, "$systemcall"); |
346 |
open (REG, "$systemcall"); |
347 |
while (<REG>) {push(@regcompoutput, $_); } |
347 |
while (<REG>) {push(@regcompoutput, $_); } |
Lines 472-477
Link Here
|
472 |
if ( $ENV{'CLASSPATH'} ) { $oldclasspathstring = $ENV{'CLASSPATH'}; } |
472 |
if ( $ENV{'CLASSPATH'} ) { $oldclasspathstring = $ENV{'CLASSPATH'}; } |
473 |
else { $oldclasspathstring = "\."; } |
473 |
else { $oldclasspathstring = "\."; } |
474 |
my $classpathstring = $$jarfileref . $installer::globals::pathseparator . $oldclasspathstring; |
474 |
my $classpathstring = $$jarfileref . $installer::globals::pathseparator . $oldclasspathstring; |
|
|
475 |
$classpathstring =~ s/\//\\/g; # Quiten guw.pl |
475 |
|
476 |
|
476 |
$ENV{'CLASSPATH'} = $classpathstring; |
477 |
$ENV{'CLASSPATH'} = $classpathstring; |
477 |
|
478 |
|
Lines 644-650
Link Here
|
644 |
|
645 |
|
645 |
chdir($to); |
646 |
chdir($to); |
646 |
|
647 |
|
647 |
my $systemcall = "$regcompfile -register -s -r $regcomprdb -c $libfilename"; |
648 |
my $systemcall = "guw.pl -env $regcompfile -register -s -r $regcomprdb -c $libfilename"; |
648 |
|
649 |
|
649 |
my $returnvalue = system($systemcall); |
650 |
my $returnvalue = system($systemcall); |
650 |
|
651 |
|