On Fri, Dec 10, 2010 at 10:44 AM, Paul Harris <[email protected]> wrote:
Hi again,
I've been investigating problems with XWord.
One of the big problems on Vista and Windows7 is this line in Log.cs
EventLog.CreateEventSource(eventSource, logName);
This is a know issue. IIRC I didn't have an optimal solution for it, but the logger should fall back to writing to a file is it doesn't have the rights to create a Windows log.
It can't create a system log at this point as that must be done as Administrator... and normally its the User running XWord/Word at this point.
This sort of thing is supposed to be done at the point of installation, but I don't have any idea of how to do this yet.
Does anyone know? Can someone please explain how the XWord installer works? The "Setup XWord" project appears to be completely empty to my untrained eye!
Setup XWord was used on an outdated build of XOffice. The advantage of using it was that it allowed custom setup actions(extra screens, custom code like registering log groups, etc). The issue is that is not well integrated with VSTO and even with proper code/assembly signing the add-in will fail to start on some custom Windows and Office distributions. The current installer is ClickOnce based and is bundled in the "XWord" project, unfortunately it's harder to customize it. I guess the only quick & healthy solution to this issue is to remove the system logging. Florin Ciubotaru
thanks Paul _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users