Bypassing user data migration

2014-11-20 Thread Hung Mark
Hi ,

Sorry for asking this question on developer list. But I don't know better
places for seeking help.

For some reason , we have  many installation with user data from OOo 3.3.
There user data contain script files not install properly so that after
migration an error message pop up every time opening application. I want to
skip user data migration for large scale deployment. (Otherwise have to
write script to touch MIGRATED4 on every computer. )

I tried methods below, neither work. Can anyone suggest?

1)
https://wiki.openoffice.org/wiki/Documentation/Administration_Guide/Deactivating_Registration_Wizard
2)
?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=Office
  prop oor:name=MigrationCompleted oor:type=xs:boolean
   valuetrue/value
  /prop
 /node
/oor:component-data


-- 
Mark Hung
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Bypassing user data migration

2014-11-20 Thread Stephan Bergmann

On 11/20/2014 03:05 PM, Hung Mark wrote:

1)
https://wiki.openoffice.org/wiki/Documentation/Administration_Guide/Deactivating_Registration_Wizard


That registration wizard is dead and gone from LO anyway.


2)
?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=Office
   prop oor:name=MigrationCompleted oor:type=xs:boolean
valuetrue/value
   /prop
  /node
/oor:component-data


What works fine for me is to add a share/registry/nomigrate.xcd into the 
LO installation containing



?xml version=1.0?
oor:data xmlns:xs=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:oor=http://openoffice.org/2001/registry;
  dependency file=main/
  oor:component-data xmlns:install=http://openoffice.org/2004/installation; 
oor:name=Setup oor:package=org.openoffice
node oor:name=Office
  prop oor:name=MigrationCompleted oor:op=fuse
valuetrue/value
  /prop
/node
  /oor:component-data
/oor:data

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice