17
edits
Changes
Fix some architecture checks (x86/64)
<source lang="xml">
<?xml version="1.0" encoding="utf-8" ?>
<!--
###############################################################################
# SCRIPT = Far Manager #
# REVISION = 28/07/2011 02/2012 # # MAINTENAIR MAINTAINER = Vince #
# COMPATIBILITY= (X) x86 | (X) x64 | (.) both separately #
# UNINSTALL = Via WMIC #
# COMMENT = Just modify variables #
###############################################################################
-->
<packages>
<package
id="Far"
name="Far Manager 2"
revision="%version%"
reboot="false"
priority="10">
<variable name="version" value="Far20b1807" />
<variable name="datever" value="20110203" />
<install cmd='msiexec /q /i "%SOFTWARE%\Far2\%version%.x86.%datever%.msi"' architecture="x86" />
<install cmd='msiexec /q /i "%SOFTWARE%\Far2\%version%.x64.%datever%.msi"' architecture="x64" />
<!-- Copy registry settings, users can add it to registry with the script menu -->
<install cmd='%comspec% /c copy "%SOFTWARE%\Far2\FarSettings.Machine.reg" "%ProgramFiles%\Far2"' />
<install cmd='%comspec% /c copy "%SOFTWARE%\Far2\FarSettings.User.reg" "%ProgramFiles%\Far2"' />
<upgrade include="install" />
<remove cmd='%comspec% /c del "%ProgramFiles%\Far2\FarSettings.User.reg"' />
<remove cmd='%comspec% /c del "%ProgramFiles%\Far2\FarSettings.Machine.reg"' />
<remove cmd='wmic product where "name like 'Far Manager%%'" call uninstall' />
</package>
</packages>
</source>
[[Category: Silent Installers]]