A poor man's app updater
Paul Dupuis
paul at researchware.com
Fri Aug 3 08:14:10 EDT 2018
On 8/3/2018 2:32 AM, Peter Bogdanoff via use-livecode wrote:
> Hi,
>
> To raise the issue again of updating Mac and Windows apps, I’m referencing this thread between Graham and Jacqueline...
>
> Can existing files in the user’s application directory be saved/modified/replaced by my application?
>
The accurate answer is that it all depends upon the permissions of the
account running the software. Typically for most personal or home
computers, the user has administrative privs, but that is increasingly
not the case on university or company owned computers. On these, they
may not have permission to alter files in the Program Files (Win) or
Applications (OSX) folders.
In some cases, again depending on OS and permissions, you can alter the
folders contents directly. In others you application must launch a
process (another app) with elevated privs, where the OS asks the user
for permissions for the elevated privs, and then that app (if allowed)
can make changes.
More information about the use-livecode
mailing list