diff options
author | Andras Timar <atimar@suse.com> | 2012-04-11 16:01:06 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-04-11 16:03:03 +0200 |
commit | ee7084c4f720c932df67c8ff033dab4d8d556179 (patch) | |
tree | e46b2e00b3115b866f0a59aad2f0a970efd5ba9d | |
parent | bb7d331ecdb3a0a4723f770a9f891c00f4a25dbf (diff) |
set correct value of FINDPRODUCT property
-rw-r--r-- | solenv/bin/modules/installer/windows/property.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/modules/installer/windows/property.pm b/solenv/bin/modules/installer/windows/property.pm index 27b19d7170c5..8650883a09ed 100644 --- a/solenv/bin/modules/installer/windows/property.pm +++ b/solenv/bin/modules/installer/windows/property.pm @@ -255,9 +255,9 @@ sub set_important_properties push(@{$propertyfile}, $onepropertyline); } - if (( $allvariables->{'PRODUCTNAME'} ) && ( $allvariables->{'PRODUCTVERSION'} ) && ( $allvariables->{'MANUFACTURER'} ) && ( $allvariables->{'PRODUCTCODE'} )) + if (( $allvariables->{'PRODUCTNAME'} ) && ( $allvariables->{'PRODUCTVERSION'} ) && ( $allvariables->{'REGISTRYLAYERNAME'} )) { - my $onepropertyline = "FINDPRODUCT" . "\t" . "Software\\" . $allvariables->{'MANUFACTURER'} . "\\" . $allvariables->{'PRODUCTNAME'} . $allvariables->{'PRODUCTADDON'} . "\\" . $allvariables->{'PRODUCTVERSION'} . "\\" . $allvariables->{'PRODUCTCODE'} . "\n"; + my $onepropertyline = "FINDPRODUCT" . "\t" . "Software\\LibreOffice" . "\\" . $allvariables->{'REGISTRYLAYERNAME'} . "\\" . $allvariables->{'PRODUCTNAME'} . "\\" . $allvariables->{'PRODUCTVERSION'} . "\n"; push(@{$propertyfile}, $onepropertyline); } |