You are here

Portable App Development

Discuss portable app development and modification of existing apps.

About FileWrite problem when writing data to registry

Submitted by tony200910041 on July 19, 2013 - 9:52am

Hi,
Today I encounter some issue when making a portable application.
There is a path storing in registry, and I use ConfigWrite to modify the path.
However, the registry imported is only the old one. The path is changed, but only changed in the file, instead of the real registry. When I close the application, the old registry values are exported to the registry file. Then the entire ConfigWrite doesn't work.
How can I write data first, and after that, import registry?
Here is the launcher.ini I used:

[Launch]
AppName=JPEGsnoopPortable
ProgramExecutable=JPEGsnoop\JPEGsnoop.exe

ServiceN in laucher.ini

PortableApps Việt's picture
Submitted by PortableApps Việt on July 18, 2013 - 10:53am

Hi,

I read PortableApps.com Launcher Manual, and I see launcher.ini that has section [ServiceN], but it said: "Services are currently disabled in the PortableApps.com Launcher." So Can I restore Services in PortableApps.com Launcher? What do I should with apps have services?

Anyone can help me! Thank you very much!

xml write

Submitted by JLim on July 17, 2013 - 1:53am

Files are downloaded to, in default, x:/downloads folder where x is the last hard drive in the system, so which is not fixed.
The download path setting is written in the xml file look like this:

{persist_settings}
{download}
{download_directory}{![CDATA[X:\downloads\]]}{/download_directory}

({ and } should be respectively. But I do not know how to make it correctly show in the post. Sorry about that.)

Help Compiling Greenfish Icon Editor in Lazarus

John T. Haller's picture
Submitted by John T. Haller on July 7, 2013 - 2:47pm

I took a stab at compiling the new Greenfish Icon Editor Pro, which is now open source, in Lazarus IDE and it fails, unable to find a component called gfComp. Google and the Lazarus website are no help finding it. The source files will be downloadable here within about 10 minutes or so.

WorkingDirectory in Stickies Portable

PortableApps Việt's picture
Submitted by PortableApps Việt on July 6, 2013 - 8:58am

Hi,

I used Stickies Portable and I have a question. StickiesPortable.ini file (App\AppInfo\Launcher) has command

[Launch]
WorkingDirectory=%PAL:DataDir%
DirectoryMoveOK=yes

And I test by remove WorkingDirectory=%PAL:DataDir% command then pack it by PortableApps.comLauncher again. As a result it leaves "stickies" folder in %Appdata%.

So I wonder which type of software can use command WorkingDirectory in [Launch]? I try some software but it can't work as Stickies Portable.

Environment variables for Program Files Directory

PortableApps Việt's picture
Submitted by PortableApps Việt on July 5, 2013 - 11:23pm

Hello!

I read manuals at https://portableapps.com/manuals/PortableApps.comLauncher/ref/envsub.html but it doesn't have environment variable for Program Files Directory? In NSIS has many environments such as $PROGRAMFILES, $DESKTOP...why PortableApps.com doesn't make own the same environment?

I make Dropbox Portable but it have Dropbox folder in Program Files. And I want to use DirectoryMoveOk in [Launch] to move it.

Anyone help me! Thank you very much!

Pages