The Artima Developer Community
Sponsored Link

Java Buzz Forum
Microsoft Installer And RunAs

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
John Topley

Posts: 233
Nickname: johntopley
Registered: Jul, 2003

John Topley is embarking on a journey to become a J2EE master.
Microsoft Installer And RunAs Posted: Feb 7, 2004 2:27 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by John Topley.
Original Post: Microsoft Installer And RunAs
Feed Title: John Topley's Weblog
Feed URL: http://johntopley.com/posts.atom
Feed Description: John Topley's Weblog - some articles on Ruby on Rails development.
Latest Java Buzz Posts
Latest Java Buzz Posts by John Topley
Latest Posts From John Topley's Weblog

Advertisement

I recently installed the ActivePython IDE from ActiveState. Yes, I'm playing with Python, but more on that in a future blog entry. Being a good Windows citizen, the installer for ActivePython is a Microsoft Installer (*.msi) file. I was logged on using my regular user account, which has Power User privileges. As an aside, the Power User group is still available in Windows XP, even though it's not surfaced by the simplified User Accounts Control Panel applet. I believe that Microsoft used to recommend for Windows 2000 that everyday user accounts should be members of the Power Users group, which is equivalent to the old Windows NT 4 Users group.

Where's RunAs?
A picture of the context menu for Microsoft Installer files

Anyway, I double-clicked the setup file and got a message informing me that as I wasn't logged on as an Administrator I could still install the software, but the DLLs would be installed into the program folder and not in system32. Also, some other features would not be available. At this point I gave praise that someone had finally written a setup routine that accounted for the capabilities of the current user account.

I aborted the installation and right-clicked on the setup file with the intention of using the handy RunAs command to re-run setup as an Administrator. I couldn't do it though because the command wasn't there. Then I tried holding down the shift key and right-clicking but it was still no good. So I had to log off and then log on as Administrator, all because it appears that Microsoft Installer files don't support RunAs. Now things are usually the way they are in Windows for a reason (honestly), so perhaps Raymond Chen knows the reason?

Read: Microsoft Installer And RunAs

Topic: PHP Web Projects Continue to Impress Me Previous Topic   Next Topic Topic: 15

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use