You are here

A custom portable app is leaving data behind

3 posts / 0 new
Last post
bungeshea
Offline
Last seen: 4 years 3 months ago
Joined: 2011-07-11 03:57
A custom portable app is leaving data behind

Hi,
I've been trying to create portable version of a popular IDE.
I assembled all the data on the PortableApps template, and ran the PortableApps.com Launcher, App Compacter and Installer over top of it.
Unfortunetely, it is leaving data behind - when I switch computers it resets to the default settings, and when I return to a computer I have previously used with the portable version it restores the settings.

What am I doing wrong?

Ken Herbert
Ken Herbert's picture
Online
Last seen: 33 min 40 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
There is a lot more to making

There is a lot more to making an app portable than just copying it into the template and building it.

First, you need to have a decent understanding of what the launcher.ini is, does and can do. The best place for that is the PortableApps.com Launcher documentation.

Then, you need to understand how the app stores it's settings. Are they in a file (or potentially multiple files), are they in the registry, etc. For the registry part, do a search here for RegShot Portable, it is only a beta but it runs fine. You are best off running RegShot on a machine (or virtual machine) which has not previously had the app anywhere near it. Take a shot of your registry, install the app, take a second shot and compare them. This will tell you what (if any) registry entries are created/modified by the app. Some you don't need to worry about, but that is documented elsewhere in the launcher manual.

This should get you a good way to having a portable app, but if anything else comes up, check the manual, or do a search, you will more than likely find it. Failing that, don't hesitate to ask, there are more than enough people here willing to point you in the (hopefully) right direction.

bungeshea
Offline
Last seen: 4 years 3 months ago
Joined: 2011-07-11 03:57
Thanks, I will try that.

Thanks, I will try that.

Don't Panic

Log in or register to post comments