> -----Original Message-----
> From: Ted Roche
> Sent: Thursday, August 03, 2006 4:30 PM
> Subject: Re: Windows Visita Install
>
>
> So I was wondering who had eXPerinced what, so far.
>
> --
> Ted Roche
> Ted Roche & Associates, LLC
> http://www.tedroche.com
>

Our application is used in primarily small offices running peer-to-peer
networks. We currently default to installing in a Company\AppVersion with a
Data folder under it. (I.E. C:\PowerChurch\PcPlus9\Data ) This makes it easy
for users to find and share the folder. Currently users running XP Home have
to run CACLS to grant limited users read-write access.
http://powerchurch.com/support/answers/articles.php?article_id=41

We are finding similar issues with Vistas "Standard User" and are trying to
automate granting the access, to decrease our tech calls. We found that
running ICACLS from a command prompt as an administrator we can give the
"BUILTIN\Users" group "change" rights. This lets our app run without any
problems. Without doing this the "Standard User" does not have Read access
to the files in the data folder. They can see the files through the
Explorer.

At the end of the install script we added a call to ICACLS with the proper
switches but it returns the following problem:
C:\PowerChurch\PCPLUS9: The process cannot access the file because it is
being used by another process.

Further testing today, showed us that ICACLS will fail if any file in the
directory structure is currently in use, or a program is running with the
directory as the current folder. The last line of our setup script calls
[system32 dir]\ICACLS.EXE [install dir] /grant BUILTIN\Users:M /T with the
default dir of C:\.

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
** 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.

Reply via email to