You are here

Portable App Development

Discuss portable app development and modification of existing apps.

How do you find errant files?

dagardner's picture
Submitted by dagardner on July 2, 2009 - 8:57am

How to other portable app developers hunt down all of the files left behind by an application? I did some searching through the forums, but I couldn't any references to programs that people use; Is there a way to make sure that nothing gets left behind, or do you eventually have to hope that you haven't missed anything?

I was hoping for something along the lines of RegShot for files, but that might be a bit much depending on how big the drive you are testing is.

How do you find errant files?

Portable JDK (Java SDK)

Submitted by temp4746 on June 27, 2009 - 7:31am

Now that PortableApps.com is offering a portable Java JRE, having a portable Java JDK sounds good to.

The reason for this is if in the future programs such as Eclipse will be offered it will be more usefull to run them using a JDK due to the availability of the JDK tools and Java source with it.

We can also install the java docs to it (Manually or automatically), so Eclipse has access to the java documentation (api, javadoc) offline.

Disable "Check for Updates" UI in Portable Firefox?

Submitted by pkerai on June 26, 2009 - 10:05am

By default, Portable Firefox checks for updates from Mozilla. If a user accidentally applies a Mozilla auto-update to his Portable Firefox, this breaks the portable-ness because Mozilla's updaters typically touch the registry etc while installing.

This has actually happened to me once, and left my Windows complaining that the default browser in U:\Internet\Firefox\App\Firefox could not be found when I removed the USB drive. *sheepish*

NSDialogs in PortableApps.comInstallerCustom.nsh

Submitted by mstinaff on June 26, 2009 - 1:23am

I am trying to add a custom page to a PA.c generated installer (0.91.5) but when I get to the custom page the Back, Next and Cancel buttons are inactive and I have to use task manager to kill the install. Here is the code that I am trying this out with which is almost a direct copy from one of the example files included with NSISPortable.


!include LogicLib.nsh
!include nsDialogs.nsh

XPStyle on

Page license
Page custom nsDialogsPage

Var BUTTON
Var EDIT
Var CHECKBOX

!macro CustomCodePostInstall

	Call nsDialogsPage
	
	CustomCodePostInstallEnd:	
!macroend

Windows-on-Stick

morphh's picture
Submitted by morphh on June 25, 2009 - 2:57pm

I can guess what you're thinking.

1) Illegal to do a portable Windows OS
2) A Virtual Machine of Windows would be too big and slow
3) A Virtual Machine can't be portable due to kernel drivers

I think we can get around these issues, read on...

This is my first post and I'm very new to portableapps.com so don't drill me too hard if this is way off. I'll lay out my idea and you can let me know. I'm not putting this in requested apps, as I actually plan on developing this if it sounds feasible.

ThinApp: Creating self-contained apps with no mess!

Submitted by iheijoushin on June 23, 2009 - 8:07pm

This may be a stupid question, but how can one create a truly self-contained portable executable using ThinApp?

Each time I try to create a ThinApp version of a game (Fallout 1-2, if you must ask), it creates a single .EXE. When you open said EXE it generates a mess of files: Registry.tvr.backup, Registry.rw.tvr.lck, Registry.rw.tvr, and a directory called "%ProgramFilesDir%".

Am I missing something? How do I make a portable version of an app that doesn't need to generate these files outside of itself when opened?

Thanks in advance! Love the site!

How do I extract multivolume 7-Zip archive using Nsis7z plug-in?

Submitted by GrzegorzJZD on June 21, 2009 - 4:34am

NSISPortable 2.44
Nsis7z plug-in

Single volumne 7-Zip archive could be extract by this code:
File "ArchiveName.7z"
Nsis7z::ExtractWithDetails "ArchiveName.7z" "Installing package %s..."
Delete "$OUTDIR/ArchiveName.7z"

How do I extract multivolume 7-Zip archive using Nsis7z plug-in in NSIS Installer? File name is file.7z.001, file.7z.002, file.7z.003.

Pages