Difference between revisions of "Texmaker"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
Line 1: | Line 1: | ||
− | Silent installer for Texmaker, an open-source LaTeX editor. More infos from [http://www.xm1math.net/texmaker/ here]. | + | Silent installer for Texmaker, an open-source LaTeX editor. More infos from [http://www.xm1math.net/texmaker/ here]. Only x64 version available! |
<source lang="xml"> | <source lang="xml"> | ||
− | <package | + | <package |
− | + | id="texmaker" | |
− | + | name="Texmaker" | |
− | + | revision="%PKG_VERSION%" | |
− | + | reboot="false" | |
− | + | priority="0"> | |
− | + | ||
− | + | <variable name="PKG_VERSION" value="5.0.4" /> | |
− | + | <variable name="PKG_SOURCE" value="%SOFTWARE%\TEX\Texmaker" /> | |
+ | <variable name="PKG_NAME" value="Texmaker_%PKG_VERSION%_Win_x64.msi" /> | ||
+ | <variable name="PKG_INSTALL_SWITCH" value="/qn /norestart" /> | ||
+ | <variable name="PKG_REMOVE_SWITCH" value="/qn" /> | ||
+ | <!-- <variable name="PKG_DESTINATION" value="%ProgramFiles%\Texmaker" architecture="x64" /> | ||
+ | <variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\Texmaker" architecture="x86" /> --> | ||
+ | |||
+ | <check type="uninstall" condition="versiongreaterorequal" path="Texmaker .+" value="%PKG_VERSION%" /> | ||
+ | |||
+ | <install include='remove' /> | ||
+ | <install cmd='msiexec /i "%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' /> | ||
+ | |||
+ | <downgrade include='remove' /> | ||
+ | <downgrade include='install' /> | ||
+ | |||
+ | <upgrade include='remove' /> | ||
+ | <upgrade include='install' /> | ||
+ | |||
+ | <!-- Removing old(4.5 and earlyer) version | ||
+ | <remove cmd="%PKG_DESTINATION%\uninstall.exe /S"> | ||
+ | <exit code='any' /> | ||
+ | </remove> --> | ||
+ | <remove cmd='wmic product where "name like 'Texmaker%%'" call uninstall' /> | ||
</package> | </package> | ||
Revision as of 15:07, 16 May 2020
Silent installer for Texmaker, an open-source LaTeX editor. More infos from here. Only x64 version available!
<package
id="texmaker"
name="Texmaker"
revision="%PKG_VERSION%"
reboot="false"
priority="0">
<variable name="PKG_VERSION" value="5.0.4" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\TEX\Texmaker" />
<variable name="PKG_NAME" value="Texmaker_%PKG_VERSION%_Win_x64.msi" />
<variable name="PKG_INSTALL_SWITCH" value="/qn /norestart" />
<variable name="PKG_REMOVE_SWITCH" value="/qn" />
<!-- <variable name="PKG_DESTINATION" value="%ProgramFiles%\Texmaker" architecture="x64" />
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\Texmaker" architecture="x86" /> -->
<check type="uninstall" condition="versiongreaterorequal" path="Texmaker .+" value="%PKG_VERSION%" />
<install include='remove' />
<install cmd='msiexec /i "%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' />
<downgrade include='remove' />
<downgrade include='install' />
<upgrade include='remove' />
<upgrade include='install' />
<!-- Removing old(4.5 and earlyer) version
<remove cmd="%PKG_DESTINATION%\uninstall.exe /S">
<exit code='any' />
</remove> -->
<remove cmd='wmic product where "name like 'Texmaker%%'" call uninstall' />
</package>