summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt4
-rw-r--r--solenv/bin/modules/installer.pm2
-rw-r--r--solenv/bin/modules/installer/windows/msishortcutproperty.pm45
3 files changed, 25 insertions, 26 deletions
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt
index 193873a810fb..c5945ae6f05f 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt
@@ -296,6 +296,10 @@ MsiFileHash HashPart2 N Size of file in bytes (long integer).
MsiFileHash HashPart3 N Size of file in bytes (long integer).
MsiFileHash HashPart4 N Size of file in bytes (long integer).
MsiFileHash Options N 0 32767 Various options and attributes for this hash.
+MsiShortcutProperty MsiShortcutProperty N Identifier Unique identifier for this row of the MsiShortcutProperty table
+MsiShortcutProperty Shortcut_ N Identifier A key into the Shortcut table that identifies the shortcut having a property set
+MsiShortcutProperty PropertyKey N Formatted A string value that provides information for the PROPERTYKEY structure
+MsiShortcutProperty PropVariantValue N Formatted A string value that provides information for the PROPVARIANT structure.
ODBCAttribute Attribute N Text Name of ODBC driver attribute
ODBCAttribute Driver_ N ODBCDriver 1 Identifier Reference to ODBC driver in ODBCDriver table
ODBCAttribute Value Y Text Value for ODBC driver attribute
diff --git a/solenv/bin/modules/installer.pm b/solenv/bin/modules/installer.pm
index 76ba4100bf05..76884c355dff 100644
--- a/solenv/bin/modules/installer.pm
+++ b/solenv/bin/modules/installer.pm
@@ -1392,7 +1392,7 @@ sub run {
installer::windows::upgrade::create_upgrade_table($newidtdir, $allvariableshashref);
- installer::windows::msishortcutproperty::create_msishortcutproperty_table($folderitempropertiesinproductlanguageresolvedarrayref, $folderitemsinproductlanguageresolvedarrayref, $newidtdir);
+ installer::windows::msishortcutproperty::create_msishortcutproperty_table($folderitempropertiesinproductarrayref, $folderitemsinproductlanguageresolvedarrayref, $newidtdir);
if (( ! $installer::globals::languagepack ) && ( ! $installer::globals::helppack )) # the following tables not for language packs or help packs
{
diff --git a/solenv/bin/modules/installer/windows/msishortcutproperty.pm b/solenv/bin/modules/installer/windows/msishortcutproperty.pm
index d15cb46af599..019adbd28253 100644
--- a/solenv/bin/modules/installer/windows/msishortcutproperty.pm
+++ b/solenv/bin/modules/installer/windows/msishortcutproperty.pm
@@ -109,39 +109,34 @@ sub create_msishortcutproperty_table
{
my ($folderitempropertiesref, $folderitemsref, $basedir) = @_;
- for ( my $m = 0; $m <= $#{$languagesarrayref}; $m++ )
- {
- my @msishortcutpropertytable = ();
-
- installer::windows::idtglobal::write_idt_header(\@msishortcutpropertytable, "msishortcutproperty");
+ my @msishortcutpropertytable = ();
- # The entries defined in scp as FolderItemProperties
- # These shortcuts will fill the icons table.
+ installer::windows::idtglobal::write_idt_header(\@msishortcutpropertytable, "msishortcutproperty");
- for ( my $j = 0; $j <= $#{$folderitempropertiesref}; $j++ )
- {
- my $onelink = ${$folderitempropertiesref}[$j];
+ # The entries defined in scp as FolderItemProperties
- my %msishortcutproperty = ();
+ for ( my $j = 0; $j <= $#{$folderitempropertiesref}; $j++ )
+ {
+ my $onelink = ${$folderitempropertiesref}[$j];
+ my %msishortcutproperty = ();
- $msishortcutproperty{'MsiShortcutProperty'} = get_msishortcutproperty_identifier($onelink);
- $msishortcutproperty{'Shortcut_'} = get_msishorcutproperty_shortcut($onelink, $folderitemsref);
- $msishortcutproperty{'PropertyKey'} = get_msishortcutproperty_propertykey($onelink);
- $msishortcutproperty{'PropVariantValue'} = get_msishortcutproperty_propvariantvalue($onelink);
+ $msishortcutproperty{'MsiShortcutProperty'} = get_msishortcutproperty_identifier($onelink);
+ $msishortcutproperty{'Shortcut_'} = get_msishorcutproperty_shortcut($onelink, $folderitemsref);
+ $msishortcutproperty{'PropertyKey'} = get_msishortcutproperty_propertykey($onelink);
+ $msishortcutproperty{'PropVariantValue'} = get_msishortcutproperty_propvariantvalue($onelink);
- my $oneline = $msishortcutproperty{'MsiShortcutProperty'} . "\t" . $msishortcutproperty{'Shortcut_'} . "\t"
- . $msishortcutproperty{'PropertyKey'} . "\t" . $msishortcutproperty{'PropVariantValue'} . "\n";
+ my $oneline = $msishortcutproperty{'MsiShortcutProperty'} . "\t" . $msishortcutproperty{'Shortcut_'} . "\t"
+ . $msishortcutproperty{'PropertyKey'} . "\t" . $msishortcutproperty{'PropVariantValue'} . "\n";
- push(@msishortcutpropertytable, $oneline);
- }
+ push(@msishortcutpropertytable, $oneline);
+ }
- # Saving the file
+ # Saving the file
- my $msishortcutpropertytablename = $basedir . $installer::globals::separator . "MsiShortcutProperty.idt" . "." . $onelanguage;
- installer::files::save_file($msishortcutpropertytablename ,\@msishortcutpropertytable);
- my $infoline = "Created idt file: $msishortcutpropertytablename\n";
- push(@installer::globals::logfileinfo, $infoline);
- }
+ my $msishortcutpropertytablename = $basedir . $installer::globals::separator . "MsiShorP.idt";
+ installer::files::save_file($msishortcutpropertytablename ,\@msishortcutpropertytable);
+ my $infoline = "Created idt file: $msishortcutpropertytablename\n";
+ push(@installer::globals::logfileinfo, $infoline);
}