[DUG] Vista help
Myles Penlington
myles at ams.co.nz
Thu Mar 15 19:10:26 NZDT 2007
Use the "All Users\Application Data" folder for shared data.
Myles
-----Original Message-----
From: delphi-bounces at ns3.123.net.nz
[mailto:delphi-bounces at ns3.123.net.nz] On Behalf Of Alister Christie
Sent: Thursday, 15 March 2007 04:02
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Vista help
You probably don't want any user data stored in the Program Files
directory - I'm not sure what you are meant to do when you share data
across users. Vista has quite a lot of support for legacy applications
(folder/registry virtualization), however this support may not be in the
next release of windows (which is probably not for another 5 years) - so
I would try to not depend on it.
I'm in the middle of fixing my own inno setup script to try to put
things in their correct places (the Application Data directory - or
{userappdata} for the inno setup script constant). I guess this is
stuff I should have sorted out years ago for XP.
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington
Ross Levis wrote:
> I can't help you, I'm sorry, but I have some Vista questions of my own
> that I hope someone can answer.
>
> I use D7 and use the XP manifest component currently. Is it easy to
> modify this to provide a Vista manifest?
>
> I've modified my programs recently to write it's configuarion data to
a
> specific subfolder called Data under the installation folder, which is
> normally under the Program Files folder, and I've also made sure the
> programs work with restricted user rights.
>
> I considered using the Common Application Data area but this will be
too
> difficult when there are multiple installations of my app on the same
> PC, which is a common occurence.
>
> I have Inno setup changing the access rights on the Data folder to
> read/write/modify during installation
>
> Does any of this break the Vista rules?
>
> Thanks,
> Ross.
>
> ----- Original Message -----
> From: "Robert martin" <rob at wildsoft.co.nz>
> To: "NZ Borland Developers Group - Delphi List" <delphi at ns3.123.co.nz>
> Sent: Thursday, March 15, 2007 11:27 AM
> Subject: [DUG] Vista help
>
>
> Hi All
>
> We are testing our Apps in Vista but I must admit to having some
> difficulties with the OS. We use Crystal reports which we understadn
is
> a problem on Vista.
>
> So I have been testing our runtime install (the full deployment is a
> guaranteed no go). It was working!. However the app involved showed
> with a shield (which apparently indicates running in admin mode),
even
> though the properties for the app were set to no compatability fixes
and
> non admin. So I rebuilt the app with a Vista manifest setting the
> rights to minimum (user). This removed the shield but broke Crystal.
> So I removed the manifest but the shield has not returned and even if
I
> force the app to run in admin mode, crystal still fails.
>
> I think the issue is the app is no longer 'virtualized'. I have no
idea
> how to turn this setting back on. Does anyone have any ideas, the MS
> site tells me all about virtualization and that adding a security
> manifest will turn it off (thats what I did), but removing the
manifest
> has not restored it.
>
> Arrggghh !
>
>
_______________________________________________
Delphi mailing list
Delphi at ns3.123.net.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
Attention:
This communication is confidential and may be legally privileged. If you are not the intended recipient, please do not use, disclose, copy or distribute it, other than to return it to us with your confirmation that it has been deleted from your system.
More information about the Delphi
mailing list