You are here

Adding program to menu in suite

3 posts / 0 new
Last post
donmor
Offline
Last seen: 10 years 6 months ago
Joined: 2007-02-01 16:27
Adding program to menu in suite

After running OpenOffice in the Suite, It gives me a file called OpenOffice.exe
I would like to use that file in the menu in place of the OpenOffice.org Write, Calc, Math etc. I prefer to have the main page come up and go from there as to have to choose write, math, calc etc.
Can anyone guide me as to how to do this.
Thanks
Don

[Moved to PortableApps Menu forum by moderator JTH]

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 37 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
You can't right now

At least not officially. Unofficially... delete the other launchers (OpenOfficePortableWrite.exe, etc) in the OpenOfficePortable directory except for the OpenOfficePortable.exe launcher. Then rename OpenOfficePortable.exe to OpenOfficePortable2.exe. It's a temporary hack.

A later release of the menu will allow you to select whether you want a single icon or multiple icons for apps like OOP.

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

ewookie
Offline
Last seen: 13 years 8 months ago
Joined: 2007-02-06 17:59
Another solution

i couldn't get the above hack to work. it looks as though PAM reads the 'friendlyname' from the launchers and disreguards one that has 'OpenOffice.org Portable' as the friendly name. Here's the solution i came up with:

1. Opened \PortableApps\OpenOfficePortable\Other\OpenOfficePortableSource\OpenOfficePortableApp.nsi

2. Change the following section of code:
ORIGINAL
!define NAME "OpenOfficeBasePortable"
!define FRIENDLYNAME "OpenOffice.org Base Portable"
!define APP "OpenOfficeBase"
!define VER "1.2.1.0"
!define WEBSITE "PortableApps.com/OpenOfficePortable"
!define EXECTHIS "OpenOfficePortable.exe -base"

MODIFIED
!define NAME "OpenOfficeBasePortable"
!define FRIENDLYNAME "OpenOffice.org  Portable"
!define APP "OpenOffice"
!define VER "1.2.1.0"
!define WEBSITE "PortableApps.com/OpenOfficePortable"
!define EXECTHIS "OpenOfficePortable.exe"

(Note the extra space between OpenOffice.org and Portable in the friendlyname)

3. Saved as MyOpenOfficePortableApp.nsi
4. Compiled with NSIS
5. Renamed the resulting OpenOfficeBasePortable.exe to OpenOfficePortable2.exe
6. Moved it to \PortableApps\OpenOfficePortable\

Topic locked