You are here

Portable App Development

Discuss portable app development and modification of existing apps.

UPX script

Shawn Faucher's picture
Submitted by Shawn Faucher on January 19, 2008 - 2:38am

Here's a script I've been working on to automatically UPX all exe & dll files in the App\[app] folder and its subfolders. It compresses with the recommended settings, and does a upx -t on each resultant file to make sure it decompresses correctly. If it doesn't, it automatically reverts to the backed up original copy. If it does the backup is deleted. It's written to be run from the Source directory of the app. Two variables need to be set, UPXBIN points to the upx.exe binary and APP is the name of the root app binary folder.

Password Prompt

Submitted by shinybrown on January 17, 2008 - 11:21pm

okay, so i have used and enjoyed portable apps for quite some time now, but i bought a new flash drive (Sandisk) and it has U3 installed on it. I actually prefer the Portable Apps suit over U3, but i really like the way that U3 is set up with a password prompt when i plug it in; you cant do anything until the password is entered. Does anyone know of a way to enable this (or a similar) feature using the PA Suit?

Thanks in advance!

~ShinyBrown

Connecting to The Unofficial PortableApps.com IRC Channel

Submitted by Patrick Patience on January 17, 2008 - 6:33pm

As the channel #portableapps on irc.freenode.net gets more popular from my recent release of X-Chat Portable, I thought it would be handy to post a tutorial on connecting to the channel using some popular open source IRC capable clients.

This is mainly a place for developers to get and provide help on creating portable applications, but can also serve as a nice chat place, and hopefully support for people as well. For those that don't know, IRC is basicially a 'chat room', mainly for development and support.

Request for creating portable app (LockLizard Safeguard Viewer)

Submitted by sahak on January 16, 2008 - 2:31pm

Dear All,

I do not understand anything in apps development and will be very grateful if someone can help me in making a portable version of "LockLizard Safeguard Viewer 2.5.65".

The software version of the software is available at the website: http://www.locklizard.com.

Rgds,

Sahak

Cleaning up Data

Shawn Faucher's picture
Submitted by Shawn Faucher on January 16, 2008 - 11:41am

What's the recommendation for whether to have an installer clean up the Data directory? For example GnuCash Portable no longer requires a subfolder within Data that used to be necessary to fix a bug. The installer deletes this subfolder from DefaultData. Should it do the same for Data, or is it preferable never to touch the Data directory during installation?

If the installer shouldn't touch it, what about the launcher? Should it do any cleanup of Data that isn't needed any longer, or just ignore it?

Registry Backup/Restore Functions

Submitted by wraithdu on January 15, 2008 - 7:42pm

Original work on these goes to Klonk and his Portable Application Template. I use a modified version of that great piece of work all the time for apps. I wanted to bring those functions over to be used with any other apps, as they're great for working with backup/restore of multiple registry keys.

These are modified versions of his original functions from v2.2 of his template. I hope they're useful for others as well.

Notes: You need the Registry plugin. Copy and paste into 'SomeName.nsh' In you main script add -

!include SomeName.nsh

Two executables in one app

Submitted by kde on January 15, 2008 - 2:26pm

Hi! We have our own application that we would like to make portable and compatible with Portable Application Suite. Currently we already made our app portable, but encountered one problem when tried to insert our app in the Suite. Our app has 2 executables - one standard 32 bit executable (the main one) and the second - 64 bit hook support application for Windows x64 in the same directory. But Portable Application Suite shows both of them in its main menu. How can we hide the second support application from being show in the menu?

Real Portable Desktop

Submitted by lucisdeus on January 14, 2008 - 8:30am

The only thing that is missing is a "Real Portable Desktop"
what i mean is when u plug in your usb drive instead of the desktop that
u see in windows that is the user desktop of that computer
the usb drive should run a desktop on top of the existing one
which allows us to use it as we do on our own computer Have our own
shortcut files and ower background on it .this would even make portableapps
more popular cause in this way u can really take ur desktop with u

and by the way we should also have our connections on the usb drive also

NSIS tip for compiling using the v0.9.9.0 pa.com installer

BuddhaChu's picture
Submitted by BuddhaChu on January 12, 2008 - 8:09pm

The latest version of the official pa.com installer script is using the "MoreInfo" plugin. This isn't included in NSIS by default or in Smithtech's NSIS Portable.

Fix:

- Download the MoreInfo plugin from here.
- Extract the zip file
- Go into the \Plugins dir and copy the MoreInfo.dll
- Go to you NSIS install dir and go to the \Plugins subdirectory
- Paste MoreInfo.dll there

~fini

Pages