Hans Leidekker : msi: Don' t publish package name as part of product properties.

Alexandre Julliard julliard at winehq.org
Tue Mar 31 12:19:22 CDT 2009


Module: wine
Branch: master
Commit: 965698cd28812178370546549edc97beb12e71e0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=965698cd28812178370546549edc97beb12e71e0

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Mar 31 11:31:01 2009 +0200

msi: Don't publish package name as part of product properties.

This value does not exist directly under the product key on Windows.

---

 dlls/msi/action.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 92b95df..948cf4a 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -3559,9 +3559,6 @@ static UINT msi_publish_product_properties(MSIPACKAGE *package, HKEY hkey)
     langid = msi_get_property_int(package, szProductLanguage, 0);
     msi_reg_set_val_dword(hkey, INSTALLPROPERTY_LANGUAGEW, langid);
 
-    ptr = strrchrW(package->PackagePath, '\\' ) + 1;
-    msi_reg_set_val_str(hkey, INSTALLPROPERTY_PACKAGENAMEW, ptr);
-
     /* FIXME */
     msi_reg_set_val_dword(hkey, INSTALLPROPERTY_AUTHORIZED_LUA_APPW, 0);
 




More information about the wine-cvs mailing list