[xwiki-users] [XWord] Can't create System log file
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); 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! thanks Paul
and one more question, I'm hacking this in a bzr repository (which should be able to write back to the svn if required). I can submit a set of patches against XOffice once I've ironed out the bugs that are show-stoppers for me. Who do I talk to about that sort of thing? thanks Paul
On Fri, Dec 10, 2010 at 09:49, Paul Harris <[email protected]> wrote:
and one more question,
I'm hacking this in a bzr repository (which should be able to write back to the svn if required).
I can submit a set of patches against XOffice once I've ironed out the bugs that are show-stoppers for me.
Who do I talk to about that sort of thing?
Patches should be uploaded to corresponding issues on jira.xwiki.org -- http://purl.org/net/sergiu
Hi Paul, I plan to spend a few days on XOffice later this month in order to bring it up to date with the latest XWiki versions. Please submit your patched to jira and I will apply them. Thanks, Florin Ciubotaru -- View this message in context: http://xwiki.475771.n2.nabble.com/XWord-Can-t-create-System-log-file-tp58223... Sent from the XWiki- Users mailing list archive at Nabble.com.
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
On 10 December 2010 20:30, Florin Ciubotaru <[email protected]>wrote:
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
I have patched a few things, including system logging - it now correctly falls back to writing a file in a spot that it will be allowed to write to, and if that is still not possible then it'll show a warning to the user once. What I'd like to know now is: where does the ClickOnce installer get built? Where is the configuration for it? And, were could i put some code to create a system log? I'm not familiar with C# etc so if you could just point me in the potentially correct direction or tell me where the related projects/files are, that would be appreciated. thanks Paul
Hi Paul, Can you contribute your patches to jira.xwiki.org? I'd like to make a release that supports newer XWiki versions. Thanks, Florin Ciubotaru On Sat, Dec 11, 2010 at 1:40 AM, Paul Harris [via XWiki] < [email protected]<ml-node%[email protected]>
wrote:
On 10 December 2010 20:30, Florin Ciubotaru <[hidden email]<http://user/SendEmail.jtp?type=node&node=5824995&i=0>>wrote:
On Fri, Dec 10, 2010 at 10:44 AM, Paul Harris <[hidden email]<http://user/SendEmail.jtp?type=node&node=5824995&i=1>> 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
I have patched a few things, including system logging - it now correctly falls back to writing a file in a spot that it will be allowed to write to,
and if that is still not possible then it'll show a warning to the user once.
What I'd like to know now is: where does the ClickOnce installer get built?
Where is the configuration for it? And, were could i put some code to create a system log?
I'm not familiar with C# etc so if you could just point me in the potentially correct direction or tell me where the related projects/files are, that would be appreciated.
thanks Paul _______________________________________________ users mailing list [hidden email] <http://user/SendEmail.jtp?type=node&node=5824995&i=2> http://lists.xwiki.org/mailman/listinfo/users
------------------------------ View message @ http://xwiki.475771.n2.nabble.com/XWord-Can-t-create-System-log-file-tp58223...
To unsubscribe from [XWord] Can't create System log file, click here<http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5822372&code=ZmxvcmluLmNpdWJvdGFydUB4d2lraS5jb218NTgyMjM3MnwxODU0NzYzMDYx>.
-- View this message in context: http://xwiki.475771.n2.nabble.com/XWord-Can-t-create-System-log-file-tp58223... Sent from the XWiki- Users mailing list archive at Nabble.com.
There you go :) 3 new shiny patches On 20 December 2010 19:49, Florin Ciubotaru <[email protected]>wrote:
Hi Paul,
Can you contribute your patches to jira.xwiki.org? I'd like to make a release that supports newer XWiki versions.
Thanks, Florin Ciubotaru
On Sat, Dec 11, 2010 at 1:40 AM, Paul Harris [via XWiki] < [email protected]<ml-node%[email protected]> <ml-node%[email protected]<ml-node%[email protected]>
wrote:
On 10 December 2010 20:30, Florin Ciubotaru <[hidden email]< http://user/SendEmail.jtp?type=node&node=5824995&i=0>>wrote:
On Fri, Dec 10, 2010 at 10:44 AM, Paul Harris <[hidden email]< http://user/SendEmail.jtp?type=node&node=5824995&i=1>> 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
I have patched a few things, including system logging - it now correctly falls back to writing a file in a spot that it will be allowed to write to,
and if that is still not possible then it'll show a warning to the user once.
What I'd like to know now is: where does the ClickOnce installer get built?
Where is the configuration for it? And, were could i put some code to create a system log?
I'm not familiar with C# etc so if you could just point me in the potentially correct direction or tell me where the related projects/files are, that would be appreciated.
thanks Paul _______________________________________________ users mailing list [hidden email] <http://user/SendEmail.jtp?type=node&node=5824995&i=2> http://lists.xwiki.org/mailman/listinfo/users
------------------------------ View message @
http://xwiki.475771.n2.nabble.com/XWord-Can-t-create-System-log-file-tp58223...
To unsubscribe from [XWord] Can't create System log file, click here<
http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe...
.
-- View this message in context: http://xwiki.475771.n2.nabble.com/XWord-Can-t-create-System-log-file-tp58223... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Mon, Dec 20, 2010 at 8:49 PM, Paul Harris [via XWiki] < [email protected]<ml-node%[email protected]>
wrote:
There you go :) 3 new shiny patches
Thanks. Patches have been applied. XOffice 1.1.2 will be released next week. Florin Ciubotaru
On 20 December 2010 19:49, Florin Ciubotaru <[hidden email]<http://user/SendEmail.jtp?type=node&node=5852556&i=0>>wrote:
Hi Paul,
Can you contribute your patches to jira.xwiki.org? I'd like to make a release that supports newer XWiki versions.
Thanks, Florin Ciubotaru
On Sat, Dec 11, 2010 at 1:40 AM, Paul Harris [via XWiki] < [hidden email] <http://user/SendEmail.jtp?type=node&node=5852556&i=1><[hidden
email] <http://user/SendEmail.jtp?type=node&node=5852556&i=2>>
<[hidden email] <http://user/SendEmail.jtp?type=node&node=5852556&i=3><[hidden email] <http://user/SendEmail.jtp?type=node&node=5852556&i=4>>
wrote:
On 10 December 2010 20:30, Florin Ciubotaru <[hidden email]< http://user/SendEmail.jtp?type=node&node=5824995&i=0>>wrote:
On Fri, Dec 10, 2010 at 10:44 AM, Paul Harris <[hidden email]< http://user/SendEmail.jtp?type=node&node=5824995&i=1>> 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
I have patched a few things, including system logging - it now correctly falls back to writing a file in a spot that it will be allowed to write
to,
and if that is still not possible then it'll show a warning to the user
once.
What I'd like to know now is: where does the ClickOnce installer get built?
Where is the configuration for it? And, were could i put some code to create a system log?
I'm not familiar with C# etc so if you could just point me in the potentially correct direction or tell me where the related projects/files are, that would be appreciated.
thanks Paul _______________________________________________ users mailing list [hidden email] <http://user/SendEmail.jtp?type=node&node=5824995&i=2> http://lists.xwiki.org/mailman/listinfo/users
------------------------------ View message @
To unsubscribe from [XWord] Can't create System log file, click here<
.
-- View this message in context:
Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [hidden email] <http://user/SendEmail.jtp?type=node&node=5852556&i=5> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [hidden email] <http://user/SendEmail.jtp?type=node&node=5852556&i=6> http://lists.xwiki.org/mailman/listinfo/users
------------------------------ View message @ http://xwiki.475771.n2.nabble.com/XWord-Can-t-create-System-log-file-tp58223...
To unsubscribe from [XWord] Can't create System log file, click here<http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5822372&code=ZmxvcmluLmNpdWJvdGFydUB4d2lraS5jb218NTgyMjM3MnwxODU0NzYzMDYx>.
-- View this message in context: http://xwiki.475771.n2.nabble.com/XWord-Can-t-create-System-log-file-tp58223... Sent from the XWiki- Users mailing list archive at Nabble.com.
On 24 December 2010 05:38, Florin Ciubotaru <[email protected]>wrote:
On Mon, Dec 20, 2010 at 8:49 PM, Paul Harris [via XWiki] < [email protected]<ml-node%[email protected]> <ml-node%[email protected]<ml-node%[email protected]>
wrote:
There you go :) 3 new shiny patches
Thanks. Patches have been applied. XOffice 1.1.2 will be released next week.
Florin Ciubotaru
Great, thanks Florin
participants (3)
-
Florin Ciubotaru -
Paul Harris -
Sergiu Dumitriu