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
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!
Thanks!
Do you know where I can get a complete list of all the appinfo "keys" and "sections"?
In the development section, everything is detailed:
https://portableapps.com/development/portableapps.com_format
Sometimes, the impossible can become possible, if you're awesome!
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
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:
If you put "Name" or "Name1" in the Control section, it doesn't do anything.
But, if you have 2 apps:
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:
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.
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!
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.
Help is coming in 1.6.1 and 2.0 Beta 5 as a right-click menu entry
Sometimes, the impossible can become possible, if you're awesome!