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" <[email protected]>
A: [email protected]
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" <[email protected]> A:
>> [email protected] 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: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to