Difference between revisions of "Lex Omega"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
| Line 1: | Line 1: | ||
| − | + | This example shows how to copy a big amount of data. I'm using it to update Lex Omega on notebooks. | |
<package | <package | ||
| Line 20: | Line 20: | ||
cacls "D:\LEX" /T /E /G U?ytkownicy:R > null | cacls "D:\LEX" /T /E /G U?ytkownicy:R > null | ||
copy /Y "\\radca\programy\lex\lex omega.lnk" "C:\Documents and Settings\All Users\Pulpit" | copy /Y "\\radca\programy\lex\lex omega.lnk" "C:\Documents and Settings\All Users\Pulpit" | ||
| + | |||
| + | I'm using cacls command, because i don't want users to touch anything in Lex directory while WPKG is copying files. | ||
[[category:Silent Installers]] | [[category:Silent Installers]] | ||
Revision as of 01:59, 14 March 2006
This example shows how to copy a big amount of data. I'm using it to update Lex Omega on notebooks.
<package
id="lex"
name="Lex Omega"
revision="1"
priority="1"
execute="once">
<install cmd="\\radca\programy\lex\install.bat" />
<upgrade cmd="\\radca\programy\lex\install.bat" />
<remove cmd='cmd /c "rmdir /S /Q D:\LEX"' />
</package>
install.bat:
mkdir "D:\Lex" cacls "D:\LEX" /T /E /R U?ytkownicy > null xcopy /Y /E \\radca\lex\* D:\lex\ > null copy /Y \\radca\programy\lex\lex.ini d:\lex\ cacls "D:\LEX" /T /E /G U?ytkownicy:R > null copy /Y "\\radca\programy\lex\lex omega.lnk" "C:\Documents and Settings\All Users\Pulpit"
I'm using cacls command, because i don't want users to touch anything in Lex directory while WPKG is copying files.