You are here

Portable App Development

Discuss portable app development and modification of existing apps.

Wait for EXE issue

darksabre76's picture
Submitted by darksabre76 on February 1, 2013 - 11:02am

In my version of MiKTeX Portable I am running into a problem that I thought I had fixed already. When the program is run it opens the MiKTeX tray icon which is not actually the process that is launched originally. Instead, it leaves a process running called "miktex-taskbar-icon.tmp". Until recently, I had no problems with it, so I assumed it was correctly handling this process. On the most recent Dev Test, I put in some configuration file moving which a user pointed out to me isn't working properly.

Alteration of a *.txt file

Submitted by tapsklaps on January 31, 2013 - 5:36pm

Suppose I have a *.txt file, in which I want to alter a value in a special line. This *.txt file may look as follows:

line 1: any entry
.
.
.
.
line n: [sectionname]
line n+1: value
.
.
.

Of course, the terms line 1, line 2, ... does not really appear in the *.txt, but only in the editor. My question is now, how can I change the value in line n+1? Has anyone an idea?

Help to convert uGet Portable to PAFF?

RottNKorpse's picture
Submitted by RottNKorpse on January 30, 2013 - 7:45pm

First of all, I'm a designer not a developer so this may just be a waste of time if the conversion isn't simple.

I am wanting to package the uGet Portable app into a PortableApps.com compatible format.

uGet Portable is actually a .ZIP that contains all of the dependencies and such but it is not in any particular portable format.

uGet is written in C and utilizes GTK+ runtime. Of course, Windows doesn't come with GTK+ so the portable app has it included in the zip.

To launch the portable app you extract the zip, open the "bin" folder and run the file "uget.exe".

Thoughts about the keys "SinglePortableAppInstance" and "WaitForOtherInstances"

Submitted by tapsklaps on January 26, 2013 - 9:08am

For the following considerations I assume, that a portable app called "AppName" stores its settings in the registry key HKCU\Software\AppName. Furthermore this app is able to run multiple instances simultaneously.

  1. Case 1: The portable app uses the default values of the 2 keys

Creation of a Plugin Installer

Submitted by tapsklaps on January 24, 2013 - 12:43pm

Suppose a plugin will creates some registry entries. In the documentation regarding the creation of a Plugin Installer is described, that I must use a file called plugininstaller.ini, whereas this file can contain all of the entries within the appinfo.ini and installer.ini files. But with all the available code I can't edit the above mentioned rgistry entries. Is it in this case necessary, that I must use custom code via the file called PortableApps.comInstallerPluginCustom.nsh within Other\Source?

gvimPortable - Compiled with perl support

Submitted by joefromct on January 22, 2013 - 1:25pm

Hi,

I need gvimPortable, compiled with vim support.

Is this theoretically possible, if i just grab the source files, change the make file to reference where i have perl installed, and then compile with cygwin? So far i'm getting a build failure, but i'm thinking it has to do with my version of gcc on cygwin. Keeping at it.

Any tips appreciated,

thanks,
-Joe

Treatment of registry entries in connection with file associations

Submitted by tapsklaps on January 21, 2013 - 6:54pm

I have already pointed out in another thread to this topic (see on the end of my comment with the subject "research incompletely"). As I suspect, however, that this problem was not noticed sufficiently, I've decided to create this new thread.

Suppose a base app creates in connection with a file association in the registry the following entry:

HKLM\SOFTWARE\Classes\.xyz

At first I assumed that I must make the following entry in the section [RegistryKeys]:

-=HKLM\SOFTWARE\Classes\.xyz

strange behavior

Submitted by tapsklaps on January 21, 2013 - 8:51am

Again I've checked the app Drago Portable, which I've made portable. Regarding some entries in the registry I received the following result with Regshot:

HKLM\SOFTWARE\Cygwin
HKLM\SOFTWARE\Cygwin\Installations
HKLM\SOFTWARE\Cygwin\Program Options
HKU\S-1-5-21-1202660629-515967899-725345543-1005\Software\Cygwin
HKU\S-1-5-21-1202660629-515967899-725345543-1005\Software\Cygwin\Program Options

Accordingly I pasted the following code in the file DragoPortable.ini:

[Activate]
Registry=true

[RegistryKeys]

Pages