You are here

Portable App Development

Discuss portable app development and modification of existing apps.

Registry key handling

Submitted by Gremlin on March 28, 2012 - 7:37am

Hi,

I have a question regarding registry key handling. When I want to write registry keys I formerly had put the initial values in a .reg file and had only handled the keys with variable file path values via the launcher.ini. Later I noticed that some portable apps handle every registry key in the .ini file without initially having a .reg file (which gets created after the fist run).

An example with an external .reg file:

portable.reg:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Intel\Indeo\5.0\Decoder]
"Scalability Levels"=dword:00000000

[Fixed]Halo Combat Evolved crashes with PAL

Bennieboj's picture
Submitted by Bennieboj on March 27, 2012 - 5:25am

Hi everyone,

I want to make Halo Combat Evolved (not Custom Edition) Portable.
There already is a launcher out there but since it's written in autoit3 and it doesn't backup the registry and such I wanted to do better. The only problem is that Halo doesn't like it when a process is attached to it, then it throws an exception, gathers data and closes/crashes.
This wasn't the case with the already existing launcher, I don't know why.

installer.ini DownloadFiles error

Bennieboj's picture
Submitted by Bennieboj on March 22, 2012 - 4:08pm

Hi people,

I wanted to make Project64 portable, there were already some versions available. But they required you do download the project64 installer yourself, were written in an version of PAL older than 2.0 or even using custom .nsh. A moderator here said that the original poster wasn't allowed to include the files into the exe, he had to use an online installer to get rid of the licensing...
So I wanted to make an online installer.

installer.ini:
[DownloadFiles]

PortableApps Launcher Questions?

vf2nsr's picture
Submitted by vf2nsr on March 22, 2012 - 4:47am

Updated info 2012-03-23 00:37

Updated information posted here

I am looking for some information. I am working on an app, I would like to know whether what I want to do requires a complete custom launcher, a custom.nsh file or if it can be done using the existing structure?

OK I will try to be clear as possible with my needs.

I have an ini file that will be in the Data\settings folder
In the ini there will be an entry FirstRun=Y

MinOS/MaxOS question | multiple icons question

Bennieboj's picture
Submitted by Bennieboj on March 22, 2012 - 4:32am

Hi everyone,

I have 2 questions for you....

1) Is there a way to define which Sevice Pack should be installed? I have this problem with Mari0Portable. The MinOS is currently at XP, but in fact it should be XP, SP3 (as noted in release notes and game forums).

2) I wanted to make an app with multiple icons. I used this:
[Control]
Icons=2
Start=AppNamePortable.exe
Start1=AppNamePortable.exe
Name1=AppName Portable
Start2=AppNamePortable2.exe
Name2=AppName Portable Other Part

GnuCash GetQuotes needs a patched / modifed Quote.pm

Submitted by Wm ... on March 20, 2012 - 3:50pm

Hope I'm in the right place, feel free to move.

GetQuotes no longer works because the default web site it scrapes quotes (yahoo) from has changed.

There is a new Quote.pm here

http://lists.gnucash.org/pipermail/gnucash-user/2012-February/043255.html

Follow the thread from the start to know what to do with it, there are also patches available.

PA Launcher

vf2nsr's picture
Submitted by vf2nsr on March 17, 2012 - 4:08am

I am working on a script and wanted to be able to move/overwrtie/sync files. Not able to find anything in NSIS manual did a Google search and found this script on the NullSoft site called MoveFileFolder.nsh. Going to give it a try, might be something we want to include in eitehr the next launcher or even in NSIS?

Pages