 <p>Add in MSBuild .proj file:</p> <pre><code>&lt;Exec Command="icacls "\\xxx\MyApp.zip" /grant User:F" ContinueOnError="true" /&gt; </code></pre> <p>a sequence of simple rights: F - full access M - modify access RX - read and execute access R - read-only access W - write-only access</p>