You are here

Portable App Development

Discuss portable app development and modification of existing apps.

Careful when creating portable apps> Hidden files may still be stored!

Submitted by Slythfox on March 21, 2006 - 7:32pm

I've noticed this: some programs that apear to work portably, actually leave behind files in: C:\Documents and Settings\*User Directory*\Application Data (it's a hidden file) and in other places. When developing apps, it would probably be best to make sure your application doesn't do that.

Programs that do this:
uTorrent
Inkscape
Notepad++
USBOpera (I think so, but then again, since the physical folder is called "Opera" perhaps only the install version of Opera does this.)

Thankfully it only does this to the folder of the user you are logged in as.

Problem Launching a portable app.

Submitted by xftnfnb7 on March 15, 2006 - 8:01pm

I'm having a problem getting my application to load. This is most likely my lack of understanding of how the "chrome://" works. I have set up a simple XUL file to act as my application. It is the find file example from the XUL tutorial. Below is the directory structure I'm using:

F:\PortableApps\XULApps
\XULRunner
\CARS (My App)
Start.BAT (used for starting the application)
Application.ini
\Chrome
chrome.manifest (which is empty)
\CARS
Appstart.xul (the application)
\defaults
\preferences
prefs.js (which has the following line (pref("toolkit.defaultChromeURI", "chrome://chrome/cars/AppStart.xul");)

Pages