You are here

Portable App Development

Discuss portable app development and modification of existing apps.

RegistryCleanupIfEmpty doesn't delete if default key is present.

Bennieboj's picture
Submitted by Bennieboj on March 5, 2012 - 3:57am

Hi everyone,

As the title implies, [RegistryCleanupIfEmpty] doesn't delete if default key is present. At least that's what I'm thinking.
part of my ini file:

[RegistryCleanupForce]
1=HKCU\Software\developer\gamename

[RegistryCleanupIfEmpty]
1=HKCU\Software\developer

It removes the "gamename" out of developer. The only key is the default with no value assigned. (every reg folder seems to have one like that)
But it doesn't remove the developer.

help with creating a launcher for non-open source/freeware apps that can be run from removable media

Submitted by alysher on March 5, 2012 - 12:08am

as the subject suggests i want to create a launcher for an application that is a commercial product. now i know i cant make the commercial application its self portable, but from my understanding, i can create a batch file that starts the app and make that portable.

Suggestion: Windows Integration upon Start

Submitted by Dringox on February 29, 2012 - 3:54pm

I realize that many users prefer to keep the programs entirely separate from their OS, but there are a lot of programs in PA now that would benefit from portableapps allowing (a limited) windows integration.

I'd like to be able to use the 'add to context menu' features in a program or set a filetype to automatically open with a certain program with ease. Programs like Winmerge, 7zip, vlc, etc. come to mind.

New developer seeking advice

Submitted by endlesssummer42d on February 29, 2012 - 7:31am

I'm attempting to create a portableapps launcher for a small program that is already portable, ie it can be run from anywhere and it makes no registry changes nor does it change any files/folders outside it's own folder.

In creating the portableapp, should the portableapps.com format specification be adhered to regarding storing the user settings and such in the 'Data' folder? Or is it enough to leave the program and let it run as-is in the 'App/AppName' folder?

Thanks in advance for any help anyone can offer

How can I write this path in XML?

Pyromaniac's picture
Submitted by Pyromaniac on February 28, 2012 - 8:32pm

So I'm trying to deal with 3 XML settings files in JStock Portable that require a path. Here's the important stuff from all of them:

...\module\project.xml (the whole file)

<org.yccheok.jstock.gui.IndicatorProjectManager>
  <preferredOperatorIndicatorType>ModuleIndicator</preferredOperatorIndicatorType>
  <projects/>
  <directory>[%USERPROFILE%\.jstock\1.0.6\module should be written here]</directory>
</org.yccheok.jstock.gui.IndicatorProjectManager>

Custom Code for Launcher - Solved

vf2nsr's picture
Submitted by vf2nsr on February 26, 2012 - 9:45pm

I am looking to create a custom.nsh file to handle some things in a launcher. I Know that he PortableApps Launcher has part of the feature but I need to disable it for speed sake. Here is what I have so far but does not seem to accomplish what I am wanting.

!macro CustomCodePost
${Segment[Unload]}
    # The following attempt at a custom code was created by Patrick Powell
	# Who is a PorableApps Developer whose current list of apps is located at https://portableapps.com/node/30620

FilesMove Problem

Submitted by GothicDeath on February 26, 2012 - 6:19pm

hi guys. I'm trying to get filesmove to work but. I just can't figure it out.
I need to move the file "burnaware.ini" from C:\Users\xxxxxx\AppData\Roaming (yes the ini is lose in the roaming folder), to the Portable app "data" folder. If anyone can help that would be great.

I have this in my ini file.

[FilesMove]
%APPDATA%\burnaware.ini=%PAL:DataDir%\settings

ESR version of firefox and thunderbird

Submitted by Totoche on February 26, 2012 - 4:56am

Hello,

I want to know (and possibly ask) if it's expected that you proposed ESR versions of firefox and thunderbird portable ...

The development cycle of six weeks (and even 4.5 in this case if you see the 10.0.1 and 0.2 versions) is much too short for me and others I think ...

My problem is that I really have a nomadic use of my key and often the updates are launched when I work on several differents pc with differents safety rules, differents firewall filters and often short time.

Pages