On Thu, 2006-04-27 at 19:51 -0400, Hal Vaughan wrote: > On Thursday 27 April 2006 19:29, Gerrit Jasper wrote: > > Hal Vaughan wrote: > > >I asked this as part of another thread and did not get a clear > > > answer, so I'm hoping asking it as a specific thread will help. > > > > > >I am installing my own application on computers and it needs OOo to > > > run. I want to be able to check the version of OOo on that system > > > if it exists. On Linux, that's easy: I run "soffice -help" and it > > > prints to the console (so I can intercept it) a help message and I > > > can read the version. On Windows it opens a Window and prints > > > nothing to the console. I finally found build numbers in > > > sversion.rc and a similar .ini file on Windows. There's just one > > > problem... > > > > > >Is there a list somewhere of build numbers and their corresponding > > >version numbers? For example, what build (or builds) was version > > > 1.0, or any other versions up to 2.0.2? Isn't there a list > > > somewhere I can use to go through and match up build numbers with > > > version numbers? > > > > > >Thanks for any help on this. > > > > > >Hal > > > > > >-------------------------------------------------------------------- > > >- To unsubscribe, e-mail: [EMAIL PROTECTED] > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > Hal, > > > > I don't know anything about the inner workings of Windows but I > > suppose there is some analogy > > with OOo on Linux. Can you get the dates of files on your customer's > > machines? > > I was so narrowly focused on version numbers that it never occurred to > me to check dates. Thanks for the suggestion and examples. I'll look > into it. > > Right now, after Laurent's e-mail, I'm looking over build numbers. > > Thanks for the new direction -- it hadn't even occurred to me. > > Hal >
Possibly a dumb question but isn't this info kept in <path_to>/openoffice2.0/program/versionrc or its equivalent on all platforms? Seems to me that parsing this file would be a good source of the data. If I am missing the point feel free to ignore this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]