Difference between revisions of "MikTeX"
From WPKG | Open Source Software Deployment and Distribution
m |
m |
||
Line 1: | Line 1: | ||
This is a silent installer for MikTeX. | This is a silent installer for MikTeX. | ||
− | + | <source lang="xml"> | |
+ | <package id="miktex" name="MikTeX " revision="1" priority="0" reboot="false"> | ||
<check type="file" condition="exists" path="C:\texmf\miktex\bin\mo.exe" /> | <check type="file" condition="exists" path="C:\texmf\miktex\bin\mo.exe" /> | ||
<install cmd='%SOFTWARE%\miktex\setup-2.4.1477.exe /c:"PreSetup setupwiz --install-from-local-repository --local-package-repository %SOFTWARE%\miktex --installation-directory c:\texmf --local-directory c:\localtexmf --unattended" ' > | <install cmd='%SOFTWARE%\miktex\setup-2.4.1477.exe /c:"PreSetup setupwiz --install-from-local-repository --local-package-repository %SOFTWARE%\miktex --installation-directory c:\texmf --local-directory c:\localtexmf --unattended" ' > | ||
Line 12: | Line 13: | ||
<install cmd='cmd /c mkdir "%AllUsersProfile%\Start Menu\Programs\MikTeX"' /> | <install cmd='cmd /c mkdir "%AllUsersProfile%\Start Menu\Programs\MikTeX"' /> | ||
<install cmd='cmd /c xcopy "c:\Documents and Settings\WPKG\Start Menu\Programs\MikTeX" "%AllUsersProfile%\Start Menu\Programs\MikTeX"' /> | <install cmd='cmd /c xcopy "c:\Documents and Settings\WPKG\Start Menu\Programs\MikTeX" "%AllUsersProfile%\Start Menu\Programs\MikTeX"' /> | ||
− | + | </package> | |
+ | </source> | ||
[[category:Silent Installers]] | [[category:Silent Installers]] |
Revision as of 19:11, 19 February 2008
This is a silent installer for MikTeX.
<package id="miktex" name="MikTeX " revision="1" priority="0" reboot="false">
<check type="file" condition="exists" path="C:\texmf\miktex\bin\mo.exe" />
<install cmd='%SOFTWARE%\miktex\setup-2.4.1477.exe /c:"PreSetup setupwiz --install-from-local-repository --local-package-repository %SOFTWARE%\miktex --installation-directory c:\texmf --local-directory c:\localtexmf --unattended" ' >
<exit code="16777216" />
</install>
<install cmd='%SOFTWARE%\tools\pathman /as c:\texmf\miktex\\bin' >
<exit code="16777216" />
</install>
<install cmd='cacls c:\localtexmf /T /E /G Everyone:C' />
<install cmd='cmd /c mkdir "%AllUsersProfile%\Start Menu\Programs\MikTeX"' />
<install cmd='cmd /c xcopy "c:\Documents and Settings\WPKG\Start Menu\Programs\MikTeX" "%AllUsersProfile%\Start Menu\Programs\MikTeX"' />
</package>