You are here

Adding an App to the Menu from a Directory Inside a PortableApps Sub-Directory

7 posts / 0 new
Last post
jetjayjay
Offline
Last seen: 14 years 9 months ago
Joined: 2009-06-30 10:14
Adding an App to the Menu from a Directory Inside a PortableApps Sub-Directory

I have a .exe app that I want to add to the PortableApps menu. The .exe file, though, is in a sub-directory of the program's folder in the PortableApps folder, i.e.
F:\PortableApps\ProgramNamePortable\bin\
The .exe absolutely must be located in the bin directory. I have tried adding a shortcut like this:
F:\PortableApps\ProgramNamePortable\ProgramsShortcut.lnk
but the PortableApps menu won't add the shortcut.

Is there any way at all to add the program to the menu? (The program is SharpDevelop, in case that helps.) Perhaps have a batch file run the program from its parent directory?

Ed_P
Offline
Last seen: 5 years 5 months ago
Joined: 2007-02-19 09:09
Why??

The .exe absolutely must be located in the bin directory.

Why?? I've never found that to be required of any .exe.

Ed

jetjayjay
Offline
Last seen: 14 years 9 months ago
Joined: 2009-06-30 10:14
Sorry if I miss-worded that a

Sorry if I miss-worded that a little. What I meant is that the .exe must be left in the same relative directory to the other folders, i.e. Settings and other folders. I know that I could extract the contents of
F:\PortableApps\ProgramNamePortable\
completely so that
F:\PortableApps\ProgramNamePortable\bin\
will instead be like this:
F:\PortableApps\bin\
but I'd prefer to use a more elegant solution that doesn't clutter up the PortableApps directory.

jnw222
Offline
Last seen: 11 years 11 months ago
Joined: 2009-05-30 11:10
Make an NSIS launcher

Make an NSIS launcher

jetjayjay
Offline
Last seen: 14 years 9 months ago
Joined: 2009-06-30 10:14
I don't know how to do that,

I don't know how to do that, but instead I think I'll just have a batch file like this:
bin\program.exe
Incidentally, does anyone know how to have the command prompt close after execution? I've searched but I can't seem to find a solution.

Ed_P
Offline
Last seen: 5 years 5 months ago
Joined: 2007-02-19 09:09
EXIT

start bin\program.exe
exit

Ed

SmithTech
SmithTech's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-11-24 18:06
Future Option

I believe the option is planned for a future version of the portableapps menu.
For now you can give my menu a try.
SmithTech Portable Menu
You can add a shortcut to any file on your usb drive.

"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)

Log in or register to post comments