You are here

PortableApps.com Application Template 3.4.1 (with default launcher included)

5 posts / 0 new
Last post
John T. Haller
John T. Haller's picture
Online
Last seen: 20 min 51 sec ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
PortableApps.com Application Template 3.4.1 (with default launcher included)

I'm testing a new style of PortableApps.com Application Template for use with the PortableApps.com Launcher and Installer. The current 2.4 release is just the barebones file structure but includes no example config files. This Dev Test is of a complete template with config files and a default launcher along with a stub EXE so you can be sure it works by default.

The configuration is setup with an AppID of AppNamePortable, so it uses AppNamePortable.exe as the default launcher and AppNamePortable.ini as its configuration file. There are default settings in the INIs for handling config files that exist locally, config directories that exist locally, config files that move between Data and App, config directories that move between Data and App, and registry key config settings. The necessary lines to handling the moving and backup/restore of local settings as well as portablization of both a standard config file and a .reg file are all included and working for an example app of AppName and ExamplePublisher. The files are all fully commented and a how to txt file is included in the base directory. You can start up just by loading an app without even needing to recompile AppNamePortable.exe. When you're ready to release, instructions for that are included as well.

Download PortableApps.com Application Template 3.4.1

Note that I'm still debating splitting this full version out and doing it along with lighter versions based on just registry and one of just files.

Please test this out, look for any errors, and provide feedback. Suggestions for this particular format are appreciated as well. If we do an automated builder based on interactive Q&A, that will be a separate process from this one (and much more complicated), so please no suggestions along those lines for right now.

Thanks!

Release History
3.4 Dev Test 1 (2016-11-13): Initial release
3.4 Dev Test 2 (2016-11-14): Fixes recommended in Gord's first comment plus default installer.ini
3.4 (2016-11-18): Released and announced as official
3.4.1 (2016-11-18): Fixed single word referring to config file instead of registry

Gord Caswell
Gord Caswell's picture
Online
Last seen: 2 min 32 sec ago
DeveloperModerator
Joined: 2008-07-24 18:46
first look

First off, great job!!

Thanks for putting the time into this, it will be certainly be useful for newer developers. Personally, I'll probably stick with the 2.4 updated build at the moment, but that's just me.

Now, some errors & comments:

  • appinfo.ini:

    • Line 3 - "coding" is misspelt
    • The category comment misspells the word "category"
    • EULAVersion: perhaps we should mention that users do not need to agree to GPL or most other OSI licenses prior to running?
    • The DisplayVersion 1.2 DT 1 comment includes a version of 1.99.0.1 - this should be 1.1.99.1 or 1.0.99.1 as 99 > 2, when 1.2.0.0 was released, the platform wouldn't prompt for release. I would also suggest expanding this line to speak to 3- or 4- numbered versions: ie. 4.5.1 DT 1 would be 4.4.1.991, 4.5.1.1 DT 1 would be 4.4.11.991, etc.
  • installer.ini:
    • This is a duplicate of appinfo.ini. not a default installer.ini
  • launcher.ini - or rather, App\Appinfo\Launcher\AppNamePortable.ini:
    • Line 3: coding is misspelt
    • Activate - comment line 1 - "now" should be "know"
    • ENVIRONMENT VARIABLES FOR USE...: "apple" should be "apply"
  • DefaultData whatgoeshere.txt:
    • Based on a recent dev test, and the misunderstanding of a dev regarding the use of DefaultData, this file should likely include mention that DefaultData files should never be modified during normal use of the application

That's it for now, hope it helps!

John T. Haller
John T. Haller's picture
Online
Last seen: 20 min 51 sec ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Added in Dev Test 2

I've added all this in with Dev Test 2

Sometimes, the impossible can become possible, if you're awesome!

Gord Caswell
Gord Caswell's picture
Online
Last seen: 2 min 32 sec ago
DeveloperModerator
Joined: 2008-07-24 18:46
Sorry for missing this

Sorry for missing this earlier, but I just noticed today while prepping a new app.

In Launcher\AppNamePortable.ini, File Write 4-6 are for writing to a .reg file, but refer to writing to a config file.

I wouldn't make a rev 2 just for this, but we can leave it on the list for the next one.

John T. Haller
John T. Haller's picture
Online
Last seen: 20 min 51 sec ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Fixed in 3.4.1

I fixed it in 3.4.1 so new folks aren't confused. It doesn't need a news story and isn't pushed via the updater, so we can make minor fixes to this more easily than to apps.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments