You are here

FAR Manager Portable

10 posts / 0 new
Last post
VAPOR
VAPOR's picture
Offline
Last seen: 13 years 1 month ago
Joined: 2008-11-23 04:45
FAR Manager Portable

Anyone wants FAR portable? It's cool "Norton commander"-like file manager. Was shareware but now is open source. It's not bad, because supports plugins. Please go http://www.farmanager.com/index.php?l=en

P.S. Sorry my bad english... Hello from ukraine! Smile

ottosykora
Offline
Last seen: 1 day 7 hours ago
Joined: 2007-10-11 17:48
yes nice

I have it for some zime on some of my sticks. Seems to work well , thought it is not in paf format so far, but does the job from the stick.

Otto Sykora
Basel, Switzerland

VAPOR
VAPOR's picture
Offline
Last seen: 13 years 1 month ago
Joined: 2008-11-23 04:45
Maybe someone likes to make

Maybe someone likes to make portable version. As for me, it's good candidate to be portabled! Smile

ottosykora
Offline
Last seen: 1 day 7 hours ago
Joined: 2007-10-11 17:48
should be portable

on it sown.
I have to admit , I di dnot run the regshot on this one, but it is otherwise portable as it is. I have it on my stick, all works fine.

Just copy it to your stick and run it.

Otto Sykora
Basel, Switzerland

Dagenham
Dagenham's picture
Offline
Last seen: 1 year 2 months ago
Joined: 2007-03-23 06:19
Registry load/save + example NSIS script

FAR Manager, in it's current format, unfortunately not portable by nature - almost all of it's settings written to the registry. If you check out the latest stable release (http://www.farmanager.com/files/Far20b1263.x86.20091204.7z), you may notice the two batch files (SaveSettings.cmd, RestoreSettings.cmd).

Using these batch files, FAR Manager can be run in portable mode, however, additional plugins may or may not using the registry, for example as the Colorer does.

Or, feel free to use this example script (basically it's the NSIS rewrite of the batch files mentioned above, except that preserves the settings of the installed Far (if any)):

;FarPortable.nsi

;the name of the launcher
!define APPNAME "FarPortable"

;registry paths
!define REGPATHCU "HKEY_CURRENT_USER\Software\Far2"
!define REGPATHLM "HKEY_LOCAL_MACHINE\Software\Far2"
!define REGPATHPC "HKEY_CURRENT_USER\Software\Far2\PluginsCache"

;registry files
!define REGSAVECU "FarSaveCU.reg"
!define REGSAVELM "FarSaveLM.reg"

;including the registry macros
!include "Registry.nsh"

;application settings
Caption "${APPNAME}"
Icon "${APPNAME}.ico"
Name "${APPNAME}"
OutFile "${APPNAME}.exe"
RequestExecutionLevel user
SilentInstall silent

;a variable indicates an existing Far installation
Var FarInstalled

;the main section
Section

;saving the original settings
${registry::KeyExists} "${REGPATHCU}" "$FarInstalled"
StrCmp "$FarInstalled" "0" SaveOriginal SaveOriginalEnd
SaveOriginal:
 ${registry::MoveKey} "${REGPATHCU}" "${REGPATHCU}_" "$0"
 ${registry::MoveKey} "${REGPATHLM}" "${REGPATHLM}_" "$0"
SaveOriginalEnd:

;restoring the settings
IfFileExists "${REGSAVECU}" RestoreSettings RestoreSettingsEnd
RestoreSettings:
 ${registry::RestoreKey} "${REGSAVECU}" $0
 ${registry::RestoreKey} "${REGSAVELM}" $0
RestoreSettingsEnd:

;executing Far
ExecWait "Far.exe"

;saving the settings
${registry::SaveKey} "${REGPATHCU}" "${REGSAVECU}" "" "$0"
${registry::SaveKey} "${REGPATHLM}" "${REGSAVELM}" "" "$0"

;restoring the original settings
StrCmp "$FarInstalled" "0" RestoreOriginal +1
 ${registry::DeleteKey} "${REGPATHCU}" "$0"
 ${registry::DeleteKey} "${REGPATHLM}" "$0"
 Goto RestoreOriginalEnd
RestoreOriginal:
 ${registry::MoveKey} "${REGPATHCU}_" "${REGPATHCU}" "$0"
 ${registry::MoveKey} "${REGPATHLM}_" "${REGPATHLM}" "$0"
 ${registry::DeleteKey} "${REGPATHPC}" "$0"
RestoreOriginalEnd:

;unloading the registry plugin
${registry::Unload}

;end of the main section
SectionEnd

;EOF

I've tested this on my system (winxpsp2), seems fine (the LOCAL MACHINE hive might be unused).

lindachan
Offline
Last seen: 9 months 6 days ago
Joined: 2008-04-03 08:14
I think it's possible but

I think it's possible but only if using /u switch. With it FAR will store settings to HKEY_CURRENT_USER\Software\Far2\Users\username instead or HKEY_CURRENT_USER\Software\Far2 and will not overwrite settings of currently installed FAR.

makearequest
Offline
Last seen: 3 years 1 week ago
Joined: 2013-02-11 06:34
Any news?

Any news? Sad

StanTrolav
Offline
Last seen: 10 years 7 months ago
Joined: 2013-08-06 10:27
oRCS want FaR

We want FAR! Far! Far-Far-Far-Far/ Give us Far! We want to destroy windows appearence with FAR! Portable Far ARrrr-GGGhhhh!

&%^4GALioN&^

andriuz
Offline
Last seen: 5 years 1 month ago
Joined: 2008-07-16 08:46
3 branches of Far Manager

There are 3 (already) branches of Far Manager
https://code.google.com/p/conemu-maximus5/wiki/FarManager
3.x (curren). General difference - Far Manager settings and native (3.x) plugins settings are stored in SQLiteDB.
API was completely redesigned (and is not stable for current day). Many bugfixes and improvements. Far 3.x can still deal with ANSI plugins (from Far 1.x), but due to API break can't work with ‘old’ unicode plugins (from Far 2.x). However! There is external plugin wrapper. Through it you can use many plugins from Far 2.x.

zernetsch
Offline
Last seen: 2 weeks 2 hours ago
Joined: 2010-06-10 07:29
Hier gibt es eine passende Version

https://sourceforge.net/projects/portable-apps-for-dummies/

Funktioniert sehr gut für mich.

Gruß
Volker

Log in or register to post comments