Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

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

jetjayjay - June 30, 2009 - 9:34am

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?


( categories: )

Why??

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

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

Ed

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.

Make an NSIS launcher

Make an NSIS launcher

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.

EXIT

start bin\program.exe
exit

Ed

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)