topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 4:40 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: installers that assume admin privs: what to do with them?  (Read 4025 times)

urlwolf

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,837
    • View Profile
    • Donate to Member
I wanted to install emacsW32 but it seems that the installer leaves all files under admin's ownership.

I could change the ownership, but still, when launching it, it tries to write to admin's home (and of course, gets permission denied). My guess is that somewhere in the registry something is assuming that the user who installs is the user who will use it (almighty-user-mode, the standard up to XP on most cases).

I cannot be 100% sure that it's the installer. But even if it's not, the general question arises,... what to do with programs that still use almighty-user-mode?

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: installers that assume admin privs: what to do with them?
« Reply #1 on: April 30, 2009, 09:25 PM »
Your choices are Universal Extractor, or install and copy from another machine.

Ehtyar.

[edit]
Eeep, didn't fully read the post *headdesk*. I've installed xemacs before, but I made it a portable installation before I ran it first time, so I'm not quite sure I can help you here urlwolf. Sorry for the pointless post.
[/edit]
« Last Edit: April 30, 2009, 09:36 PM by Ehtyar »

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: installers that assume admin privs: what to do with them?
« Reply #2 on: May 01, 2009, 08:12 AM »
Run sysinternals Process Monitor (not explorer!), set a filter on the emacs executable and check which locations it reads - should clue you in on what you need to change to make it use the correct locations :)
- carpe noctem

Innuendo

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 2,266
    • View Profile
    • Donate to Member
Re: installers that assume admin privs: what to do with them?
« Reply #3 on: May 03, 2009, 04:00 PM »
I would also put forward the suggestion of dropping a line to the program's author that the current way the program installs is NOT acceptable in this day and age of Windows Vista and Windows 7.

A text editor does not need admin levels of system access, IMHO.

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: installers that assume admin privs: what to do with them?
« Reply #4 on: May 03, 2009, 06:15 PM »
SysInternal's Process Explorer gives you an opportunity to run a piece of software using a more privileged user (if you know the correct user name and password). But accessing that functionality uses an ugly work flow.

http://www.ilyns.com/advanced-run.asp   is where you can get a piece of software that does the same but a lot easier and more pleasing to the eye (software is not working with 64-bit!)