PDA

View Full Version : Clarion programs - Making AppData UAC safe - Text only DL version available



NewsArchive
03-06-2009, 01:56 AM
Clarion programs - Making AppData UAC safe - Text only DL version available

Updated this blog with a text only version you can download by clicking on
a link.

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

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-06-2009, 01:56 AM
Hi David,

> Updated this blog with a text only version you can download by clicking on
> a link.
>
> http://profileexchanges.com/blog/?p=120

One thing I noticed. In the "Access Control" statement in SB you are using
"Everyone" This will not work correctly in international installs. It
should use "(S-1-1-0)" instead which is the identifier for the Everyone
account and will be the same no matter what language the OS is in:)

There are some messages about this in this newsgroup - Jane Fleming
suggested this some time ago:)

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-06-2009, 01:57 AM
> Hi David,
>
> On 5 Mar 2009 10:35:07 -0500, David Troxell - Encourager Software wrote:
>
>> Updated this blog with a text only version you can download by clicking on
>> a link.
>>
>> http://profileexchanges.com/blog/?p=120
>
> One thing I noticed. In the "Access Control" statement in SB you are using
> "Everyone" This will not work correctly in international installs. It
> should use "(S-1-1-0)" instead which is the identifier for the Everyone
> account and will be the same no matter what language the OS is in:)
>
> There are some messages about this in this newsgroup - Jane Fleming
> suggested this some time ago:)

Arnor,

Thanks for this better method - I'll include it in an update to the blog
soon - Yes, I just completed a search and this was discussed during two
newsgroup threads:

XP and AllUsers/Documents - 12-30-2009
comp.lang.clarion

Welcome in Babylon! - Re: COMMON_DOCUMENTS - What did I get wrong on these?
12-21-2009
softvelocity.clarion.addons.setupbuilder

Also, I need to revise the statement about the single global embed (I want
to do a bit more testing before I do).

I started with these two Global embed points (same code) to support the
File Manager 3 product, and the ClarionTools products in my example.

"FM3 start of initialization" Global embed

"ClarionTools Wizards: Before Assigning INI Filename" Global Embed

You suggested this single embed for both (plus it makes a "neutral" embed
place for those not using either product).

"After PROGRAM code statement" Global Embed

And, it basically works for both products - Upg.tps upgrades files
correctly, ClarionTools Wizard ini works correctly -

BUT IF the ClarionTools product is used and only the "After PROGRAM code
statement" embed is used - for some reason, the Program INI doesn't get
properly updated, and window saved positions are not stored.

So, basically, what I have found is this:

"After PROGRAM code statement" Global Embed

Program Appdata with FM3 use or FM3 NOT included.

* * When you use the ClarionTools products - copy the same embed code to
BOTH:

"After PROGRAM code statement" Global Embed

AND

"ClarionTools Wizards: Before Assigning INI Filename" Global Embed

THEN, the Program INI gets properly updated, and window saved positions are
stored.

Of course, all this code is a STARTING place for someone to customize their
own setups. And from what I have received in private correspondence, and
blog views, there are quite a few that didn't have a good grasp on where to
start.

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-06-2009, 01:58 AM
> Thanks for this better method - I'll include it in an update to the blog
> soon - Yes, I just completed a search and this was discussed during two
> newsgroup threads:
>
> XP and AllUsers/Documents - 12-30-2009
> comp.lang.clarion
>
> Welcome in Babylon! - Re: COMMON_DOCUMENTS - What did I get wrong on
> these?
> 12-21-2009
> softvelocity.clarion.addons.setupbuilder

And archived here:

http://www.lindersoft.com/forums/showthread.php?t=11410

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-06-2009, 01:59 AM
>> Thanks for this better method - I'll include it in an update to the blog
>> soon - Yes, I just completed a search and this was discussed during two
>> newsgroup threads:
>>
>> XP and AllUsers/Documents - 12-30-2009
>> comp.lang.clarion
>>
>> Welcome in Babylon! - Re: COMMON_DOCUMENTS - What did I get wrong on
>> these?
>> 12-21-2009
>> softvelocity.clarion.addons.setupbuilder
>
> And archived here:
>
> http://www.lindersoft.com/forums/showthread.php?t=11410

Friedrich,

Thanks - I'll include that reference in an updated version (soon) of the
blog - and of course, the key point in this particular part of the
discussion is

use "(S-1-1-0)" in the SetupBuilder Set Access Control - instead of
"Everyone".

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/