OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

deploy OOo2 w/o registration for users
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
jm43349
Newbie
Newbie


Joined: 04 Oct 2005
Posts: 2
Location: Cincinnati, OH. USA

PostPosted: Tue Oct 04, 2005 10:16 am    Post subject: deploy OOo2 w/o registration for users Reply with quote

First of all I'm not deploying this till the official 2.0 release. Deploying betas to people other than testers is stupid in my book.

Any hoot, WHEN this OOo2 is official, I'm looking to deploy it via Novell's ZenWorks, which is not hard w/ the .msi. I create a .mst response file and everything installs fine. However I don't have any good way to skip the registration part. I don't mind the service licensing agreement and entering the users name and all, but I don't want someone to get confused on the registration part. Is there some way to get past that?

I did fine the {AppDataFolder}\OpenOffice.org2\user\registry\dataorg\openoffice folder that apparently tells OOo2 that the user has registered and has given there user name, and so on. I included that folder w/ contents into the .mst file and now after the app installs, the app just runs. However this means when the user creates a file, the "created by" will be "user" (the setting in the UserProfile.xcu file). I suppose this will work, but I just wanted to see if there was anyone who knew of a way around the registration window.

Thanks,
Jon
Back to top
View user's profile Send private message
9point9
Moderator
Moderator


Joined: 31 Aug 2004
Posts: 3875
Location: UK

PostPosted: Tue Oct 04, 2005 10:24 am    Post subject: Re: deploy OOo2 w/o registration for users Reply with quote

jm43349 wrote:
Deploying betas to people other than testers is stupid in my book.

Well at least there's someone who thinks like this. You are right.

jm43349 wrote:
Any hoot WHEN this OOo2 is official

Could be as early as next Thursday (2005-10-13) if RC2 is OK.

As for deploying, no idea about Novell things but the registration process is caused by not detecting the user settings directory. If you copy this directory to all users profiles then the registration procedure would not have to happen.
_________________
Arch Linux
OOo 3.2.0

OOoSVN, change control for OOo documents:
http://sourceforge.net/projects/ooosvn/
Back to top
View user's profile Send private message Visit poster's website
jm43349
Newbie
Newbie


Joined: 04 Oct 2005
Posts: 2
Location: Cincinnati, OH. USA

PostPosted: Tue Oct 04, 2005 10:38 am    Post subject: Reply with quote

That is what I thought the answer would be. I shouldn't have enven menchioned the Novell part. Just think of using the command line and installing the msi w/ a mst transform. It's all doing the same thing.

Like I said before, that is what I'm doing in the MST. putting the files in the users Application Data folder. But the user name will be "user". Is there a profile editor that the user can edit this w/o editing the xml in the UserProfile.xcu file?
Back to top
View user's profile Send private message
AndrewZ
Moderator
Moderator


Joined: 21 Jun 2004
Posts: 4140
Location: Colorado, USA

PostPosted: Tue Oct 04, 2005 1:07 pm    Post subject: Reply with quote

This was in a recent discussion.

http://www.oooforum.org/forum/viewtopic.phtml?t=24339&highlight=

There is a proper way to disable registration, but it's broken.
Back to top
View user's profile Send private message Visit poster's website
Tama
Newbie
Newbie


Joined: 02 Oct 2005
Posts: 1

PostPosted: Tue Oct 04, 2005 1:57 pm    Post subject: Reply with quote

Hi,

I'm having the same problem. I've tried the suggested steps in the links above, but it didn't do anything to remove the registration. I'm just wondering if anything has been done to this "bug" (if it is a bug after all) Confused
Back to top
View user's profile Send private message
AndrewZ
Moderator
Moderator


Joined: 21 Jun 2004
Posts: 4140
Location: Colorado, USA

PostPosted: Tue Oct 04, 2005 2:08 pm    Post subject: Reply with quote

Tama,

The nice thing about open source software, and OpenOffice.org in particular, is that development is very transparent. You see the bug's progress, vote for it to be fixed, or subscribe to get updates (the subscription is called a CC list).

Below is the address for the registration problem. It was filed only very recently, so not much as happened yet.

http://www.openoffice.org/issues/show_bug.cgi?id=55336
Back to top
View user's profile Send private message Visit poster's website
AndrewZ
Moderator
Moderator


Joined: 21 Jun 2004
Posts: 4140
Location: Colorado, USA

PostPosted: Tue Nov 15, 2005 4:34 pm    Post subject: Reply with quote

The solution by thomasp works for me. It disables the whole welcome/license/registration dialog.
http://www.oooforum.org/forum/viewtopic.phtml?p=100545

I edited C:\Program Files\OpenOffice.org 2.0\share\registry\data\org\openoffice\setup.xcu just replaced the subnodes of the node called Office. (It may work with fewer changes than what I made.) I am posting the whole file here with the changes noted as XML comments.

Code:

<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Setup" oor:package="org.openoffice">
  <node oor:name="L10N">
    <prop oor:name="ooLocale" oor:type="xs:string">
      <value>cs</value>
    </prop>
  </node>
  <node oor:name="Office">
<!-- disable new user welcome/license/registration starts here -->
    <prop oor:name="ooSetupInstCompleted" oor:type="xs:boolean">
      <value>true</value>
    </prop>
    <prop oor:name="LicenseAcceptDate" oor:type="xs:string">
      <value>2005-10-17T12:36:36</value>
    </prop>
    <prop oor:name="FirstStartWizardCompleted" oor:type="xs:boolean">
      <value>true</value>
    </prop>
