3,217
edits
Changes
MikTeX
,no edit summary
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='\\server\share\miktex\setup-2.4.1477.exe /c:"PreSetup setupwiz --install-from-local-repository --local-package-repository \\server\share\miktex --installation-directory c:\texmf --local-directory c:\localtexmf --unattended" ' >
<exit code="16777216" />
</install>
<install cmd='\\spd\wpkg\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"' />
<remove cmd="" />
<upgrade cmd='' />
</package>
[[category:Silent Installers|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='\\server\share\miktex\setup-2.4.1477.exe /c:"PreSetup setupwiz --install-from-local-repository --local-package-repository \\server\share\miktex --installation-directory c:\texmf --local-directory c:\localtexmf --unattended" ' >
<exit code="16777216" />
</install>
<install cmd='\\spd\wpkg\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"' />
<remove cmd="" />
<upgrade cmd='' />
</package>
[[category:Silent Installers|MikTeX]]