Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Incorrect Windows userid on "Customer Information" screen|
|Component:||code||Assignee:||AOO issues mailing list <issues>|
|Status:||ACCEPTED ---||QA Contact:|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description gsporar 2008-02-04 22:23:23 UTC
I have two user accounts on my Sony VAIO laptop: SONY USER gs145266 The SONY USER account was there when I got the laptop. I created gs145266. I always log on to Vista as gs145266 and I verified that I was logged on as gs145266 before opening this issue. I am running the OO.org installer that is labeled OOo_2.3.1_Win32Intel_install_en-US I am on the "Customer Information" screen of the dialog. The install program has filled in SONY USER in the "User Name:" field. Below that it has an option that says: "Install this application for" and two choices: - Anyone who uses this computer (all users) - Only for me (SONY USER) As mentioned - I was not logged on as SONY USER; I was logged on as gs145266. So it appears there is a bug in the installer where it sometimes thinks that a different user is logged on than the userid that is actually logged on.
Comment 1 Olaf Felka 2008-02-05 08:46:11 UTC
You can see what is registred in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S- 1-5-18\Products\0B79C053C7D38EE4AB9A00CB3B5D2472\InstallProperties I is there a chance to display the username or accountname (if the username is unknown) instead?
Comment 2 Olaf Felka 2008-02-05 11:17:39 UTC
Comment 3 ingo.schmidt-rosbiegal 2008-02-05 11:29:11 UTC
I will check this for OOo 3.0.
Comment 4 ingo.schmidt-rosbiegal 2008-02-28 17:45:05 UTC
The Properties USERNAME and COMPANYNAME, that are displayed in the dialog CustomerInformation, are set by the Windows Installer service at the beginning of the installation. The Windows Installer Service reads in the Windows Registry at: HKLM\Software\Microsoft\Windows NT\CurrentVersion (example for Win XP) where "RegisteredOwner" and "RegisteredOrganization" is saved. This is the user, who installed the Windows on the PC. This are real names, no login names. It is not useful to display a login name like gs145266 in the CustomerInformation dialog. In your case there seems to be a "SONY USER", who installed the Windows and created a user login with the same name. The login name could be available via "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer", where "Logon User Name" is saved (but this is probably dependent from the Windows version). But displaying the login name is not the idea of this dialog. A real name has to be inserted, and there is no real name available in the Windows registry, except the one from the person, who installed the Windows. So there is another error on this page. The RadioButton "Only for me" should not contain the user name in brackets, because this is not necessarily the correct user name. To display the correct name, you have to edit the field "User Name" and press "next" and "back". Then the correct name is updated. So it seems to be more useful, not to display the user name next to the text "Only for me", but to leave this text alone. So I will remove the bracket. Furthermore I would not change the content of the text fields, because this are only proposals for a real name. Everyone can edit this field and enter his own real name.
Comment 5 jjr16 2008-03-29 22:32:30 UTC
On my new install of OOo 2.4.0 on XP Home SP2, I have the same problem. The name that XP is registered to (simply viewed under the General tab in System Properties) was displayed in the User Name field and the Organization field was blank, same as the XP registered info. The Only for me radio button option incorrectly had the same name in parentheses, also. Now, "is" is working on omitting the parentheses but I would further recommend to rename the preceding text to "Only this user" unless the actual user account profile name is displayed instead. Additionally, is there even a need for the _installer_ to confirm User Name and Organization since that info seems to be ignored later when the Welcome Wizard is displayed upon first run of OOo in *each* profile?
Comment 6 ingo.schmidt-rosbiegal 2008-05-27 16:30:10 UTC