You are here

Portable App Development

Discuss portable app development and modification of existing apps.

How to download and unzip?

Submitted by 5keeve on November 4, 2014 - 3:19am

As I'm not allowed to include the binary in my DbVisualizer Launcher, I thought about downloading the binary when the installer is started.

At the moment I have the code shown at the bottom.

Now just before the "Delete $2" I need to unzip the downloaded zip file to %PAL:AppDir%

As I did not understand NSIS yet, can anyone please give me a hint how to achieve this?

DbVisualizer

Submitted by 5keeve on November 3, 2014 - 8:53am

Hi!

I really like DbVisualizer and it's almost portable.

So I've created a Launcher using PortableApps' launcher and asked the dbvis guys whether I may post the launcher here.

I got permission to do so provided I do not include the actual code.

So I can only provide a launcher where one would have to unpack the official download to.

1) Do we already have examples for this?
2) Do you support this kind of launchers at all?
3) Maybe the installer could download the package?
4) How would I post my launcher for others to test?

Is the use of batch files the only way to accomplish some things?

Submitted by ExpatSailor on October 27, 2014 - 8:46pm

I'm trying to make a portable Ruby that launches an editor and a cmd.exe window along with it. The launcher works in that it starts Ruby, but I cannot seem to make the environmental variables for "Path" stick, and I end up with an open and unused window (if I hide the window, I have to kill Ruby using the Task Manager). I'm trying to overcome these problems before adding the additional parts.

What is the future of support for SettingsDirectory?

Submitted by Go2Null on October 10, 2014 - 2:05pm

I'm trying to move all my PortableApps/${AppNamePortable}/Data directories under PortableApps/Data/${AppNamePortable} but am finding that more apps do NOT support the SettingsDirectory option that those that do.

Here is a summary of my installed apps. (All updated to latest stable version.)

YES | 7-Zip
NO  | AntRename
YES | Dia (creates PortableApps/DiaPortable/Data but uses SettingsDirectory)
YES | DiaShapes
NO  | Evince
YES | Firefox
NO  | FoxitReader
NO  | Geany
NO  | GIMP
NO  | Git
NO  | GnuCash
YES | GoogleChrome
NO  | gVim

RunAsAdmin=compile-force doesn't work

Submitted by scriptdaemon on October 8, 2014 - 12:39am

I should have made a thread about this a long time ago, but it seems that the compile-force option doesn't seem to work. The reason this was implemented, if I recall correctly, was that in the event of launching a process as admin, all environment variables were lost. I believe compile-force was an attempt to fix this, but the variables still do not show up in the properties of the admin processes.

Development of updater

Submitted by jhagerty on September 24, 2014 - 5:23pm

Is there any documentation for how the updater works?

I am interested in the ability to make the updater check alternative portable app directories, but unfortunately do not know delphi. However, I do a lot of web development, so was thinking I would take a swing at developing a portable app directory management solution. Then if I can complete that, maybe I will take a swing at learning enough delphi to hack a solution together.

I am assuming I can sniff the traffic and decode the request/response, but was thinking it might be better to build off actual documentation instead.

Pages