Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Install of dmath for all users
Install of dmath for all users
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
oihenart
Keymaker


Joined: Apr 26, 2004
Posts: 81

PostPosted: Tue Apr 22, 2008 6:14 am    Post subject: Install of dmath for all users

Hello,

I have installed Dmaths but this extension was installed in My Extension. Does somebody knows how to install it for all users ?
Thanks

Christian Wink
Back to top
Jim
Councilperson


Joined: Jun 21, 2003
Posts: 173
Location: Selmer, Tennessee

PostPosted: Tue Apr 22, 2008 9:19 am    Post subject:

I installed it, but it doesn't seem to present any new toolbars or offer different functionality.

According to the Dmaths installation document, you have to choose network installation (as opposed to individual installation) when you install.

Note: I had to do a network installation to get it to work in Neo. This is a really good add-on if you work with formulas even a little.

_________________
Jim Plante
MacOS X 10.6.34, MacBook 2GHz C2Duo, 2gb, Neo 3.1.1 p 1


Last edited by Jim on Tue Apr 22, 2008 9:32 am; edited 1 time in total
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Apr 22, 2008 9:27 am    Post subject:

If you want all users of a single NeoOffice installation to have access to an extension, you need to use the following commands in a Terminal:

Code:
cd /Applications/NeoOffice.app/Contents/MacOS
sudo ./unopkg.bin add --shared /path/to/the/extension


Note that since you must use the "sudo" command to execute ./unpkg.bin, you are running as root so you need to make sure that no one is running NeoOffice while you do this.

Patrick
Back to top
oihenart
Keymaker


Joined: Apr 26, 2004
Posts: 81

PostPosted: Wed Apr 23, 2008 5:51 am    Post subject:

Hi,

Thanks Patrick for your answer.

I have understood the idea, but i don't kow how to do it. I install via NeoOffice the DmathsAddon.oxt extension. NeoOffice allow me to do it in "My Extension". But the problem is : What's the path to this extension, how to find this information ?

Sorry if the answer is trivial, but i haven't found it.

Thanks

Christian Wink
Back to top
jgd
Agent Smith


Joined: Feb 27, 2005
Posts: 1531
Location: France

PostPosted: Wed Apr 23, 2008 6:25 am    Post subject:

In the Terminal window, enter
Code:
 cd /Applications/NeoOffice.app/Contents/MacOS
sudo ./unopkg.bin add --shared
then let a space after shared and drag the DmathsAddon.oxt file on the Terminal window. The correct path will appear after shared. Press Return.

I tried it and it works.

Jacqueline
Back to top
Samwise
Captain Naiobi


Joined: Apr 25, 2006
Posts: 2315
Location: Montpellier, France

PostPosted: Wed Apr 23, 2008 7:11 am    Post subject:

Note that while NeoOffice 2.2 and OOo 2.2 have the same problem (not possible to add a shared extension in "OpenOffice.org Extensions" from the Extension Manager), this seems to be a bug.

Since it has been fixed in OOo 2.4 and 3.0, adding shared extensions from the Extension Manager will be possible in NeoOffice 3.0 Early Access and later.
Back to top
oihenart
Keymaker


Joined: Apr 26, 2004
Posts: 81

PostPosted: Wed Apr 23, 2008 1:03 pm    Post subject:

jgd wrote:
In the Terminal window, enter
Code:
 cd /Applications/NeoOffice.app/Contents/MacOS
sudo ./unopkg.bin add --shared
then let a space after shared and drag the DmathsAddon.oxt file on the Terminal window. The correct path will appear after shared. Press Return.


Does it mean Jacqueline that you don't install the extension via the menu Tools, but you install it by the command in terminal ?

Christian Wink
Back to top
Samwise
Captain Naiobi


Joined: Apr 25, 2006
Posts: 2315
Location: Montpellier, France

PostPosted: Wed Apr 23, 2008 1:13 pm    Post subject:

Yes. That's pretty obvious.

As for not being able to install shared extensions from the Extension Manager, this bug has been fixed in OOo 2.4 (maybe 2.3) and the fix will be included in NeoOffice 3.0.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Apr 23, 2008 2:24 pm    Post subject:

Samwise wrote:
As for not being able to install shared extensions from the Extension Manager, this bug has been fixed in OOo 2.4 (maybe 2.3) and the fix will be included in NeoOffice 3.0.


Are you sure about this? In order for this to work, all users must have write privileges to the shared UNO folder in the installation. This works fine when you drag-and-drop an OOo installation and you own all of the files in the installation. However, since NeoOffice was designed for multi-user installations, only users with admin privileges on their machine will have this functionality in NeoOffice 3.0.

Patrick
Back to top
Samwise
Captain Naiobi


Joined: Apr 25, 2006
Posts: 2315
Location: Montpellier, France

PostPosted: Wed Apr 23, 2008 3:11 pm    Post subject:

You may be right. However, under an admin account, it is not possible to install shared extensions ("OpenOffice.org Extensions" or "NeoOffice Extensions") with Neo 2.2.x or OOo/X11 2.2.1. It is possible in OOo/X11 2.4 and in the latest 3.0.0 Aqua build for PPC.
Back to top
oihenart
Keymaker


Joined: Apr 26, 2004
Posts: 81

PostPosted: Thu Apr 24, 2008 1:16 am    Post subject:

Samwise wrote:
Yes. That's pretty obvious.


obvious, obvious... Shocked Very Happy I was thinking that i could install the extension from the Extension Manager and apply after the command via terminal.

Thanks for all answers

Christian Wink
Back to top
oihenart
Keymaker


Joined: Apr 26, 2004
Posts: 81

PostPosted: Thu May 22, 2008 7:09 am    Post subject:

I have always a problem with this command. I have tried to install Dmaths for an admin user and one student user. I open terminal in admin session, type :
Code:
cd /Applications/NeoOffice.app/Contents/MacOS
sudo ./unopkg.bin add
and drag the DmathAddon.oxt. Everything fine in admin session, but when i logg in student user, Dmaths isn't installed.
Any idea ?

Thanks

Christian Wink
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu May 22, 2008 9:02 am    Post subject:

oihenart wrote:
I have always a problem with this command. I have tried to install Dmaths for an admin user and one student user. I open terminal in admin session, type :
Code:
cd /Applications/NeoOffice.app/Contents/MacOS
sudo ./unopkg.bin add
and drag the DmathAddon.oxt. Everything fine in admin session, but when i logg in student user, Dmaths isn't installed.
Any idea ?


You are using the incorrect options for the unopkg.bin command and are only installing it in My Extensions for yourself. To install it for all users, you need to use the "add --shared" options instead of just "add" exactly like in jgd's instructions. You deleted the "--shared" option and that is the critical option.

Patrick
Back to top
oihenart
Keymaker


Joined: Apr 26, 2004
Posts: 81

PostPosted: Thu May 22, 2008 11:07 am    Post subject:

Oups !

OK, i see the mistake.

Thanks again for your quick support.

Christian Wink

Just an other question, if I want to delete this addon, can i use the command menu, or do i have to use the terminal ?
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu May 22, 2008 11:11 am    Post subject:

oihenart wrote:
Just an other question, if I want to delete this addon, can i use the command menu, or do i have to use the terminal ?


For packages installed using unopkg.bin's "add --shared" options, you need to rerun unopkg.bin using the following syntax:

Code:
cd /Applications/NeoOffice.app/Contents/MacOS
sudo ./unopkg.bin remove --shared DmathAddon.oxt


Important note: when using the above "remove" option, don't drag DmathAddon.oxt from the Finder as this option requires that you only use the name of the .oxt file with no folder.

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.