Difference between revisions of "Lex Omega"
From WPKG | Open Source Software Deployment and Distribution
m |
m (add external link) |
||
Line 1: | Line 1: | ||
+ | '''Lex Omega'''. More infos from [http://lex.pl/?cmd=strona_oferta,11&serwis=1 here] | ||
+ | |||
This example shows how to copy a big amount of data. I'm using it to update Lex Omega on notebooks. | This example shows how to copy a big amount of data. I'm using it to update Lex Omega on notebooks. | ||
Latest revision as of 09:27, 1 April 2011
Lex Omega. More infos from here
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="%SOFTWARE%\lex\install.bat" />
<upgrade cmd="%SOFTWARE%\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 %SOFTWARE%\lex\* D:\lex\ > null
copy /Y %SOFTWARE%\lex\lex.ini d:\lex\
cacls "D:\LEX" /T /E /G U?ytkownicy:R > null
copy /Y "%SOFTWARE%\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.