You are here

One small help

14 posts / 0 new
Last post
SantoshV
Offline
Last seen: 13 years 3 months ago
Joined: 2010-10-16 17:38
One small help

Guys.. One small help.. Someone suggested me to look at the sumatra pdf launcher as its basic.. Fine.. Now i want to extend it to another app.. The app's settings have to "moved" to "%LOCALAPPDATA%".. What files are to be included and code to be implemented??? THANKS IN ADVANCE.. Smile

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
PA.c Launcher

You're better off using the PortableApps.com Launcher. It requires no coding or compilation. You just file out an INI file and run the wizard on it. You can look at apps like Opera and Audacity for examples of the way it is structured. The manual and launcher are here:
https://portableapps.com/apps/development/portableapps.com_launcher

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

SantoshV
Offline
Last seen: 13 years 3 months ago
Joined: 2010-10-16 17:38
Thank you John the "GOD" of

Thank you John the "GOD" of portable apps.. Smile

There is no substitute for experience...

SantoshV
Offline
Last seen: 13 years 3 months ago
Joined: 2010-10-16 17:38
Using the nsi script way,

Using the nsi script way, settings are copied from defaultdata dir if absent,the settings are then moved according to requirement.. But using P.A.L u cant do so.. Sometimes settings are moved and sometimes its not[i tried for orbit but failed]..
[duplicate post removed by your friendly neighbourhood Moderator Zach Thibeau]

There is no substitute for experience...

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
They Are

PA.c Launcher will automatically copy everything form App\DefaultData to Data if Data is empty or doesn't exist.

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

SantoshV
Offline
Last seen: 13 years 3 months ago
Joined: 2010-10-16 17:38
My requirement is that i want

My requirement is that i want to copy the default settings to settings dir if settings are absent.. Then i want to move the settings to "%AppData%" using DirectoriesMove or FilesMove command.. But when i tried this on orbit it didnt work.. :-(..

Code i tried:
[DirectoriesMove]
settings\Orbit=%APPDATA%\Orbit\

All suggestions and scoldings are welcome..

There is no substitute for experience...

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Don't use settings

Don't use the settings directory or subdirectories in it. That is for use by PA.c Launcher itself only. Put it in Data\OrbitSettings. And have App\DefaultData\OrbitSettings with the default settings in it. Then use this code:

[DirectoriesMove]
OrbitSettings=$APPDATA%\Orbit

(Note that there is no trailing \ for the entry)

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

SantoshV
Offline
Last seen: 13 years 3 months ago
Joined: 2010-10-16 17:38
Tanks.. I'll try.. It wil

Tanks.. I'll try.. It wil work.. And one more thing.. Is it %APPDATA% or $APPDATA%

There is no substitute for experience...

Mark Sikkema
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-07-20 14:55
%APPDATA%

That must have been a typo of John T. Haller .

Formerly Gringoloco
Windows XP Pro sp3 x32

SantoshV
Offline
Last seen: 13 years 3 months ago
Joined: 2010-10-16 17:38
I'm also having some glitches

I'm also having some glitches in the registry section..
[RegistryValueWrite] especially.. Sad

There is no substitute for experience...

Mark Sikkema
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-07-20 14:55
See the PAL manual...

Formerly Gringoloco
Windows XP Pro sp3 x32

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
More examples

See apps using PAL for a complete list of officially released apps and what they use. It's helpful as a list to refer to to find an app in which some feature is used.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

SantoshV
Offline
Last seen: 13 years 3 months ago
Joined: 2010-10-16 17:38
THanks

Guys thanks for ur support.. Today i set a personal record.. I portablized google chrome 9.0 and GIMP 2.6..

There is no substitute for experience...

SantoshV
Offline
Last seen: 13 years 3 months ago
Joined: 2010-10-16 17:38
I dont know what happened..

I dont know what happened.. Just out of the bush google chrome in my comp updated automatically,infected my av and now the portable version doesnt start...
And btw guys list some source of open source and freeware..
i know filehippo,portablefreeware,softpedia...

There is no substitute for experience...

Log in or register to post comments