<!-- disable new user welcome/license/registration end here -->
    <node oor:name="Factories">
      <node oor:name="com.sun.star.text.TextDocument">
        <prop oor:name="ooSetupFactoryWindowAttributes" oor:type="xs:string">
          <value>48,67,760,492;4;0,0,0,0;</value>
        </prop>
        <prop oor:name="ooSetupFactoryDefaultFilter" oor:type="xs:string">
          <value>MS Word 97</value>
        </prop>
      </node>
      <node oor:name="com.sun.star.sheet.SpreadsheetDocument">
        <prop oor:name="ooSetupFactoryWindowAttributes" oor:type="xs:string">
          <value>48,67,760,509;4;0,0,0,0;</value>
        </prop>
        <prop oor:name="ooSetupFactoryDefaultFilter" oor:type="xs:string">
          <value>MS Excel 97</value>
        </prop>
      </node>
      <node oor:name="com.sun.star.presentation.PresentationDocument">
        <prop oor:name="ooSetupFactoryDefaultFilter" oor:type="xs:string">
          <value>MS PowerPoint 97</value>
        </prop>
      </node>
    </node>
  </node>
</oor:component-data>


Last edited by AndrewZ on Fri Nov 18, 2005 6:42 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
JENeels
General User
General User


Joined: 28 Sep 2005
Posts: 6

PostPosted: Fri Nov 18, 2005 6:31 am    Post subject: Disabling registration requirement. Reply with quote

This worked for me after I registered the first time, it did not require subsequent users to register. Thanks AHZ for your persistence.
Back to top
View user's profile Send private message Send e-mail
anywho
Newbie
Newbie


Joined: 13 Jul 2006
Posts: 4

PostPosted: Mon Jul 17, 2006 8:43 am    Post subject: Reply with quote

Thanks for this, ahz.

I got it working, but had to use a time and date from a user profile that had already registered (not sure if that made a difference) and I couldn't include the "L10N" node - OpenOffice.org would error out at startup. (And yes, I did change its value to "en-US" for my locale.)

Once I removed it and used the values from a user's Application Data OO.o profile, it worked for me on other user accounts. (Still can't get it to work right for a web server / system account, though.)
Back to top
View user's profile Send private message
thomasp
General User
General User


Joined: 23 Oct 2005
Posts: 11

PostPosted: Thu Sep 07, 2006 5:17 am    Post subject: almost ok. Reply with quote

Hi
I don't have to register anymore, but now I cannot make Diagrams in CALC???
Why does this happen? I am not good at xml, so I would be glad if anyone could find the reason in the above xml-file.

thanks in advance
Thomas
Back to top
View user's profile Send private message
AndrewZ
Moderator
Moderator


Joined: 21 Jun 2004
Posts: 4140
Location: Colorado, USA

PostPosted: Mon Oct 23, 2006 6:54 am    Post subject: Reply with quote

Since 2.0.4, there is a command line option to disable the first start wizard:
http://qa.openoffice.org/issues/show_bug.cgi?id=64615
Back to top
View user's profile Send private message Visit poster's website
MerlinT
General User
General User


Joined: 08 Mar 2006
Posts: 10
Location: Johannesburg, South Africa

PostPosted: Thu Oct 26, 2006 1:36 am    Post subject: Reply with quote

Hi Ahz, what is the full command line installation procedure using '-nofirststartwizard'? Am upgrading from 2.0.3 to 2.0.4 on Win2k3 TS for 45 users - this would be a great help.
_________________
Many thanks,
John (merlin) (newbie)
Back to top
View user's profile Send private message
AndrewZ
Moderator
Moderator


Joined: 21 Jun 2004
Posts: 4140
Location: Colorado, USA

PostPosted: Thu Oct 26, 2006 9:01 am    Post subject: Reply with quote

Hi John,

Sorry I was vague. The -nofirststartwizard option not intended for the installer. Rather, it is intended for starting the OOo application, so add -nofirststartwizard to your shortcuts (aka launchers) and file associations. I gave it a quick try, and it seems to work as advertised.

It is interesting, though, that if you first use -nofirststartwizard and later don't, then later you will get the wizard, so be sure to be consistent.
Back to top
View user's profile Send private message Visit poster's website
MerlinT
General User
General User


Joined: 08 Mar 2006
Posts: 10
Location: Johannesburg, South Africa

PostPosted: Thu Oct 26, 2006 11:40 pm    Post subject: Reply with quote

Hi Ahz, tks for that, yes I thought as much and did try that yesterday as follows: Start/Run "C:\Program Files\OpenOffice.org 2.0\program\soffice.exe -nofirststartwizard" - also in the shortcut, and get "Windows cannot find "c:\Program Files\ etc etc..." . Make sure you typed the name correctly then try again." ! Perhaps my download doesn't include this if its that new. ? Or am i missing something?
_________________
Many thanks,
John (merlin) (newbie)
Back to top
View user's profile Send private message
AndrewZ
Moderator
Moderator


Joined: 21 Jun 2004
Posts: 4140
Location: Colorado, USA

PostPosted: Fri Oct 27, 2006 6:16 am    Post subject: Reply with quote

MerlinT wrote:
Hi Ahz, tks for that, yes I thought as much and did try that yesterday as follows: Start/Run "C:\Program Files\OpenOffice.org 2.0\program\soffice.exe -nofirststartwizard" - also in the shortcut, and get "Windows cannot find "c:\Program Files\ etc etc..." . Make sure you typed the name correctly then try again." ! Perhaps my download doesn't include this if its that new. ? Or am i missing something?


1. Start
2. Run
3. "c:\program files\openoffice.org 2.0\program\soffice.exe" -nofirststartwizard

Notice the quotation marks start before .exe and end after .exe. The program name is not new, but the command line option is new since 2.0.4.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting All times are GMT - 8 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group