You are here

Portable App Development

Discuss portable app development and modification of existing apps.

HOME Environment variable being ignored?

Gord Caswell's picture
Submitted by Gord Caswell on October 29, 2010 - 10:17pm

As mentioned in Chris' testing thread, I'm having issues with Scribus 1.3.8 not recognizing the HOME environment variable. This is the only problem I have, and once it's fixed, I will be able to upload a working copy of Scribus 1.3.8

Please see my attached launcher.ini (appropriately renamed, of course)
Any help would be appreciated. I can give access to the full package if someone needs it.

[Launch]
ProgramExecutable=Scribus\Scribus.exe
SingleAppInstance=true

[Activate]
Registry=true
XML=true

[Environment]
PATH=%PAL:AppDir%\Ghostscript;%PATH%

Moving a folder

Submitted by rashizzle on October 29, 2010 - 6:25pm

I'm trying to make an app portable that has a user data folder in C:\Users\... How would I move this folder into \Data ?

Also, do you know of any good guides to making portable apps (besides documentation and forum topic)?

Im Confused.....

Submitted by alysher on October 29, 2010 - 12:14am

ive been reading up on how to handle registry keys with PAL, but im lost....i used regshot to find out what keys i need to add and delete to the registry for my program, but i dont understand how to implement them into my launcher.ini.

would it be possible to see a real launcher.ini as an example? or at least the section dealing with the registry?

i know i sound like a total noob, but running a search didnt turn up any thing that i actually understood, and with the way im wired seeing an example allows me to understand what has to be put down a lot better

[Removed]

Submitted by sania1569 on October 27, 2010 - 1:38pm

[Contents of thread removed; that software is not open source, so you can't redistribute it like that - mod Chris]

[RegistryKeys] and .reg key deletion

Submitted by Ambimind on October 24, 2010 - 3:47am

Hello everyone,

I've been working with the registry features of PAL. I've been successful at creating and deleting keys using [RegistryKeys](from a .reg file), [RegistryCleanupIfEmpty] - pretty cool! I have a curious problem however:

Briefly: All registry key-branches from "appnameportable.reg", accept the (one) specified through the [RegistryKeys] section, are being deleted. When two [RegistryKeys] are specified(as bellow) only the second is kept.

----

In detail:

Is it possible to redirect %USERPROFILE% in launcher.ini?

Submitted by Michael_M on October 22, 2010 - 4:32am

Hi folks,

I just started with portable apps. My goal ist to make an qt-based app portable to run from an USB flash drive. This app uses no registry keys but unfortunately it places somes data in the directory where Windows environment variable "%USERPROFILE% points to.

Pages