Difference between revisions of "MikTeX"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
 
m
Line 3: Line 3:
 
  <package id="miktex" name="MikTeX " revision="1" priority="0" reboot="false">
 
  <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='\\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" ' >
+
  <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" />
 
  <exit code="16777216" />
 
  </install>
 
  </install>
  <install cmd='\\spd\wpkg\tools\pathman /as c:\texmf\miktex\\bin' >
+
  <install cmd='%SOFTWARE%\tools\pathman /as c:\texmf\miktex\\bin' >
 
  <exit code="16777216" />
 
  <exit code="16777216" />
 
  </install>
 
  </install>
Line 12: Line 12:
 
  <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"' />
<remove cmd="" />
 
<upgrade cmd='' />
 
 
  </package>
 
  </package>
  
[[category:Silent Installers|MikTeX]]
+
[[category:Silent Installers]]

Revision as of 20:14, 2 October 2006

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>