You are here

Portable App Development

Discuss portable app development and modification of existing apps.

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.

PortableApps Launcher not passing file to open to programs

Submitted by tsftd on September 23, 2014 - 3:22am

I've made several portable programs using the PortableApps Launcher Generator. They all work fantastically, EXCEPT that for programs that open files, neither file association nor direct-launch (drag and drop the file onto the .exe) work.

As an example, I have associated .zip files with my 7-zip portable. However, double-clicking on a .zip file only STARTS my 7-zip portable, it does not load the file.

I'm sure that there is some setting somewhere that I'm missing to allow the launcher to pass the parameter to the program, but I can't find it for the life of me.

Failure of Installers with dual downloads. i.e. 1+xxMB

Submitted by Jestre on September 19, 2014 - 11:09am

This is for the portable apps that require a secondary download, but it fails, usually due to firewall issues, but sometimes other issues.

Is it possible to add a copy of the secondary download location to the portable application website as well as the error message window and/or the setup log in the installer(s) when a failure to download occurs?

As some firewalls automatically block websites for Skype, Bittorrent, etc. when the updater runs it will fail when it tries to download the second portion.

USB - disk - as a means of access to the cloud operating system

snowden000's picture
Submitted by snowden000 on September 15, 2014 - 4:27am

Use s-drive is enough to enter in a private cloud operating system. Also, when installing Hackintosh on PC Intel section we use UEFI, then our u-drive it is enough to use the bot, and not inconvenient to install portable system - entirely. We can create at u-drive a number of boot sectors bot and log in to any of the configured in the cloud of our systems

Proxy Get - Update?

Submitted by w1ckd on September 14, 2014 - 7:55am

Hi All,

When trying to use some of the Portable applications like Skype i cannot connect to my accounts since my corporate laptop is behind a proxy configuration script.

Now as i was wandering the internet i came across the app: Proxy Get, however it is from 2006 someone posted a patch but i am not able to apply the patch as im a total noob in coding. (Tried for a few hours)

Is there anything avaiable to retrieve the proxy settings for me?

How to check if a dir is empty in NSIS

Ken Herbert's picture
Submitted by Ken Herbert on September 11, 2014 - 4:54am

I've just found a rogue directory being left behind by one of my dev tests, so in the next release I'd like to handle it automatically where it already exists on a users PC (plus it is about time I got my head around some NSIS).

The folder in question is %LOCALAPPDATA%\cache\picard, so I need to delete the picard folder if it exists (this I can do), then delete the cache dir if it is now empty (this I am stuck on).

The code so far:

!macro CustomCodePreInstall
   ${If} ${FileExists} "$LOCALAPPDATA\cache\picard\*.*"

Pages