[Bug 20734] New: sfirm demo complains LogonUser contains no value.

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 16 13:02:23 CST 2009


           Summary: sfirm demo complains LogonUser contains no value.
           Product: Wine
           Version: 1.1.33
          Platform: PC
               URL: http://download.sfirm.de/endkunde/sf32/sfirm_demo.exe
        OS/Version: Linux
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: msi
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: xerox_xerox2000 at yahoo.co.uk

Hi, a user reported this bug on wine-users list. It complains about a load of
things not set correctly, but this is the first one: a messagbox thar LogonUser
contains no value. Setting value like something below fixes the bug, but i
guess this needs testing, which i'm not able to write.

Next bug (i'll open new report when this one is fixed) is that CURRENTDIRECTORY
property not set

diff --git a/dlls/msi/package.c b/dlls/msi/package.c
index 87f1092..a1b371c 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -439,6 +439,7 @@ static VOID set_installer_properties(MSIPACKAGE *package)
     static const WCHAR szUSERNAME[] = {'U','S','E','R','N','A','M','E',0};
+    static const WCHAR szLogonUser[] =
     static const WCHAR szCOMPANYNAME[] =
     static const WCHAR szDate[] = {'D','a','t','e',0};
     static const WCHAR szTime[] = {'T','i','m','e',0};
@@ -547,6 +548,7 @@ static VOID set_installer_properties(MSIPACKAGE *package)
     /* in a wine environment the user is always admin and privileged */
+    MSI_SetPropertyW(package,szLogonUser,szOne);

     /* set the os things */
     OSVersion.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEXW);

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list