Difference between revisions of "Far Manager"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Minor update)
(Add config for Far 3.0.5577.)
 
Line 5: Line 5:
 
WMIC requires Windows XP Professional SP2 or higher.
 
WMIC requires Windows XP Professional SP2 or higher.
  
 +
 +
== 3.0.5577 version ==
 +
<source lang="xml">
 +
<package
 +
id="far"
 +
name="Far Manager"
 +
revision="%PKG_VERSION%"
 +
reboot="false"
 +
priority="10">
 +
 +
<variable name="PKG_VERSION" value="3.0.5577" />
 +
<variable name="PKG_FILE_VERSION" value="30b5577" />
 +
<variable name="PKG_VERSION_DATE" value="20200327" />
 +
<variable name="PKG_SOURCE" value="%SOFTWARE%\FarManager" />
 +
<variable name="PKG_NAME" value="Far%PKG_FILE_VERSION%.x86.%PKG_VERSION_DATE%.msi" architecture="x86" />
 +
<variable name="PKG_NAME" value="Far%PKG_FILE_VERSION%.x64.%PKG_VERSION_DATE%.msi" architecture="x64" />
 +
<variable name="PKG_INSTALL_SWITCH" value="/qn /norestart" />
 +
 +
<check type="logical" condition="or">
 +
<check type="uninstall" condition="versiongreaterorequal" path="Far Manager 3" value="%PKG_VERSION%" />
 +
<check type="uninstall" condition="versiongreaterorequal" path="Far Manager 3 x64" value="%PKG_VERSION%" />
 +
</check>
 +
 +
<install cmd='msiexec /i "%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' />
 +
 +
<upgrade include="remove" />
 +
<upgrade include="install" />
 +
 +
<remove  cmd='wmic product where "name like &apos;Far Manager%%&apos;" call uninstall' />
 +
 +
</package>
 +
</source>
 +
 +
== 3.0.3800 version ==
 
<source lang="xml">
 
<source lang="xml">
 
<?xml version="1.0" encoding="utf-8" ?>
 
<?xml version="1.0" encoding="utf-8" ?>

Latest revision as of 20:46, 10 May 2020

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).
WMIC requires Windows XP Professional SP2 or higher.


3.0.5577 version

<package 
	id="far" 
	name="Far Manager" 
	revision="%PKG_VERSION%" 
	reboot="false" 
	priority="10"> 

	<variable name="PKG_VERSION"		value="3.0.5577" />
	<variable name="PKG_FILE_VERSION"	value="30b5577" />	
	<variable name="PKG_VERSION_DATE"	value="20200327" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\FarManager" />
	<variable name="PKG_NAME"		value="Far%PKG_FILE_VERSION%.x86.%PKG_VERSION_DATE%.msi" architecture="x86" />
	<variable name="PKG_NAME"		value="Far%PKG_FILE_VERSION%.x64.%PKG_VERSION_DATE%.msi" architecture="x64" />
	<variable name="PKG_INSTALL_SWITCH"	value="/qn /norestart" />

	<check type="logical" condition="or">
		<check type="uninstall" condition="versiongreaterorequal" path="Far Manager 3" value="%PKG_VERSION%" />
		<check type="uninstall" condition="versiongreaterorequal" path="Far Manager 3 x64" value="%PKG_VERSION%" />
	</check>
	
	<install cmd='msiexec /i "%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' />

	<upgrade include="remove" />
	<upgrade include="install" />

	<remove  cmd='wmic product where "name like &apos;Far Manager%%&apos;" call uninstall' />

</package>

3.0.3800 version

<?xml version="1.0" encoding="utf-8" ?>
 
<!--                     
###############################################################################
# SCRIPT       = Far Manager                                                  #
# REVISION     = 18/05/2014                                                   #
# MAINTAINER   = Vince                                                        #
# UNINSTALL    = Via WMIC                                                     #
# COMMENT      = Just modify variables                                        #
###############################################################################
-->

<packages>

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

	<variable name="version" value="Far30b3800" />	
	<variable name="datever" value="20140208" />	
        <variable name="plateform" value="x86"  architecture="x86"/>
        <variable name="plateform" value="x64" architecture="x64"/>

        <check type="uninstall" condition="exists" path="Far Manager 3" architecture="x86" />
        <check type="uninstall" condition="exists" path="Far Manager 3 x64" architecture="x64"  /> 

        <install cmd='msiexec /q /i "%SOFTWARE%\Far\%version%.%plateform%.%datever%.msi"' />

	<upgrade include="install" />

	<remove  cmd='wmic product where "name like &apos;Far Manager%%&apos;" call uninstall' />

  </package>

</packages>