You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Riccardo Arzenton <ri...@yacme.com> on 2013/10/28 10:30:54 UTC

Problem with automatized profile import OO4

Hi to all,

how can i force OO4 to try to restore the previous user profile after the installation runned by a user script?

I want to
1. Install OO4
2. Install some extensions that affect the user profile (the user doesn't have to configure anything)
3. If there is an old OO34 user profile, import that one.

The point 1 and 2 are ok.

How can I resolve the number 3?
There is an OO4 command line that i can launch saying to OO4 "import the previous profile without asking anything, and if you don't find it, simply do nothing"?



Thanks to all!

-- 
Riccardo Arzenton
YACME S.r.l. (http://www.yacme.com)
Via Majani 2 - 40122 Bologna
Tel: +39 051 19985458

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Problem with automatized profile import OO4

Posted by Riccardo Arzenton <ri...@yacme.com>.
uhm... i have take a look to the code... but it's a bit out of my competence...
If somebody know how to run this migration in silent mode i'll be grateful!

-- 
Riccardo Arzenton
YACME S.r.l. (http://www.yacme.com)
Via Majani 2 - 40122 Bologna
Tel: +39 051 19985458

----- Messaggio originale -----
Da: "Oliver-Rainer Wittmann" <or...@googlemail.com>
A: dev@openoffice.apache.org
Inviato: Lunedì, 11 novembre 2013 10:03:46
Oggetto: Re: Problem with automatized profile import OO4

Hi,

On 07.11.2013 15:48, Riccardo Arzenton wrote:
>
>
> And what if i want to run this import in a silent mode to the user?
> Something like... import the profile that you find and if you don't find anything just do nothing.
> ??

Somehow back to your original question.

As far as I know I the user profile migration is only triggered in 
interactive mode from the FirstStartWizard. May be you should have a 
closer to the code - e.g. main/desktop/source/migration/* - in order to 
check, if the user profile migration can be performed in silent mode.


Best regards, Oliver.

>
>> Hi,
>>
>>> And in your opinion there is no way to re-run this import in a second
>>> time?
>>>
>>
>> It is recorded that the FirstStartWizard has been perform. This is
>> stored in a corresponding setting value in the user profile.
>> I am not sure, if the run of the user profile migration (as a sub action
>> of the FirstStartWizard) is also recorded.
>>
>> Let me check, the code and the user profile for the corresponding
>> setting - stay tuned.
>>
>
> For the FirstStartWizard there is option "FirstStartWizardCompleted" -
> have a look into file "registrymodifications.xcu" found in the user
> profile. Set its value to 'false' and on the next start of OpenOffice
> the FirstStartWizard will show up again.
> When the user profile migration has been executed option
> "MigrationCompleted" records it - also found in the above mentioned user
> profile file. Thus, you need to set it to 'false' to enable the user to
> run the migration during the FirstStartWizard.
>
>
> Best regards, Oliver.
>
>
>>
>> Best regards, Oliver.
>>
>>> -- Riccardo Arzenton YACME S.r.l. (http://www.yacme.com) Via Majani 2
>>> - 40122 Bologna Tel: +39 051 19985458 ----- Messaggio originale -----
>>> Da: "Oliver-Rainer Wittmann" <or...@googlemail.com> A:
>>> dev@openoffice.apache.org Inviato: Lunedì, 4 novembre 2013 10:11:19
>>> Oggetto: Re: Problem with automatized profile import OO4 Hi, On
>>> 28.10.2013 10:30, Riccardo Arzenton wrote:
>>>> Hi to all,
>>>>
>>>> how can i force OO4 to try to restore the previous user profile
>>>> after the installation runned by a user script?
>>>>
>>>> I want to 1. Install OO4 2. Install some extensions that affect
>>>> the user profile (the user doesn't have to configure anything) 3.
>>>> If there is an old OO34 user profile, import that one.
>>>>
>>>> The point 1 and 2 are ok.
>>>>
>>>> How can I resolve the number 3? There is an OO4 command line that
>>>> i can launch saying to OO4 "import the previous profile without
>>>> asking anything, and if you don't find it, simply do nothing"?
>>>>
>>>>
>>>
>>> Here is what I know about the migration of a user profile from a
>>> previous major version: - The migration is part of the
>>> 'FirstStartWizard' which runs on the first start of an OpenOffice
>>> instance. - The migration code is part of the module 'desktop' which
>>> is integrated into the OpenOffice application. Thus, no standalone
>>> code available as far as I know. - I did not know any command line
>>> option for OpenOffice application to run only this function.
>>>
>>>
>>> Best regards, Oliver.
>>>
>>>>
>>>> Thanks to all!
>>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Problem with automatized profile import OO4

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 07.11.2013 15:48, Riccardo Arzenton wrote:
>
>
> And what if i want to run this import in a silent mode to the user?
> Something like... import the profile that you find and if you don't find anything just do nothing.
> ??

Somehow back to your original question.

As far as I know I the user profile migration is only triggered in 
interactive mode from the FirstStartWizard. May be you should have a 
closer to the code - e.g. main/desktop/source/migration/* - in order to 
check, if the user profile migration can be performed in silent mode.


Best regards, Oliver.

>
>> Hi,
>>
>>> And in your opinion there is no way to re-run this import in a second
>>> time?
>>>
>>
>> It is recorded that the FirstStartWizard has been perform. This is
>> stored in a corresponding setting value in the user profile.
>> I am not sure, if the run of the user profile migration (as a sub action
>> of the FirstStartWizard) is also recorded.
>>
>> Let me check, the code and the user profile for the corresponding
>> setting - stay tuned.
>>
>
> For the FirstStartWizard there is option "FirstStartWizardCompleted" -
> have a look into file "registrymodifications.xcu" found in the user
> profile. Set its value to 'false' and on the next start of OpenOffice
> the FirstStartWizard will show up again.
> When the user profile migration has been executed option
> "MigrationCompleted" records it - also found in the above mentioned user
> profile file. Thus, you need to set it to 'false' to enable the user to
> run the migration during the FirstStartWizard.
>
>
> Best regards, Oliver.
>
>
>>
>> Best regards, Oliver.
>>
>>> -- Riccardo Arzenton YACME S.r.l. (http://www.yacme.com) Via Majani 2
>>> - 40122 Bologna Tel: +39 051 19985458 ----- Messaggio originale -----
>>> Da: "Oliver-Rainer Wittmann" <or...@googlemail.com> A:
>>> dev@openoffice.apache.org Inviato: Lunedì, 4 novembre 2013 10:11:19
>>> Oggetto: Re: Problem with automatized profile import OO4 Hi, On
>>> 28.10.2013 10:30, Riccardo Arzenton wrote:
>>>> Hi to all,
>>>>
>>>> how can i force OO4 to try to restore the previous user profile
>>>> after the installation runned by a user script?
>>>>
>>>> I want to 1. Install OO4 2. Install some extensions that affect
>>>> the user profile (the user doesn't have to configure anything) 3.
>>>> If there is an old OO34 user profile, import that one.
>>>>
>>>> The point 1 and 2 are ok.
>>>>
>>>> How can I resolve the number 3? There is an OO4 command line that
>>>> i can launch saying to OO4 "import the previous profile without
>>>> asking anything, and if you don't find it, simply do nothing"?
>>>>
>>>>
>>>
>>> Here is what I know about the migration of a user profile from a
>>> previous major version: - The migration is part of the
>>> 'FirstStartWizard' which runs on the first start of an OpenOffice
>>> instance. - The migration code is part of the module 'desktop' which
>>> is integrated into the OpenOffice application. Thus, no standalone
>>> code available as far as I know. - I did not know any command line
>>> option for OpenOffice application to run only this function.
>>>
>>>
>>> Best regards, Oliver.
>>>
>>>>
>>>> Thanks to all!
>>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Problem with automatized profile import OO4

Posted by Riccardo Arzenton <ri...@yacme.com>.
And what if i want to run this import in a silent mode to the user?
Something like... import the profile that you find and if you don't find anything just do nothing.
??

-- 
Riccardo Arzenton
YACME S.r.l. (http://www.yacme.com)
Via Majani 2 - 40122 Bologna
Tel: +39 051 19985458

----- Messaggio originale -----
Da: "Oliver-Rainer Wittmann" <or...@googlemail.com>
A: dev@openoffice.apache.org
Inviato: Giovedì, 7 novembre 2013 13:57:29
Oggetto: Re: Problem with automatized profile import OO4

Hi,

On 07.11.2013 13:12, Oliver-Rainer Wittmann wrote:
> Hi,
>
>> And in your opinion there is no way to re-run this import in a second
>> time?
>>
>
> It is recorded that the FirstStartWizard has been perform. This is
> stored in a corresponding setting value in the user profile.
> I am not sure, if the run of the user profile migration (as a sub action
> of the FirstStartWizard) is also recorded.
>
> Let me check, the code and the user profile for the corresponding
> setting - stay tuned.
>

For the FirstStartWizard there is option "FirstStartWizardCompleted" - 
have a look into file "registrymodifications.xcu" found in the user 
profile. Set its value to 'false' and on the next start of OpenOffice 
the FirstStartWizard will show up again.
When the user profile migration has been executed option 
"MigrationCompleted" records it - also found in the above mentioned user 
profile file. Thus, you need to set it to 'false' to enable the user to 
run the migration during the FirstStartWizard.


Best regards, Oliver.


>
> Best regards, Oliver.
>
>> -- Riccardo Arzenton YACME S.r.l. (http://www.yacme.com) Via Majani 2
>> - 40122 Bologna Tel: +39 051 19985458 ----- Messaggio originale -----
>> Da: "Oliver-Rainer Wittmann" <or...@googlemail.com> A:
>> dev@openoffice.apache.org Inviato: Lunedì, 4 novembre 2013 10:11:19
>> Oggetto: Re: Problem with automatized profile import OO4 Hi, On
>> 28.10.2013 10:30, Riccardo Arzenton wrote:
>>> Hi to all,
>>>
>>> how can i force OO4 to try to restore the previous user profile
>>> after the installation runned by a user script?
>>>
>>> I want to 1. Install OO4 2. Install some extensions that affect
>>> the user profile (the user doesn't have to configure anything) 3.
>>> If there is an old OO34 user profile, import that one.
>>>
>>> The point 1 and 2 are ok.
>>>
>>> How can I resolve the number 3? There is an OO4 command line that
>>> i can launch saying to OO4 "import the previous profile without
>>> asking anything, and if you don't find it, simply do nothing"?
>>>
>>>
>>
>> Here is what I know about the migration of a user profile from a
>> previous major version: - The migration is part of the
>> 'FirstStartWizard' which runs on the first start of an OpenOffice
>> instance. - The migration code is part of the module 'desktop' which
>> is integrated into the OpenOffice application. Thus, no standalone
>> code available as far as I know. - I did not know any command line
>> option for OpenOffice application to run only this function.
>>
>>
>> Best regards, Oliver.
>>
>>>
>>> Thanks to all!
>>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Problem with automatized profile import OO4

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 07.11.2013 13:12, Oliver-Rainer Wittmann wrote:
> Hi,
>
>> And in your opinion there is no way to re-run this import in a second
>> time?
>>
>
> It is recorded that the FirstStartWizard has been perform. This is
> stored in a corresponding setting value in the user profile.
> I am not sure, if the run of the user profile migration (as a sub action
> of the FirstStartWizard) is also recorded.
>
> Let me check, the code and the user profile for the corresponding
> setting - stay tuned.
>

For the FirstStartWizard there is option "FirstStartWizardCompleted" - 
have a look into file "registrymodifications.xcu" found in the user 
profile. Set its value to 'false' and on the next start of OpenOffice 
the FirstStartWizard will show up again.
When the user profile migration has been executed option 
"MigrationCompleted" records it - also found in the above mentioned user 
profile file. Thus, you need to set it to 'false' to enable the user to 
run the migration during the FirstStartWizard.


Best regards, Oliver.


>
> Best regards, Oliver.
>
>> -- Riccardo Arzenton YACME S.r.l. (http://www.yacme.com) Via Majani 2
>> - 40122 Bologna Tel: +39 051 19985458 ----- Messaggio originale -----
>> Da: "Oliver-Rainer Wittmann" <or...@googlemail.com> A:
>> dev@openoffice.apache.org Inviato: Lunedì, 4 novembre 2013 10:11:19
>> Oggetto: Re: Problem with automatized profile import OO4 Hi, On
>> 28.10.2013 10:30, Riccardo Arzenton wrote:
>>> Hi to all,
>>>
>>> how can i force OO4 to try to restore the previous user profile
>>> after the installation runned by a user script?
>>>
>>> I want to 1. Install OO4 2. Install some extensions that affect
>>> the user profile (the user doesn't have to configure anything) 3.
>>> If there is an old OO34 user profile, import that one.
>>>
>>> The point 1 and 2 are ok.
>>>
>>> How can I resolve the number 3? There is an OO4 command line that
>>> i can launch saying to OO4 "import the previous profile without
>>> asking anything, and if you don't find it, simply do nothing"?
>>>
>>>
>>
>> Here is what I know about the migration of a user profile from a
>> previous major version: - The migration is part of the
>> 'FirstStartWizard' which runs on the first start of an OpenOffice
>> instance. - The migration code is part of the module 'desktop' which
>> is integrated into the OpenOffice application. Thus, no standalone
>> code available as far as I know. - I did not know any command line
>> option for OpenOffice application to run only this function.
>>
>>
>> Best regards, Oliver.
>>
>>>
>>> Thanks to all!
>>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Problem with automatized profile import OO4

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

> And in your opinion there is no way to re-run this import in a second
> time?
>

It is recorded that the FirstStartWizard has been perform. This is 
stored in a corresponding setting value in the user profile.
I am not sure, if the run of the user profile migration (as a sub action 
of the FirstStartWizard) is also recorded.

Let me check, the code and the user profile for the corresponding 
setting - stay tuned.


Best regards, Oliver.

> -- Riccardo Arzenton YACME S.r.l. (http://www.yacme.com) Via Majani 2
> - 40122 Bologna Tel: +39 051 19985458 ----- Messaggio originale -----
> Da: "Oliver-Rainer Wittmann" <or...@googlemail.com> A:
> dev@openoffice.apache.org Inviato: Lunedì, 4 novembre 2013 10:11:19
> Oggetto: Re: Problem with automatized profile import OO4 Hi, On
> 28.10.2013 10:30, Riccardo Arzenton wrote:
>> Hi to all,
>>
>> how can i force OO4 to try to restore the previous user profile
>> after the installation runned by a user script?
>>
>> I want to 1. Install OO4 2. Install some extensions that affect
>> the user profile (the user doesn't have to configure anything) 3.
>> If there is an old OO34 user profile, import that one.
>>
>> The point 1 and 2 are ok.
>>
>> How can I resolve the number 3? There is an OO4 command line that
>> i can launch saying to OO4 "import the previous profile without
>> asking anything, and if you don't find it, simply do nothing"?
>>
>>
>
> Here is what I know about the migration of a user profile from a
> previous major version: - The migration is part of the
> 'FirstStartWizard' which runs on the first start of an OpenOffice
> instance. - The migration code is part of the module 'desktop' which
> is integrated into the OpenOffice application. Thus, no standalone
> code available as far as I know. - I did not know any command line
> option for OpenOffice application to run only this function.
>
>
> Best regards, Oliver.
>
>>
>> Thanks to all!
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Problem with automatized profile import OO4

Posted by Riccardo Arzenton <ri...@yacme.com>.
And in your opinion there is no way to re-run this import in a second time?

-- 
Riccardo Arzenton
YACME S.r.l. (http://www.yacme.com)
Via Majani 2 - 40122 Bologna
Tel: +39 051 19985458

----- Messaggio originale -----
Da: "Oliver-Rainer Wittmann" <or...@googlemail.com>
A: dev@openoffice.apache.org
Inviato: Lunedì, 4 novembre 2013 10:11:19
Oggetto: Re: Problem with automatized profile import OO4

Hi,

On 28.10.2013 10:30, Riccardo Arzenton wrote:
> Hi to all,
>
> how can i force OO4 to try to restore the previous user profile after
> the installation runned by a user script?
>
> I want to 1. Install OO4 2. Install some extensions that affect the
> user profile (the user doesn't have to configure anything) 3. If
> there is an old OO34 user profile, import that one.
>
> The point 1 and 2 are ok.
>
> How can I resolve the number 3? There is an OO4 command line that i
> can launch saying to OO4 "import the previous profile without asking
> anything, and if you don't find it, simply do nothing"?
>
>

Here is what I know about the migration of a user profile from a 
previous major version:
- The migration is part of the 'FirstStartWizard' which runs on the 
first start of an OpenOffice instance.
- The migration code is part of the module 'desktop' which is integrated 
into the OpenOffice application. Thus, no standalone code available as 
far as I know.
- I did not know any command line option for OpenOffice application to 
run only this function.


Best regards, Oliver.

>
> Thanks to all!
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Problem with automatized profile import OO4

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 28.10.2013 10:30, Riccardo Arzenton wrote:
> Hi to all,
>
> how can i force OO4 to try to restore the previous user profile after
> the installation runned by a user script?
>
> I want to 1. Install OO4 2. Install some extensions that affect the
> user profile (the user doesn't have to configure anything) 3. If
> there is an old OO34 user profile, import that one.
>
> The point 1 and 2 are ok.
>
> How can I resolve the number 3? There is an OO4 command line that i
> can launch saying to OO4 "import the previous profile without asking
> anything, and if you don't find it, simply do nothing"?
>
>

Here is what I know about the migration of a user profile from a 
previous major version:
- The migration is part of the 'FirstStartWizard' which runs on the 
first start of an OpenOffice instance.
- The migration code is part of the module 'desktop' which is integrated 
into the OpenOffice application. Thus, no standalone code available as 
far as I know.
- I did not know any command line option for OpenOffice application to 
run only this function.


Best regards, Oliver.

>
> Thanks to all!
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Fwd: Problem with automatized profile import OO4

Posted by Riccardo Arzenton <ri...@yacme.com>.
Repost... Nobody have an hint for that?

-- 
Riccardo Arzenton
YACME S.r.l. (http://www.yacme.com)
Via Majani 2 - 40122 Bologna
Tel: +39 051 19985458

----- Messaggio inoltrato -----
Da: "Riccardo Arzenton" <ri...@yacme.com>
A: dev@openoffice.apache.org
Inviato: Lunedì, 28 ottobre 2013 10:30:54
Oggetto: Problem with automatized profile import OO4

Hi to all,

how can i force OO4 to try to restore the previous user profile after the installation runned by a user script?

I want to
1. Install OO4
2. Install some extensions that affect the user profile (the user doesn't have to configure anything)
3. If there is an old OO34 user profile, import that one.

The point 1 and 2 are ok.

How can I resolve the number 3?
There is an OO4 command line that i can launch saying to OO4 "import the previous profile without asking anything, and if you don't find it, simply do nothing"?



Thanks to all!

-- 
Riccardo Arzenton
YACME S.r.l. (http://www.yacme.com)
Via Majani 2 - 40122 Bologna
Tel: +39 051 19985458

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org