You are here

Portableapps.com Launcher pkg - suppressing startup warning ??

7 posts / 0 new
Last post
softfoot
Offline
Last seen: 1 year 2 months ago
Joined: 2009-10-15 06:30
Portableapps.com Launcher pkg - suppressing startup warning ??

I wasn't sure which forum to post this in - sorry in advance if I guessed wrong.

I have a file manager and a separate editor that sit nicely under PA - but I need to be able to have the file manager launch the editor.

The problem that I have is that when I launch the editor directly from the PA menu all is well, but if I close it and then launch it from the file manager the launcher throws a warning "The path to (app name) has changed, since it was last started, from Angel to (b). ....."

The difference between the two paths Angel and (b) is that one is an "8.3" file-name/directory-name format path (with "~"s in it) and the other is an LFN format path.

Is there a way to suppress this warning in the launcher ??

I trawled through the documentation but couldn't find anything.

TIA
Bob

John T. Haller
John T. Haller's picture
Offline
Last seen: 17 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
What Editor?

What editor is giving you the problem? And why on earth would any file manager be using 8.3 paths in this day and age?

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

softfoot
Offline
Last seen: 1 year 2 months ago
Joined: 2009-10-15 06:30
It's not the Editor giving

It's not the Editor giving the trouble - it's the launcher I created with the "Launcher" app.

As for why the file manager uses the 8.3 format --- I've asked the question on their forum.

Rgds,
Dave

John T. Haller
John T. Haller's picture
Offline
Last seen: 17 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Launcher.ini

You're missing DirectoryMoveOK=yes from the [Launch] section of your AppNamePortable.ini file. That lets the launcher know that the app can properly handle a directory change. If it can also handle UNC paths, add in SupportsUNC=yes as well. These are off/warn by default to ensure that a developer/publisher has tested it before packaging.

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

softfoot
Offline
Last seen: 1 year 2 months ago
Joined: 2009-10-15 06:30
Excellent That fixed that

Excellent Smile That fixed that problem Smile

I am also specifying :

SingleAppInstance=false
SinglePortableAppInstance=false

in the launch section but it still complains if a local copy is running.
Have I got this wrong in some way ??

I want to be able to launch multiple instances, both from PA and the local disk installation.

TIA
Bob

Rgds,
Dave

John T. Haller
John T. Haller's picture
Offline
Last seen: 17 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
SingleAppInstance

SingleAppInstance=false in the Launch section should do that. What is complaining, is it the app itself?

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

softfoot
Offline
Last seen: 1 year 2 months ago
Joined: 2009-10-15 06:30
No, its the launcher --- the

No, its the launcher --- the app doesn't care.

I've tried it on a couple of apps - behaves the same Sad

Using PA 10.1.2
and MakeNSIS v2.46.5-Unicode - Copyright 1995-2009 Contributors
The launcher generator seems to be v2.2 - tho' hard to tell.

Bob

Rgds,
Dave

Log in or register to post comments