You are here

Portable App Development

Discuss portable app development and modification of existing apps.

Appdata and Portable app Development

Submitted by VizuaaLOG on August 11, 2013 - 10:43am

I am trying to create a portable app for a Open Source code editor called brackets. So far I think I have gotten everything working except the AppData part. The code editor supports extensions so when the program is launched for the first time it creates some folders in AppData below are the folders it creates

AppData/Brackets/

Syntax in a NSIS script file

Submitted by tapsklaps on August 4, 2013 - 4:33pm

Due to usage of the NSIS Logic Library (implemented by the command
"!include LogicLib.nsh" in the *.nsi sript file) I often encountered constructs, which contain the 3 characters "$", "{" and "}".

Typical examples are:

  • ${If}
  • ${EndIf}
  • ${FileExists}
  • ${WordReplace}
  • ${SetEnvironmentVariable}
  • ${SegmentInit}
  • ${SegmentPrePrimary}

But in which cases is it necessary to use these characters and why I can omit these characters in connection with the following instructions:

  • CopyFiles

[Suggestion] Autorun Restore

Submitted by Lucrian on August 2, 2013 - 12:32pm

Hello,

Because a lot of viruses are affecting USB drives, I suggest a new feature: restore autorun file.

A simple feature will restore standard autorun like was when PortableApps was installed.

A complex feature will give possibility to save a custom autorun file and when a virus affect that file, you can restore autorun file.

What do you think about this?

Have a nice day,
Lucrian

Interpretation of the documentation with respect to Java

Submitted by tapsklaps on July 23, 2013 - 5:13am

In the documentation with the subject "Making Java applications portable" I found in the section Build systems and command line arguments the following sentence:

The problem with bypassing AppName.exe and directly calling javaw.exe is that [Launch]:SingleAppInstance no longer works correctly and must be set to false.

For a better differentiation I call the local and portable instance of AppName.exe as follows:

jstock portable

Submitted by play2win on July 22, 2013 - 10:10pm

looks like a very detailed program with some advanced features. UPDATE does not work. It takes me to the official website and wants me to install an .exe to update. Can someone fix this as this program is advanced for free and I would like to see it make it to the official portable apps platform. THANKS!

How to create "conditional section selection" in the Launcher

Submitted by M-AUDIO on July 21, 2013 - 6:49pm

hi all.
I'm somehow new to this PA and NSIS world and sadly my English isn't so good to searching and questioning well . hope you understand my question correctly Smile

----->>question :
I want to have a "conditional section" in my PortableApp launcher .

3 sections required :
--section a (that's my question)
--section b (integrating avisynth or whatever apps to localsystem)
--section c (integrate and run main program that "needs" avisynth (or whatever apps)integrated to the local system first)

(that's my question again)

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.)

Pages