DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

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

urlwolf

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,837
    • Gathering Badge
    • Linux User
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

  • That News Guy
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • Plugin Coding Medal
    • Gathering Badge
Re: installers that assume admin privs: what to do with them?
« Reply #1 on: May 01, 2009, 02:25 AM »
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: May 01, 2009, 02:36 AM by Ehtyar »

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: installers that assume admin privs: what to do with them?
« Reply #2 on: May 01, 2009, 01:12 PM »
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
  • ***
  • Posts: 2,266
Re: installers that assume admin privs: what to do with them?
« Reply #3 on: May 03, 2009, 09: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,954
Re: installers that assume admin privs: what to do with them?
« Reply #4 on: May 03, 2009, 11: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!)
The easy path is usually downhill...

Original address: https://www.donationcoder.com/forum/index.php?topic=18127.0