You are here

Portable App Development

Discuss portable app development and modification of existing apps.

FilesWriteN?

Submitted by alysher on April 22, 2011 - 8:19am

does any one have an example or know of an app that uses this function in the launcher.ini for PA.c Launcher 2.0

i only ask cause i am having a hard time understanding the manual and an example of how it is used would allow me to see how it is used.

thanks in advanced.

Custom Segment problem for PA.c Launcher

Submitted by alysher on April 17, 2011 - 8:50pm

ok, from what i understand if i wish to include custom segments for the PA.c Launcher i must have a file named PortableApps.comLauncherCustom.nsh in my source directory.

now if i want to add several segments i would have the PortableApps.comLauncherCustom.nsh file and any files called by PortableApps.comLauncherCustom.nsh

for example, here would be one part of my custom segment

PortableApps.comLauncherCustom.nsh code


!include "GetDXVersion.nsh"

Section "Main"
CheckDirectXVersion:
Call GetDXVersion
Pop $R0
IntCmp $R0 801 GetINIOptions 0 GetINIOptions

Online installers, can we wait?

spg SCOTT's picture
Submitted by spg SCOTT on April 17, 2011 - 5:17pm

When you have an online app, and there is a firewall running on the pc, I am asked to allow the app connection to download chrome for example.

Normally this is fine, but when you use the updater within the platform it causes problems.

I am told that there is no connection to download, so I allow the prompt from the firewall and the updater carries on, only it skips chrome.

This means that the install is messed up because it has deleted the old install and now there is nothing for the launcher to do but give a "not found" error.

Hotkeys in NSIS

Pyromaniac's picture
Submitted by Pyromaniac on April 13, 2011 - 9:32pm

So, I'm trying to make an app in NSIS that will act according to a certain hotkey that's pressed (in this case, alt + b). I think I've got the register/unregister part down, but I don't know how to store whatever was pressed into $var, then I can do what I need to from there...

I've never used the system plugin (or GetDlgItem for that matter), nor have I registered hotkeys, but I found a couple of tutorials on how to use the system plugin (from the manual), and how to register hotkeys (from MSDN).

So far, I got this from guessing and checking:

GetDlgItem $0 $HWNDPARENT 1

OpenOffice needs updated

horn's picture
Submitted by horn on April 12, 2011 - 5:10pm

Can someone update OpenOffice 3.2 I had to replace system files of OpenOffice Portable with the new version of OpenOffice 3.3 to update it. It works fine, but I still think you should update your OpenOffice.

I don't use LibreOffice because it is too slow, and has to many bugs. Possibly when they develop it better I will switch over, but for now, please update OpenOffice.

The Sims Portable (Actually Works)

Submitted by Lemonizer on April 12, 2011 - 3:27pm

Recently, I have been toying around with my installation of The Sims 1, and have managed to make a portable edition. It currently works on my Kingston DataTraveler G2 but I have not yet incorporated it into the PortableApps suite. If anyone would like to try The Sims Portable, just email me at: [Email address removed - mod Chris]

Happy Apping!
Jack (Lemonizer)

[Solved] Custom Script Problems

OpenPlatform's picture
Submitted by OpenPlatform on April 10, 2011 - 9:54pm

I'm attempting to create a lazarus portable 0.9.30, but there is a problem with the PAL Launcher handling the environment variables file the file needs to be copied from the %defaultdata%\settings & %defaultdata%\profile locations, written before the ${AppID}Settings.ini file is overwritten, and then copied tho the desired location. In the PortableApps.comLauncherCustom.nsh file I imputed this code:

${SegmentFile}

Var LastAppDir

${DisableSegment} DriveLetter

${Segment.onInit}
${IfNot} ${FileExists} "$EXEDIR\Data"
	CreateDirectory "$EXEDIR\Data"

Pages