You are here

Portable App Development

Discuss portable app development and modification of existing apps.

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]

MinOS WIn XP Sp3?

Simeon's picture
Submitted by Simeon on January 21, 2013 - 4:59am

The latest JpegView update has a MinOS XP Service Pack 3. I know PAL cannot do this, so what is better:
-Set MinOS to Vista and kill the app under XP.
-Set MinOS to XP and hope there are only a few people out there without at least SP2.

I am leaning towards option 2 but wanted to ask for other opinions.

Usage of a portable app within an user account without admin rights

Submitted by tapsklaps on January 20, 2013 - 6:45pm

Suppose the portable app named "Appname" stores its settings in a registry key HKLM\Software\AppName. Furthermore I will run this app within an user account without admin rights. Let me now distinguish the following 2 cases:

  1. Case 1: App requires admin rights
  2. I think, that in this case the portable app will quit. The only possibility is, that I insert the following code in the file AppNamePortable.ini:

    [Launch]
    RunAsAdmin=force
    

OpenVPN Portable

Submitted by talapantas on January 17, 2013 - 3:02am

hi! im trying to make a launcher for OpenVPN so it can run portable. Im using portableapps.com launcher and was done with launcher.ini

Here's my launcher.ini


[Launch]
ProgramExecutable=OpenVPN\openvpn-gui.exe
DirectoryMoveOK=yes
SupportsUNC=yes
DirectoryMoveOK=yes

[Activate]
Registry=true

[RegistryKeys]
OpenVPN=HKLM\SOFTWARE\OpenVPN
OpenVPN-GUI=HKLM\SOFTWARE\OpenVPN-GUI

[RegistryValueWrite]
HKLM\SOFTWARE\OpenVPN\=REG_SZ:
HKLM\SOFTWARE\OpenVPN\log_dir=REG_SZ:%PAL:DataDir%\log
HKLM\SOFTWARE\OpenVPN\exe_path=REG_SZ:%PAL:AppDir%\OpenVPN\openvpn.exe

Usage of the section [SinglePortableAppInstance]

Submitted by tapsklaps on January 15, 2013 - 6:22pm

The default value of the section [SinglePortableAppInstance] is false, i.e. it's possible to run multiple instances of the portable app simultaneously. For the following considerations we will call the portable app suitable "multiple_instances". Furthermore we assume, that this app stores its settings in the registry key HKCU\Software\Publisher\multiple_instances. Accordingly the following code is necessary for making this app portable:

[Activate]
Registry=true

[RegistryKeys]
multiple_instances=HKCU\Software\Publisher\multiple_instances

Pages