Issue 8590 - installation fails without an account named "Administrator"
Summary: installation fails without an account named "Administrator"
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: 643
Hardware: Other Other OS
: P1 (highest) Trivial (vote)
Target Milestone: ---
Assignee: Olaf Felka
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-22 15:04 UTC by ingenstans
Modified: 2003-09-08 16:53 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ingenstans 2002-10-22 15:04:18 UTC
I'm filing this as a fresh bug, although I think it is related to #4397.

Installing or 
upgrading on Windows 2000 systems seems to fail if there is no account explicitly named 
"Administrator". This has nothing to do with granting Administrator privileges to an account 
with a different name and installing from that.

According to the documents, all you need to 
install OOo is any account with Administrator priviliges. But if this is not called 
"Administrator" the installation crashes reliably with a Dr WAtson towards the end of the 
"registering components" stage if a single user install is attempted. Otherwise it crashes in 
the second stage install, after "setup /net" completes successfully, when clicking either 
"next" or "help" in the first setup screen. Again, the message is that "soffice.exe has caused 
errors and is being closed by Windows".

Steps to repeat:
On a Windows 2000 system, rename 
the "Administrator" account to anything else.
Attempt to install O0 1.01 or 643.

It 
probably won't work with any version. It porbably won't work in Windows XP either. But I haven't 
tested that.
Comment 1 Olaf Felka 2002-10-22 15:14:12 UTC
1. Please tell me what you have done to get rid of this
'Administrator' account.
2. Don't try to upgrade. OOo has no upgrade feature.
Comment 2 ingenstans 2002-10-22 16:06:10 UTC
1) All I did was to rename the account (right-click on the name in the Local Users 
section when in the Management screen). 

2) I wasn't upgrading in the sense of 
installing over a previous version. I know there's no upgrade. (There should be a 
mechanism for copying over settings etc but that's an enhancement request). I was 
installing into a clean directory onto a machine where there had been a previous 
installation.

I've been thinking about possible fixes. 

The best would be 
to find where the code is actually looking for an account called "Administrator" and 
change that to look for an account with admin privileges, as the docs suggest. 


The easiest would be to check, early in the install process, that an 
"Administrator" account exists and bail out with a clear explanation if it 
doesn't.

Another way would be to put a warning in the "readme" file. But who reads 
that? At the very least, the install instructions should be changed to warn about 
this.

 
Comment 3 Olaf Felka 2002-11-20 15:13:11 UTC
I can't reproduce this on XP or 2000. I've renamed my Administrator
account as you described. No problem for OOo 1.0.1, setup runs fine.
There is no dependency to such an account in the sources. This
wouldn't even make sense because normaly a user has no access to this
directories.
Comment 4 Olaf Felka 2002-12-18 10:11:00 UTC
WORKSFORME