You are here

Ability to edit the path of an exe in menu entries

6 posts / 0 new
Last post
dbvl
Offline
Last seen: 4 years 1 month ago
Joined: 2013-04-27 02:16
Ability to edit the path of an exe in menu entries

My first post - hope this is the correct forum.

I want to add XMIND to the portable apps menu. This would work if I could edit the path to the Xmind exe in the menu entry. Xmind has its exe 1 directory deeper than PotableApps expects.

Is there a way to edit the menu entry so that I can change the path to the xmind.exe?

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Hi and welcome here!

According to the support page, you can add other apps top the menu. But they will only be picked up/ displayed by the menu if they are located in the right place:

X:/PortableApps/Foldername/Application.exe
where X is your drive letter.
You cant manually edit the path and make it look for the exe one folder deeper.
You can either change put the exe one folder up or create a stub launcher that will just launch your exe one folder below. For that you'd have to understand a bit how the launcher works.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Tixue
Offline
Last seen: 4 months 3 weeks ago
Joined: 2009-04-04 14:10
I don't see why that's necessary, is it? How about a visual ref:

As far as I can tell XMind shouldn't need it's exe to be a folder deeper than normal, so why does your "portable"(ish) install of XMind have "its exe 1 directory deeper"?
Could you perhaps give us a visual of (the pertinent parts of) your setup?
something like the following:

X:
+---PortableApps
--------------------------------------------------------------
 Begin Approximation of what a non-portable-app that's been
 dropped into a PortableApps Folder Structure could look like
--------------------------------------------------------------
|   +---Portable(ish)AppName
|   |   +---AreThereOtherFoldersAtThisLevel
|   |   +---WhatAreTheyCalled
|   |   +---WhateverYourOneDeeperFolderNameIs
|   |   |   |   ExecutableFile.exe
|   |   |   |   z~AreThereOtherNecessaryFilesHere.xxx
|   |   |   |   
|   |   |   +---AreThereOtherFoldersAtThisLevel
|   |   |   |   |   AreThereOtherNecessaryFilesHere.xxx
|   |   |   |   |   
|   |   |   +---WhatAreTheyCalled
|   |   |   \---z~AreTheyNecessary
|   |   \---z~AreTheOtherFoldersAtThisLevelNecessary
|   |       |   DoTheyContainNecessaryFiles.xxx
|   |       |   
---------------------------------------------------------------
 Begin Example Of Standard PortableApps.com App File Structure
---------------------------------------------------------------
|   +---AppNamePortable
|   |   |   AppNamePortable.exe
|   |   |   
|   |   +---App
|   |   |   +---AppInfo
|   |   |   |       appicon.ico
|   |   |   |       appicon_*.png
|   |   |   |       appinfo.ini
|   |   |   |       installer.ini
|   |   |   |       
|   |   |   +---DefaultData
|   |   |   \---AppName
|   |   |   |   +---AreThereOtherFoldersAtThisLevel
|   |   |   |   +---WhatAreTheyCalled
|   |   |   |   +---WhateverYourOneDeeperFolderNameIs
|   |   |   |   |   |   ExecutableFile.exe
|   |   |   |   |   |   z~AreThereOtherNecessaryFilesHere.xxx
|   |   |   |   |   |   
|   |   |   |   |   +---AreThereOtherFoldersAtThisLevel
|   |   |   |   |   |   |   AreThereOtherNecessaryFilesHere.xxx
|   |   |   |   |   |   |   
|   |   |   |   |   +---WhatAreTheyCalled
|   |   |   |   |   \---z~AreTheyNecessary
|   |   |   |   \---z~AreTheOtherFoldersAtThisLevelNecessary
|   |   |   |       |   DoTheyContainNecessaryFiles.xxx
|   |   |   |       |   
|   |   +---Data
|   |   \---Other
Mike Dee
Offline
Last seen: 9 years 6 days ago
Joined: 2014-03-23 10:54
more but one executable in directory

I tried to install sublime3 text editor portable version to the portableapp.com directory, as described. Problem is, it seems your software just takes the first available exe , which is "crash_reporter" and not sublime.exe

To specify a path to the right exe would help a lot..

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 34 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
All EXEs

It takes all EXEs that are one level in directory-wise and then you can hide the ones you don't want.

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

humbug
Offline
Last seen: 1 year 1 month ago
Joined: 2013-11-24 07:37
I had the same problem. I

I had the same problem. I have a few apps which run without installation but their *.exe is located in a subfolder like "minetest/bin/minetest.exe". So the launcher didn`t find it and added it to the launcher menu. My workaround:

- download "Bat 2 exe converter"
- create a new *.bat in the rootdirectory of your app (in my case: z:\minetest\NEWFILE.bat)
- open it with a texteditor and type "start location/of/exe" (like "start bin/minetest.exe")
- save
- open bat2execonverter
- locate your self created bat-file (if you don`t change the save-path it will take the same location like the *.bat file has)
- assigne a own icon (optional)
- compile

Now you can add the new created *.exe via "renew/reload symbols" (don`t know how it is called in the english version of the launcher, i use the german one) to the menu.
Like that, you can now add all *.exe to your menu, no matter how much subfolders there are.

Log in or register to post comments