Hi,
It seems that perhaps -norestore does work. but i'm not sure -headless can remove "update" dialog boxes if u open a OO3.0 file using OO 2.4. It'll be great if someone can verify this. I've tried it using a cmd prompt with soffice.exe -headless <document name> and it suppresses perfectly. However if i first start the soffice instance with headless using createprocess and then bootstrap and loadcomponentwithurl, it doesn't work. Anyway, I believe the first start registration wizard can be prevented by editing the setup.xcu file to include the license date and filling in yes to OOsetupcompleted. > From: des...@gmail.com > To: dev@api.openoffice.org > Date: Tue, 5 Oct 2010 09:28:17 +0200 > Subject: Re: [api-dev] Suppressing Future Version and Recovery Dialog Boxes > > On Monday 04 October 2010, Wei Min Teo wrote: > > 1) I can't seem to get rid of the recovery dialog box that appears to > > prompt users on whether to recover files. > > 2) Also, if there's a file from a later OO version, there's also a dialog > > box that pops up to asks if you want to upgrade or postpone to later. I > > would like to know how to suppress these. > > > > I've tried running soffice.exe with the "-norestore" and "-headless" switch > > and it doesn't seem to work. I'll really appreciate any advice to solve any > > of the 2 problems. > > Hi, > > here is what I use: > > -nologo -nodefault -norestore -nocrashreport -nolockcheck -nofirststartwizard > > But OO 2.4.(??) has a Bug. The first start registration wizard dialog > box will still popup once. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org > For additional commands, e-mail: dev-h...@api.openoffice.org >