Re: Anyone using Vista?
- From: "Michael Mattias" <mmattias@xxxxxxxxxxxxxx>
- Date: Fri, 6 Mar 2009 18:36:52 -0600
This is a more or less 'hot topic' in two other programming-type newsgroups
I frequent: The Inno Setup (setup creation software) and my BASIC language
compiler group.
About 95% of the "problems with Vista" reported by folks in those groups
were in fact not problems with Vista per se, but problems with the fact that
Vista comes with the UAC security EN-abled by default. (XP comes with UAC
available but DIS-abled by default).
For setups ("Setup.exe") , you have to be some of King Kong User to write
into "Program Files", but you can handle that with a manifest and/or "Run
AS" .
For programs, the major problem is people trying to use the application
folder as the place to store configuration and other data, e.g., the
program's "INI" file. This is a big No-No when UAC is enabled and the
programs are installed under (of all places!) "Program Files" Make sure
your program data is on the Common Application Data folder or the user
application data folder; and always used the CSIDL_xxx equates to locate
Program Files, Common application data or any other "system" folder. If you
try to hard-code these you will be in deep doo-doo.
Registry keys are also controlled by UAC... if you try to write to HKLM
(HKEY_LOCAL_MACHINE), the O/S will silently re-direct to HKCU
(HKEY_CURRENT_USER). Bottom line here is, if you use these keys, don't count
on being able to "find stuff where you expect it" using regedit.
--
Michael C. Mattias
Tal Systems Inc.
Racine WI
mmattias@xxxxxxxxxxxxxx
.
- Follow-Ups:
- Re: Anyone using Vista?
- From: Pete Dashwood
- OT: UAC affecting applications running on a USB key in Vista and beyond was Re: Anyone using Vista?
- From: Clark F Morris
- Re: Anyone using Vista?
- References:
- Anyone using Vista?
- From: Pete Dashwood
- Anyone using Vista?
- Prev by Date: Anyone using Vista?
- Next by Date: Re: Anyone using Vista?
- Previous by thread: Anyone using Vista?
- Next by thread: OT: UAC affecting applications running on a USB key in Vista and beyond was Re: Anyone using Vista?
- Index(es):
Relevant Pages
|