Changes

Jump to: navigation, search

Far Manager

2,110 bytes added, 19:33, 28 July 2011
http://www.farmanager.com/
Far Manager is a NortonCommander clone. Now open source!

This script install both 32 & 64Bit msi files.
It'll uninstall the package with WMIC (check Technet for more information about it).

<source lang="xml">
<!--
###############################################################################
# SCRIPT = Far Manager #
# REVISION = 28/07/2011 #
# MAINTENAIR = Vince #
# COMPATIBILITY= (X) x86 | (X) x64 | (.) both separately #
# UNINSTALL = Via WMIC #
# COMMENT = Just modify variables #
###############################################################################
-->

<package
id="Far"
name="Far Manager 2"
revision="%version%"
reboot="false"
priority="10">

<variable name="version" value="Far20b1807" />
<variable name="datever" value="20110203" />


<check type="logical" condition="or">
<check type="uninstall" condition="exists" path="Far Manager 2" />
<check type="uninstall" condition="exists" path="Far Manager 2 x64" />
</check>

<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"' />

<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 &apos;Far Manager%%&apos;" call uninstall' />


</package>

</source>
17
edits

Navigation menu