Difference between revisions of "MikTeX"
From WPKG | Open Source Software Deployment and Distribution
m |
(Update setup command for 2.8) |
||
Line 1: | Line 1: | ||
This is a silent installer for MikTeX. | This is a silent installer for MikTeX. | ||
+ | |||
+ | Version 2.8 changed some of the setup options. | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <package | ||
+ | id="miktex28" | ||
+ | name="MikTeX 2.8" | ||
+ | revision="1.0" | ||
+ | reboot="false" | ||
+ | priority="0"> | ||
+ | |||
+ | <check type="uninstall" condition="exists" path="MiKTeX 2.8" /> | ||
+ | |||
+ | <install cmd='%SOFTWARE%\Miktex\2.8\setup-2.8.3553.exe --auto-install=yes --install-from-local-repository --local-package-repository=%SOFTWARE%\Miktex\2.8 --package-set=complete --shared --paper-size=Letter --common-install=%SystemDrive%\texmf --common-data=%SystemDrive%\localtexmf --unattended' /> | ||
+ | <install cmd='cacls c:\localtexmf /T /E /G Everyone:C' /> | ||
+ | |||
+ | </package> | ||
+ | </source> | ||
<source lang="xml"> | <source lang="xml"> |
Revision as of 20:13, 19 February 2010
This is a silent installer for MikTeX.
Version 2.8 changed some of the setup options.
<package
id="miktex28"
name="MikTeX 2.8"
revision="1.0"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="MiKTeX 2.8" />
<install cmd='%SOFTWARE%\Miktex\2.8\setup-2.8.3553.exe --auto-install=yes --install-from-local-repository --local-package-repository=%SOFTWARE%\Miktex\2.8 --package-set=complete --shared --paper-size=Letter --common-install=%SystemDrive%\texmf --common-data=%SystemDrive%\localtexmf --unattended' />
<install cmd='cacls c:\localtexmf /T /E /G Everyone:C' />
</package>
<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>