You are here

Pidgin portable launcher configuration

3 posts / 0 new
Last post
tinned
Offline
Last seen: 15 years 8 months ago
Joined: 2007-04-29 10:33
Pidgin portable launcher configuration

Hi!

I have separated as far as possible the applications from the data. Therefor i have a different directory structure as maybe some of you have. Anyway, in most of the portable launchers there is a setting for the data directory. I use this setting to seperate data and application.

The portable launcher for Pidgin is not able to change the diectory for the users data. It is not possible to configure the path vie the .ini file!! Launcher does not support it! Sad

I modified the launcher for me localy. But it would be nice to get this changes also into the version available here. Smile

For that i added the .ini parameter "SettingsDirectory=" and did the following changes to the launcher ...

33c30
!define DEFAULTSETTINGSDIR "Data\settings"
111a105
> ${ReadINIStrWithDefault} $SETTINGSDIRECTORY "$EXEDIR\${NAME}.ini" "${NAME}" "SettingsDirectory" ""
120c114,116
StrCmp $SETTINGSDIRECTORY "" 0 SkipDefaultSettingDir
> StrCpy "$SETTINGSDIRECTORY" "$EXEDIR\${DEFAULTSETTINGSDIR}"
> SkipDefaultSettingDir:
246,247c239
$1\" ">$0\"
---
> Delete "$SETTINGSDIRECTORY\.purple\prefs.xml.old"

Maybe someone can merge this things to the next version!

Thanks, bye
Gerhard

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 58 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Deprecated

Many of our launchers are deprecating this functionality for a number of reasons. Pidgin Portable has actually not had this ability since the Gaim days.

Your data is contained in a separate Data directory in all apps and easily backed up by the PortableApps.com Backup utility either together with the apps or just the app data to save time and space. This also still allows you to easily move your app and its data from one drive to another.

Not adding in all the complexity of supporting Data directories outside of the launcher's base directory saves a significant amount of coding and support time, especially with some apps which store settings and data a bit oddly. Even some of the apps which happen to work with it don't officially support it and have experienced odd bugs around it. Some installers have to modify the data in the Data directory on upgrades due to the way the app itself changes and, in a custom layout, that will also fail.

Your best bet is to begin using the standard directory layouts as it will make your life a lot easier going forward.

Sometimes, the impossible can become possible, if you're awesome!

venku
Offline
Last seen: 15 years 1 week ago
Joined: 2009-11-19 14:04
How did you get it to work

I like being able to specify where the Data and Settings are stored with the ini, could you upload the exe? or is that against the rules?

Log in or register to post comments