Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
997bfce2
Kaydet (Commit)
997bfce2
authored
Tem 20, 2012
tarafından
Andras Timar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
work around unexpected behaviour of msidb.exe from SDK 7.1
Change-Id: I48cfa19c40140dc81b105e27051f99e8f1a0c8ae
üst
609583db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
msp.pm
solenv/bin/modules/installer/windows/msp.pm
+18
-14
No files found.
solenv/bin/modules/installer/windows/msp.pm
Dosyayı görüntüle @
997bfce2
...
...
@@ -175,23 +175,27 @@ sub include_tables_into_pcpfile
$localworkdir
=~
s/\//\\\\/g
;
}
$systemcall
=
$msidb
.
" -d "
.
$localfullpcpfilepath
.
" -f "
.
$localworkdir
.
" -i "
.
$tables
;
$returnvalue
=
system
(
$systemcall
);
my
@tables
=
split
(
' '
,
$tables
);
# I found that msidb from Windows SDK 7.1 did not accept more than one table.
foreach
my
$table
(
@tables
)
{
$systemcall
=
$msidb
.
" -d "
.
$localfullpcpfilepath
.
" -f "
.
$localworkdir
.
" -i "
.
$table
;
$infoline
=
"Systemcall: $systemcall\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
$returnvalue
=
system
(
$systemcall
);
if
(
$returnvalue
)
{
$infoline
=
"ERROR: Could not execute $systemcall !\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
installer::exiter::
exit_program
(
"ERROR: Could not include tables into pcp file: $fullpcpfilepath !"
,
"include_tables_into_pcpfile"
);
}
else
{
$infoline
=
"Success: Executed $systemcall successfully!\n"
;
$infoline
=
"Systemcall: $systemcall\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
if
(
$returnvalue
)
{
$infoline
=
"ERROR: Could not execute $systemcall !\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
installer::exiter::
exit_program
(
"ERROR: Could not include tables into pcp file: $fullpcpfilepath !"
,
"include_tables_into_pcpfile"
);
}
else
{
$infoline
=
"Success: Executed $systemcall successfully!\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment