How to make Salamander "portable" for an USB-stick ?

This is a place for users to discuss Altap Salamander. Please feel free to ask, answer questions, and express your opinion. Please do not post problems, bug reports or feature requests here.
Agam
Posts: 4
Joined: 01 Mar 2006, 19:44

How to make Salamander "portable" for an USB-stick ?

Post by Agam »

The Salamander is still not portable, but you can do it easily with an Autoit script:

#NoTrayIcon
RunWait("regedit.exe /E " & @ScriptDir & "\temp.reg HKEY_CURRENT_USER\Software\Altap")
RunWait("regedit.exe /S " & @ScriptDir & "\config_.reg")
RunWait(@ScriptDir & "/salamand.exe", "", @SW_MAXIMIZE)
RegDelete("HKEY_CURRENT_USER\Software\Altap")
If FileExists(@ScriptDir & "\temp.reg") Then
RunWait("regedit.exe /S " & @ScriptDir & "\temp.reg")
FileDelete(@ScriptDir & "\temp.reg")
EndIf

Compile (Autoit) that script (Salrun.au3) and run it in the root directory of Salamander on USB-stick. It works well and fast also if on the host PC is another Salamander installed. (Script and EXE is attached)
Attachments
Salrun.zip
script and compiled EXE
(188.11 KiB) Downloaded 543 times
fraktik
Posts: 209
Joined: 27 Apr 2007, 12:13
Location: cz
Contact:

Re: How to make Salamander "portable" for an USB-stick ?

Post by fraktik »

Will be possible to describe whole install procedure with more details pls?

(something like: Make AS directory on USB stick. Copy Salrun + as254.exe there..)
Agam
Posts: 4
Joined: 01 Mar 2006, 19:44

Re: How to make Salamander "portable" for an USB-stick ?

Post by Agam »

I do not understand your question. do the following:

1. download salrun.zip
2. copy the "salrun.exe" into an installed Salamander-directory
3. export under Salamander the configuration (config_.reg)
4. copy the complete directory to you USB-stick
5. run "Salrun.exe instead of salamand.exe

that is all ...

J. Agam
fraktik
Posts: 209
Joined: 27 Apr 2007, 12:13
Location: cz
Contact:

Re: How to make Salamander "portable" for an USB-stick ?

Post by fraktik »

Thank - now it's easy to follow - and fully function on my memory card! :wink:
Post Reply