You are here

SpeedCommander

10 posts / 0 new
Last post
andyle2k
Offline
Last seen: 15 years 10 months ago
Joined: 2007-07-20 04:12
SpeedCommander

Hi everyone, I was wondering if anybody can help me with making SpeedCommander portable.

The program does two things, it writes the registered owner details to the registry under HKLM and the settings are stored in a folder inside %appdata%

Can somebody please write up a quick nsi file which will show me how to do those things or point me to the right directions please.

Thank you very much.

digitxp
digitxp's picture
Offline
Last seen: 12 years 7 months ago
Joined: 2007-11-03 18:33
I'll help.

It's actually quite simple. You can copy off of one of John's launchers, after all, they're open source. I'd say use the 7-zip portable one. It's found under Other/Source.
Under HKLM, admin access is required, so you don't really worry about that. But in case it's an admin account, replace the HKCU with the HKLM, and type the key names in there. The 7-ZipBackupby7-ZipPortable just replace 7-zip there with speedcommander. Oh, and don't forget to replace all the stuff in the beginning also.
As for appdata, just put this line before the Execwait and the Exec:

System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("APPDATA", "$SETTINGSDIRECTORY").r0'

But if you don't feel like doing this, I did make DoubleCommander Portable and UltraMaGe, and there is another file manager called Xenon, all of which are already portable and free.

Insert original signature here with Greasemonkey Script.

andyle2k
Offline
Last seen: 15 years 10 months ago
Joined: 2007-07-20 04:12
Thanks a lot for that but

Thanks a lot for that but there's no mention of copying files to %appdata% in the source for 7-zip.

digitxp
digitxp's picture
Offline
Last seen: 12 years 7 months ago
Joined: 2007-11-03 18:33
I said,

you just put this line of code before the Exec and Execwait Commands:

System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("APPDATA", "$SETTINGSDIRECTORY").r0'

That'll make it think that AppData is the Data Dir in the PAF.

Insert original signature here with Greasemonkey Script.

Patrick Patience
Offline
Last seen: 4 years 4 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Nope

That'll make the %APPDATA% variable set to the defined settings directory if the application supports it.

digitxp
digitxp's picture
Offline
Last seen: 12 years 7 months ago
Joined: 2007-11-03 18:33
Oh, okay.

But how do you tell if it's supported?

Insert original signature here with Greasemonkey Script.

Patrick Patience
Offline
Last seen: 4 years 4 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Heh

You try it. Smile

franz_post
Offline
Last seen: 6 years 6 months ago
Joined: 2007-05-11 16:27
FreeCommander

Why doing this? There is something much better available and it is free for everybody: FreeCommander Portable!

Get it from
http://www.freecommander.com/fc_u3_en.htm

digitxp
digitxp's picture
Offline
Last seen: 12 years 7 months ago
Joined: 2007-11-03 18:33
Too bad it's not OSS.

Maybe try doublecommander or ultramage portable?

Insert original signature here with Greasemonkey Script.

Flexor
Offline
Last seen: 12 years 4 months ago
Joined: 2009-05-22 03:08
It's already portable !!!

move everything from Appdata\Speedproject\speedcommander into speedcommander directory.
It will become portable as described in it's German Help.

Log in or register to post comments