On 5/11/2010 11:42 PM, Sytze de Boer wrote:
> OK, So I thought I would test this
>
> I removed the line that said DefaultDirName=c:\Myapp
> and added
>
> [Dirs]
> Name: "{commonappdata}\Myapp"; Permissions: authusers-modify
>
> When I try to compile this, it errors out with
> DefaultDirName not specified
>
> I put this line back in, and the setup defaults to c:\myapp
>
>
>
I would try to avoid installing to the {commonappdata}. Shortcuts should
not be running applications in that folder directly. If you had a loader
application that could download and install updates, put that in the
{programfiles}\myapp and the rest into the {commonappdata}\myapp. The
shortcut would launch the loader app, which in turns runs the
{commonappdata} application (whether that be an APP or EXE).
As a note, if you need user specific data, you can use the {userappdata}
in Inno, and GetEnv("AppData") in VFP. The {commonappdata} (since XP at
least) maps to GetEnv("AllUsersProfile").
We only have two files being placed in the {commonappdata} folder. The
EXE and the CHM file to bring them local. The data resides on the
network location.
Tracy
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.