PDA

View Full Version : Making AppData UAC (Vista) safe - updated with CHM version



NewsArchive
03-09-2009, 03:29 AM
Making AppData UAC (Vista) safe - updated with CHM version

http://profileexchanges.com/blog/?p=120

At this blog link, you can download a text only version of the blog or a
text and special CHM version so you can easily print the blog. Source code
is specially formatted so you can copy directly from CHM and paste in your
Global embed.

Additional references are included in the text and CHM versions.

This blog, text and CHM version will be possibly updated in the future with
expanded information as others contribute to give a simple introduction to
Vista installs and UAC safe data locations - for those who need at least a
starting point.

One of the reasons I wrote my blog in the fashion that I did was - yes, the
answers to a BASIC tutorial involving Vista installs are scattered about in
MANY articles, newsgroup discussions, screenshots, etc

and, anyone reading posts by others who have created more definitive
articles should make note of the various references, so when you decide
your approach to a particular project needs refining, more sophistication,
a wider view of the whole picture, etc - you'll have good technical
resources to draw on.

However, my approach is a VERY simple implementation - designed for someone
who needs to get their feet wet.

David

--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
Profile Exchanges - www.encouragersoftware.com/profile/
http://www.profileexchanges.com/blog/

NewsArchive
03-10-2009, 02:54 AM
Hi David,

> Making AppData UAC (Vista) safe - updated with CHM version

Just noticed: AppData in this context is confusing because of
COMMON_APPDATA etc. It kind of implies that you are working with the
CSIDL_COMMON_APPDATA or CSIDL_LOCAL_APPDATA when you are talking about
program data or application data.

Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
03-10-2009, 02:55 AM
> Hi David,
>
> On 9 Mar 2009 04:12:25 -0500, David Troxell - Encourager Software wrote:
>
>> Making AppData UAC (Vista) safe - updated with CHM version
>
> Just noticed: AppData in this context is confusing because of
> COMMON_APPDATA etc.

Arnor,

OK, essentially I was just trying to keep the Title shorter! :-D

No, seriously, my simple approach to teaching the concept is to store both
application data and program data in a single UAC safe folder.

I'd be glad to add a paragraph or two from one of the Pro's that describes
some basic differences and approaches - obviously a lot is covered in your
- Where to put data under Vista, but I still would like to keep this
"Basic" article - just that -

as simple and as direct as possible so someone who needs to get a start on
this concept of Clarion programs and UAC OSs like Vista, can be up and
running in minimal time -

I'd rather "point" to much more definitive articles like yours for someone
to study in depth.

IMHO,
David

--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
Profile Exchanges - www.encouragersoftware.com/profile/
http://www.profileexchanges.com/blog/

NewsArchive
03-10-2009, 02:56 AM
Hi David,

> OK, essentially I was just trying to keep the Title shorter! :-D

Then just put a space in it to be App data rather than Appdata. I would
still refer to it in the body as application data or program data simply
because appdata can be taken as a reference to either the COMMON or LOCAL
APPDATA CSIDL folders. When I saw the message subject I immediately thought
of APPDATA;)

Best regards,


--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
03-10-2009, 02:57 AM
> Hi David,
>
> On 9 Mar 2009 10:47:52 -0500, David Troxell - Encourager Software wrote:
>
>> OK, essentially I was just trying to keep the Title shorter! :-D
>
> Then just put a space in it to be App data rather than Appdata.

Arnor,

Very good points on edit and re-write - you're right, I do need to make the
distincion a bit more clear.

Now, after working through the night, and half the day, I need to get some
sleep - re-writes later - AND I don't care if Charles calls me a wimp or
NOT! :-D

David

--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
Profile Exchanges - www.encouragersoftware.com/profile/
http://www.profileexchanges.com/blog/

NewsArchive
03-11-2009, 02:33 AM
Making App Data UAC (Vista) safe - updated CHM-Text versions

- Revised - March 10 2009

http://profileexchanges.com/blog/?p=120

Overview - If you want to create a Clarion program that will work with
Vista approved methods, this introductory tutorial will provide basic
instructional examples you can use for reference and adapt to your needs.

This is a starting point (and practical example) to determine where (and
how) you need to store your app data files, install techniques, single
user, etc -

Multi-user and more involved setups are beyond the scope of a brief
introductory tutorial. Additional reference links are provided for more in
depth study of how to refine important details for your particular project.

At the blog web page you can - Download text only and CHM-Text versions of
the blog.

Expanded Tutorial Information - The text and CHM versions will contain most
of the updated and expanded tutorial information. Compare the revision date
in your previous copy of the text and/or CHM with the blog date for latest.

This information applies to four UAC aware Windows operating systems:
Vista, Windows Server 2008, Windows 7 and Windows Server 2008 R2 (Windows
Server 7).

Note: These methods were tested and successfully accomplished specifically
using Clarion 6.3.9055 (EZChangeLog Reporter and Product Scope Version 7.6)
and the beta release of Clarion 7.0.4869 (using a simple Create Folders
only test program) - however, the methods should apply to other Clarion
versions as well.

Minimally, you WILL need CapeSoft's WinEvent to use this code. Icetips
Utilities also offers some alternative methods to accomplish the same
thing. Both products are well featured, and are worth the investment to
accomplish this vital task.

If you don't own either of these products - you'll need to (write your own
code) use windows API calls to return CSIDL locations.

David

--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
Profile Exchanges - www.encouragersoftware.com/profile/
http://www.profileexchanges.com/blog/