diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-07-25 15:00:02 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-07-25 17:31:29 +0200 |
commit | 61b1c24615445d7677dbfe4a702d3dd97eaa4939 (patch) | |
tree | c4872ced55ce93c38b66ecfe111e2eab695ef814 /solenv/bin/modules | |
parent | 4c1c5aaa2d0b3c7870d2bd466ce8f2fa9204064a (diff) |
More full paths for cross msi* tools.
Change-Id: I813d22bc5081a0cc5f1af9fbc6661a970eb16b86
Diffstat (limited to 'solenv/bin/modules')
-rw-r--r-- | solenv/bin/modules/installer/windows/admin.pm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/solenv/bin/modules/installer/windows/admin.pm b/solenv/bin/modules/installer/windows/admin.pm index 194a65f8ad01..e088cafd88a4 100644 --- a/solenv/bin/modules/installer/windows/admin.pm +++ b/solenv/bin/modules/installer/windows/admin.pm @@ -48,6 +48,11 @@ sub unpack_cabinet_file push( @installer::globals::logfileinfo, $infoline); my $expandfile = "expand.exe"; # Has to be in the path + if ( $installer::globals::isunix ) + { + $infoline = "ERROR: We need to change this to use cabextract instead of expand.exe\n"; + push( @installer::globals::logfileinfo, $infoline); + } # expand.exe has to be located in the system directory. # Cygwin has another tool expand.exe, that converts tabs to spaces. This cannot be used of course. @@ -104,6 +109,10 @@ sub include_tables_into_pcpfile my ($fullmsidatabasepath, $workdir, $tables) = @_; my $msidb = "msidb.exe"; # Has to be in the path + if ( $installer::globals::isunix ) + { + $msidb = "$ENV{'OUTDIR_FOR_BUILD'}/bin/msidb.exe"; + } my $infoline = ""; my $systemcall = ""; my $returnvalue = ""; @@ -159,6 +168,10 @@ sub extract_tables_from_pcpfile my ($fullmsidatabasepath, $workdir, $tablelist) = @_; my $msidb = "msidb.exe"; # Has to be in the path + if ( $installer::globals::isunix ) + { + $msidb = "$ENV{'OUTDIR_FOR_BUILD'}/bin/msidb.exe"; + } my $infoline = ""; my $systemcall = ""; my $returnvalue = ""; @@ -699,6 +712,10 @@ sub write_sis_info if ( ! -f $msidatabase ) { installer::exiter::exit_program("ERROR: Cannot find file $msidatabase", "write_sis_info"); } my $msiinfo = "msiinfo.exe"; # Has to be in the path + if ( $installer::globals::isunix ) + { + $msiinfo = "$ENV{'OUTDIR_FOR_BUILD'}/bin/msiinfo.exe"; + } my $infoline = ""; my $systemcall = ""; my $returnvalue = ""; |