I recently downloaded Jitsi Portable from sourceforge ( http://sourceforge.net/projects/jitsiportable/ ), unzipped it, and placed it into the PortableApps directory so I can (hopefully) launch it with the PortableApps.com Menu.
The main program directory contains the following 2 files involved in launching Jitsi Portable:
jitsi-non-portable.exe
jitsi-portable.bat
The batch file contains the following 2 lines:
start jitsi-non-portable.exe --config=./data
exit
The batch file is what is used to launch Jitsi Portable, but the PortableApps Menu (by design) looks to launch the .exe file.
Is there any way (or a workaround) for getting this program launched from within the PortableApps Menu.
Thanks.
My suggestion would be to convert the batch file to an executable. The program bat2exe should do what you need. This should enable you to run it from the menu (though it will be using a local install of java, not the portable one).
Bill G.
Frozen St. Paul, MN
land of the frozen mosquito
Thanks for your suggestion, and the interesting utility.
You can also make the "portable app" portable.
[Launch]
ProgramExecutable=Jitsi\jitsi-non-portable.exe
WorkingDirectory=%PAL:AppDir%\Jitsi
CommandLineArguments='--config=./data'. ;you should point this to %PAL:DataDir%\settings\jitsi or something
;following things are just copied from an app of mine, you should read the launcher documentation if you want to use them!
LaunchAppAfterSplash=true
SingleAppInstance=true
SinglePortableAppInstance=true
DirectoryMoveOK=yes
This program won't use the portable java, instead it'll use the java included in the zip file. I guess in some subfolders there is a .jar file. You could also make it use the portable Java using the jar file, but I suggest you get this to work first.
Yes, I set the working directory!
Thanks, I'll be sure to take a look at this as well.