Re: Manifest File - Installs in Vista
- From: "Graham Mandeno" <Graham.Mandeno@xxxxxxxxxxxxx>
- Date: Tue, 12 May 2009 13:12:52 +1200
Hi David
"David W. Fenton" <XXXusenet@xxxxxxxxxxxxxxxxxxx> wrote in message
news:Xns9C08C2F9D24FEf99a49ed1d0c49c5bbb2@xxxxxxxxxxxxxxxx
"Graham Mandeno" <Graham.Mandeno@xxxxxxxxxxxxx> wrote in
news:8D9E8EFB-19DE-4DAB-A1B7-4999D1442AB8@xxxxxxxxxxxxx:
Yes, I remember when life was good :-)
You mean back when everyone ran as administrator, instead of
correctly running in a user-level logon?
Yes, I do. It was a joke - hence the smiley :-)
Thank you for explaining the reasons for virtualisation in much greater
detail than I bothered to. The fact remains that its introduction caused
confusion and caused certain things to break for some people.
Because an Access file (even an MDE) gets "modified" whenever you
open it, the front-end got copied into some black hole accessible
only to the current user. Imagine my surprise when a new version
was installed "as Administrator" and the old version was still the
one that opened!
I don't know when you first discovered this in Vista, but you should
have been doing things properly as long ago as 1999, when Windows
2000 came out.
Well, perhaps you're right, but I beg to differ. My understanding of
C:\Program Files was that it was the correct place for admins to install
programs. An Access front-end is arguably a program. It contains no data
and it is used to access and manipulate data. It used to work perfectly
well for an admin to install a front-end in Program Files and a back-end in
a "shared" area where all users of the app (admins or not) had write
access - the obvious candidate on a standalone machine being the
Common_Appdata folder.
This worked well - lowly users and admins alike could open the front-end and
use it, modifying the data in the back-end. The only difference was that
lowly users did not cause the modification date on the front-end to change,
while admins did.
With Vista however, when an admin opened and closed the frontend he created
for himself a new virtualised copy. When he installed an updated version,
he found himself still using the old version.
As for Common_AppData, surely its purpose is for data which is to be shared.
It is up to the owner of that data whether or not users may modify it.
However, with Vista, a user who has legitimate write access to a file in
that location creates a virtualised copy, and the changes cannot be seen by
other users.
Does this seem right? I think not.
So now, I have reverted to good old DOS days and I install
everything in a folder that Windows knows nothing about and
therefore cannot tamper with.
Anything that used to go in Program Files\... goes in
C:\Applications\...
This is the wrong place, even though it doesn't cause virtualization
problems. It's wrong because you either have to run as an admin to
have write access to this location, or you have to manually assign
write permission for user-level logons.
I disagree. If a proper installation program (I use Inno Setup) creates
this folder and grants the required read and/or write permissions to the
appropriate user groups, how is this wrong?
I infer that you would have front-ends installed in each user's AppData
folder? For me, this has two problems: (a) it offers no protection to
read-only components that ought not to be tampered with by non-admin users
and (b) it creates a maintenance nightmare - for example, if you have five
different users who regularly use the same workstation, you need to maintaib
five concurrent copies of the same application (front-end and associated
files) on the one computer.
That's my 2c worth.
--
Cheers :-)
Graham Mandeno [Access MVP]
Auckland, New Zealand
.
- Follow-Ups:
- Re: Manifest File - Installs in Vista
- From: David W. Fenton
- Re: Manifest File - Installs in Vista
- References:
- Manifest File - Installs in Vista
- From: rick allison
- Re: Manifest File - Installs in Vista
- From: Graham Mandeno
- Re: Manifest File - Installs in Vista
- From: David W. Fenton
- Manifest File - Installs in Vista
- Prev by Date: Re: Report Code isn't Running
- Next by Date: RE: Access Close Button: Event
- Previous by thread: Re: Manifest File - Installs in Vista
- Next by thread: Re: Manifest File - Installs in Vista
- Index(es):
Relevant Pages
|