You could use cacls in a batch file for installation. Hopefully some of the examples in existing packages should point you in the right direction:<div><br></div><div><a href="http://wpkg.org/index.php?title=Special:Search&search=cacls&go=Go">http://wpkg.org/index.php?title=Special:Search&search=cacls&go=Go</a><br>
<br><div class="gmail_quote">On 16 September 2010 05:11, Todd Blum <span dir="ltr"><<a href="mailto:todd@toddblum.org">todd@toddblum.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
I am using WPKG for the first time. I have WPKG and wpkgexpress running on XMPP on a Windows XP workstation in a Windows domain environment.<br>
<br>
I have been updating my company's .NET application with a script that runs cwrsync on the Program Files directory on the user's workstations, but I've been getting in to some trouble because cwrsync leaves the ownership and permissions of the files different than it finds them. I was hoping to use WPKG to first set ownership and permissions on the program's Program Files directory, perform the cwrsync script, then set the ownership and permissions again on the Program Files directory. I'm not readily seeing a package example for changing filesystem permissions--does anyone know the best way to perform these tasks?<br>
<br>
I chose rsync as the update model because the program doesn't have to be reinstalled with each update, and I thought it would minimize bandwidth usage (the rsync server is centralized and there are many disparate networks).<br>
<br>
Thanks for your help,<br>
<br>
Todd<br>
<br>
--<br>
Todd Blum<br>
<a href="http://www.toddblum.org" target="_blank">http://www.toddblum.org</a><br>
<br>
-------------------------------------------------------------------------<br>
wpkg-users mailing list archives >> <a href="http://lists.wpkg.org/pipermail/wpkg-users/" target="_blank">http://lists.wpkg.org/pipermail/wpkg-users/</a><br>
_______________________________________________<br>
wpkg-users mailing list<br>
<a href="mailto:wpkg-users@lists.wpkg.org" target="_blank">wpkg-users@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/wpkg-users" target="_blank">http://lists.wpkg.org/mailman/listinfo/wpkg-users</a><br>
</blockquote></div><br></div>