Issue 85872 - Incorrect Windows userid on "Customer Information" screen
Summary: Incorrect Windows userid on "Customer Information" screen
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 2.3.1
Hardware: PC Windows, all
: P4 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2008-02-04 22:23 UTC by gsporar
Modified: 2013-08-07 15:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description gsporar 2008-02-04 22:23:23 UTC
I have two user accounts on my Sony VAIO laptop:


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 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

- 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 
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 2008-02-05 11:29:11 UTC
I will check this for OOo 3.0.
Comment 4 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 2008-05-27 16:30:10 UTC
Target 3.x