You are here

portableapps.com platform versions

9 posts / 0 new
Last post
vdp
Offline
Last seen: 12 years 6 months ago
Joined: 2010-02-25 11:12
portableapps.com platform versions

I'm having trouble launching a "beta" portable app I posted here:

https://portableapps.com/node/22791

It seems that something changed since platform v. 1.0 but I can't figure out what's making my launcher fail.

Any clues as to how to debug this?

Thanks

John T. Haller
John T. Haller's picture
Offline
Last seen: 15 hours 16 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
AppInfo

1.0 (which is outdated and no longer supported) doesn't understand the current PortableApps.com Format. PA.c Format follows the guidelines outlined in the Development section and uses the AppInfo.ini file to determine how to launch your app. I'd wager you've got errors in that file.

UPDATE: Yup, I checked. Your Control section is wrong. It should read:

[Control]
Icons=1
Start=AresmodPortable.exe

that's it.

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

vdp
Offline
Last seen: 12 years 6 months ago
Joined: 2010-02-25 11:12
Thanks! Do you know where I

Thanks!

Do you know where I can get a complete list of all the appinfo "keys" and "sections"?

John T. Haller
John T. Haller's picture
Offline
Last seen: 15 hours 16 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Development

In the development section, everything is detailed:
https://portableapps.com/development/portableapps.com_format

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

vdp
Offline
Last seen: 12 years 6 months ago
Joined: 2010-02-25 11:12
appinfo

I had a look at it, thanks.

I still have a doubt though.

According to the doc, I can set the most important keys "Icons", "Start" and "Name":


[Control]
Icons=2
Start=AppNamePortable.exe
Start1=AppNamePortable.exe
Name1=AppName Portable
Start2=AppNamePortable2.exe
Name2=AppName Portable Other Part

Suppose I only have 1 icon, should the code be:


[Control]
Icons=1
Start=AppNamePortable.exe
Name=AppName Portable

Except "Name" is not documented.

So maybe the correct code would be:


[Control]
Icons=1
Start1=AppNamePortable.exe
Name1=AppName Portable

solanus
solanus's picture
Offline
Last seen: 10 years 2 months ago
Joined: 2006-01-21 19:12
Actually, the "Name" for a

Actually, the "Name" for a single app is in [Details].
There's a distinct difference in the ini for a single app vs a multiple app.
A single app needs these to show up and function:

[Details]
Name=AppName Portable

[Control]
Icons=1
Start=AppNamePortable.exe

If you put "Name" or "Name1" in the Control section, it doesn't do anything.

But, if you have 2 apps:

[Details]
Name=AppName Portable

[Control]
Icons=2
Start=AppNamePortable.exe
Start1=AppNamePortable.exe
Name1=AppName1 Portable
Start1=OtherAppPortable.exe
Name1=AppName2 Portable

Now, in the menu, you will see only "AppName1 Portable" and "AppName2 Portable", but not "AppName Portable".
In fact, with multiple apps, both "Name" and "Start" are overridden by "Name1" and "Start1", respectively, so the following would work:

[Details]

[Control]
Icons=2
Start1=AppNamePortable.exe
Name1=AppName1 Portable
Start1=OtherAppPortable.exe
Name1=AppName2 Portable

However, you should stick to the format that JTH has shown, so leave "Name" and "Start" in the ini.

I made this half-pony, half-monkey monster to please you.

John T. Haller
John T. Haller's picture
Offline
Last seen: 15 hours 16 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Still Need Start

You still need Start= even with multi-exe apps. Even if Start= is the same as Start1=. This is because advanced users have the ability to set multi-exe apps to only show as one, which will only show the Start= EXE.

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

vdp
Offline
Last seen: 12 years 6 months ago
Joined: 2010-02-25 11:12
Thanks

Thank you both!

So on to another question (I hope you don't mind if I don't post another thread to keep things tidy in one place)...

I don't quite understand the use of the Help.html file.
I think most users seldom browse to the folder where this file is placed so I was thinking that it could be directly accessed from the PortableAppsMenu.
I thought that right-clicking on the PortableAppName icon would show a link to the Help.html but it doesn't. I didn't find any link through the "Help" icon on the PortableAppsMenu either.

So maybe all I really need to do is add a second item to the app list? Such as:


[Control]
Icons=2
Start=AppNamePortable.exe
Start1=AppNamePortable.exe
Name1=AppName1 Portable
Start2=Help.html
Name2=AppName1 Portable Help

Note: I did not try this yet.

John T. Haller
John T. Haller's picture
Offline
Last seen: 15 hours 16 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Help Right-Click

Help is coming in 1.6.1 and 2.0 Beta 5 as a right-click menu entry Smile

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

Log in or register to post comments