Re: Check-list to installing/running apps as non-admin?
- From: "Kevin Provance" <casey@xxxxxxxxxxx>
- Date: Sun, 23 Dec 2007 21:39:13 -0500
What? No, no and no!
Sorry, but installing apps to the root drive is a big no-no, *especially* in
Vista. It will cause way more problems than not. Applications are strongly
encouraged to be installed in Program Files, and all data files written to
the application data folder as they will not write to the apps folder is
program files.
Any user who is not an admin needs to be directed to right-click on your
app's setup program and select "Run as Admin"
You're an MVP, you should know better! <g>
| I've found on Vista that non-admins cannot install to Program Files, so I
| must provide the option to install elsewhere, something like c:\MyApp.
OCX's
| must be registered, but that's not a problem as long as only the one user
| runs the app. Non-admins can only write to HKCU in the registry. If they
| write to HKLM it seems to write, but is actually written to a virtual part
| of the directory that is only valid for them (it does not affect other
| users).
|
| In Vista if a user is logged in as the local administrator and runs a
setup
| (or the program), they must use the "Run as administrator" feature (unless
| UAC is disabled). Otherwise they will not have administrator privileges.
|
| --
| Richard Mueller
| Microsoft MVP Scripting and ADSI
| Hilltop Lab - http://www.rlmueller.net
| --
|
|
.
- Follow-Ups:
- Re: Check-list to installing/running apps as non-admin?
- From: Gilles Ganault
- Re: Check-list to installing/running apps as non-admin?
- From: Richard Mueller [MVP]
- Re: Check-list to installing/running apps as non-admin?
- References:
- Check-list to installing/running apps as non-admin?
- From: Gilles Ganault
- Re: Check-list to installing/running apps as non-admin?
- From: Ron Weiner
- Re: Check-list to installing/running apps as non-admin?
- From: Gilles Ganault
- Re: Check-list to installing/running apps as non-admin?
- From: Richard Mueller [MVP]
- Check-list to installing/running apps as non-admin?
- Prev by Date: Re: VB6 Itemdata is zero
- Next by Date: Re: Not vbasic related post but related to the posting in forum
- Previous by thread: Re: Check-list to installing/running apps as non-admin?
- Next by thread: Re: Check-list to installing/running apps as non-admin?
- Index(es):
Relevant Pages
|