You are here

[newbie] How to create portableapp?

7 posts / 0 new
Last post
P-Ject
Offline
Last seen: 13 years 4 weeks ago
Joined: 2011-03-31 15:35
[newbie] How to create portableapp?

Hi there,

Maybe a noobish question to ask but i'm reading some threads here and there but it still doesn't get me my own portable app.

I have installed several tools:
- Launcher
- Installer
- NSIS
- AppCompactor
- Development Tool kit
- Templates

But then what?
I have run all tools but i'm still stuck with an exe that i would like to have portable.

Isn't there a short tutorial guide on how to create your own portable app from scratch with a fresh downloaded exe ?

3D1T0R
3D1T0R's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2006-12-29 23:48
No, but check the Guerilla Field Guide

There isn't a "short tutorial guide on how to create your own portable app from scratch with a fresh downloaded exe", because it's different for every app.

  • Some apps use the registry
    either the registry keys/values must be copied to the host PC (backed up first if already present) on every run and saved to the flashdrive and removed from the host PC (backup restored if previously present) when closed, or the registry use must somehow be disabled.
  • Some use folders on the system drive
    these also must either be copied to the host PC (backed up first if already present) on every run and saved to the flashdrive and removed from the host PC (backup restored if previously present) when closed, or these files must be redirected to the flashdrive, or this also must somehow be disabled.
  • Some automatically self-associate file extensions
    you must find a way to disable this, as this is not at all portable.
  • Some use absolute paths
    which can be easily dealt with when in a text file, but becomes much more difficult to work with when some store their configuration in other formats.
  • Some apps have nice little Command-Line parameters which allow for more easy portablization.

These are only a few examples of how some apps are different from others.
However the bottom line is that every app is different, thus you must figure out what methods of Portablization are necessary for each specific app, and sometimes decide between different techniques to Portablize certain aspects of it.

If you tell us what app, and what things about it need portablized this community is full of people who would be willing to help you, but sorry, there is no "one-size-fits-all" portablization technique for you to use.

Note: For a lot of really great information please visit the "Guerilla Field Guide"

~3D1T0R

G4Oblivion
Offline
Last seen: 12 years 10 months ago
Joined: 2011-03-18 20:29
Its not automatic

You cannot just run a program and expect it to automatically make the application portable.

If you want to learn how to use the PortableApps.com tools and the launcher syntax, these are some links that really helped me:

Creating A Portable App: A Guerilla Field Guide
PortableApps.com Format 2.0
Launcher.ini syntax documentation
Chris Morgan's sites Launcher.ini syntax documentation (includes 2.1 beta)
Short guide on how to make a regshot
Development forum layout

If you're having an issue, always use the search function before posting a question on the forums.

P-Ject
Offline
Last seen: 13 years 4 weeks ago
Joined: 2011-03-31 15:35
I understand the problem that

I understand the problem that every exe is different, but the current issue i have is how to deal with that packed exe, in my case KooBits, which is for personal use only.

After searching the web i found Universal Extractor, i think i need that tool to "extract" the exe.

Then using a registry monitoring tool to find out the items created etc.
When that is done i need to place it in Portableapps format which is explained pretty good but finding info on how to deal with exe installers isn't documented, atleast i couldn't find good info here.

dagardner
dagardner's picture
Offline
Last seen: 4 years 9 months ago
Developer
Joined: 2007-09-20 14:41
Here is what I do

Here is what I do:

  1. on a clean VM, run RegShot (set to detect changes to c:\ as well as to the registry)
  2. install the program
  3. RegShot again and compare (This will help you track down where it has placed all of the files)
  4. Create a simple launcher (just calls the app's exe under the App directory)
  5. Verify that the launcher works
  6. Create an PortableApp installer, and copy it out of the VM
  7. Revert the VM
  8. install the app in the VM
  9. RegShot
  10. Run the program and close.
  11. RegShot again and compare
  12. Add registry entries and settings files to the launcher
  13. Repeat steps 6-12 until the RegShots are clean
  14. Then you start working on the settings repeating steps 6-12
  15. Then start adding installer features like language switching, etc.

Some additional work may be required, but that will be app specific.

ameisez
Offline
Last seen: 12 years 4 months ago
Joined: 2009-10-24 16:49
There was a software doing this before

I remember having a software (link I found from the forum) that deals with making portable apps.

The process for that app are as follows.

1. Install the Portable app maker then run it.
2. Run the app that you want to portablized.
3. explore the app for the app maker detect the changes that it is making on the system.
4. Closer the app being portablized.
5. Clik Make portable apps on the portable app maker.
6. It will end up as portable app installer.

But the problem is I can't find that now. I think it is a great apps but for some reason it was not developed to the finish. If someone will make something like that it will be awesome.

Smile

======= EDIT ========
I found it...
https://portableapps.com/node/9909?page=5#comment-176448

Unfortunately it looks like abandoned.

sieuthi
Offline
Last seen: 12 years 10 months ago
Joined: 2011-06-14 05:05
How to make portable ?

Hi everybody,
Can who make video creat portable ? or where Tutorial ?

Log in or register to post comments