Unable to install program: admin rights not continued

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
polypody
Newbie
Newbie
Posts: 4
Joined: Sat Aug 30, 2008 12:37 pm

Unable to install program: admin rights not continued

Post by polypody »

I am new to Wine so this may just be a stupid newbie trick. I did search this forum, the FAQ, and the documentation and didn't see this problem mentioned. I am attempting to install WordPerfect from CDs on a new Ubuntu setup. It appears to initially work (after asking for the root pwd) then it pops up an error "You do not have administrator privileges on this machine. Setup cannot continue".

I have the following:
Ubuntu 8.04 LTS
Wine 1.0

in Ubuntu, I bring up the "run application" window and then type

Code: Select all

gksu /media/cdrom0/setup32.exe
I've also tried adding "wine" before that address. Everything comes up with the same error (with the heading SetupMgr).

I have also tried clicking on the setup32.exe icon, running from a terminal window, everything brings up the identical error.

I did NOT run wine as root. The docs say wine should run as root, but it looks like something is not getting the correct permissions.

Any suggestions gratefully accepted ...
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Re: Unable to install program: admin rights not continued

Post by Usurp »

polypody wrote: I did NOT run wine as root. The docs say wine should run as root, but it looks like something is not getting the correct permissions.

Any suggestions gratefully accepted ...
Read FAQ. gksu/sudo/su is running as root.
http://wiki.winehq.org/FAQ#head-96bebfa ... 78b0d41014
polypody
Newbie
Newbie
Posts: 4
Joined: Sat Aug 30, 2008 12:37 pm

Post by polypody »

I understand -- what I meant was in the system, wine should be already running with root permissions. I did not myself invoke root privileges to run wine. Thus I am confused why the setup thinks it does not have the correct permissions.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

polypody wrote:I understand -- what I meant was in the system, wine should be already running with root permissions.
Not correct. Wine does not need to be run as root AT ALL. Not a single piece of it. You install and run programs on Wine as a normal user.
polypody
Newbie
Newbie
Posts: 4
Joined: Sat Aug 30, 2008 12:37 pm

Post by polypody »

I do not run wine as root. Understood. However, wine does have root permissions ALREADY, as an executable. I merely wished to assure people I had not run wine incorrectly (in that way) to better debug my problem. That's all!
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

Hi polypody.

I (think) that wine privilegges differ from system privilleges. As wine is a user application (correct me if wrong).

So, try to run winecfg and set windows version to win98 as a start
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

However, wine does have root permissions ALREADY, as an executable.
Where on earth did you get that idea? Wine does not have root permissions unless you run it as root. I suggest you do some reading on the basics of *nix permissions, as you obviously do not understand them.
in Ubuntu, I bring up the "run application" window and then type
Code:
gksu /media/cdrom0/setup32.exe
If that's really the command you used to run the installer, then you clearly ran Wine as root--gksu is root. So first you need to follow the instructions in the FAQ to clean up the mess you've made: http://wiki.winehq.org/FAQ#head-96bebfa ... 78b0d41014

After following the above directions, try setting the Windows version in winecfg to Windows 98, then run the installer as a normal user. The administrator privileges your app is looking for are Windows administrator privileges, which don't exist in Wine. Windows 98 didn't differentiate between administrator and user privileges, and that may be enough to fool the program.
polypody
Newbie
Newbie
Posts: 4
Joined: Sat Aug 30, 2008 12:37 pm

Post by polypody »

The error made me think some root permission was required somewhere, and since wine should already be running as administrator I was trying various means to satisfy this. I removed the .wine folder before trying again and posting here, just to make sure that was not the problem.

I tried changing the windows emulator to win98 and I got a little further (But why would it be necessary to switch to 98 mode if wine already has administrator privileges on the "windows" side? I saw no mention of this issue in the forum or FAQ.) Now I get a splash screen from the Corel Setup Wizard, and a message that Setup32 is already running. It won't continue without shutting that process down itself (and then the install ends). I rebooted the machine and checked the system processes to make sure an old install process wasn't running and tried again, but I get the same error. I also tried running the install from the terminal window after cd-ing to the CD drive ... same thing happened.

Thank you for your assistance
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

polypody wrote:(But why would it be necessary to switch to 98 mode if wine already has administrator privileges on the "windows" side? I saw no mention of this issue in the forum or FAQ.)
Reread my previous post.
Now I get a splash screen from the Corel Setup Wizard, and a message that Setup32 is already running. It won't continue without shutting that process down itself (and then the install ends). I rebooted the machine and checked the system processes to make sure an old install process wasn't running and tried again, but I get the same error. I also tried running the install from the terminal window after cd-ing to the CD drive ... same thing happened.
You didn't mention what version of WordPerfect you're trying to install, but the behavior you're describing sounds like this bug affecting WordPerfect Office 2002: http://bugs.winehq.org/show_bug.cgi?id=14334
Tweedz
Newbie
Newbie
Posts: 2
Joined: Wed Mar 18, 2009 6:03 pm

what if the install program won't run in win 98/me?

Post by Tweedz »

im trying to install a usb midi driver and i set wine to 98 and get a messg that it can't run in 98/ME

so am i sqrewd or is there a way around this
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: what if the install program won't run in win 98/me?

Post by vitamin »

Tweedz wrote:im trying to install a usb midi driver
Wine does not support any hardware drivers.
Locked