Using mshtml and getting Office Setup

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

I'm using an IHTMLDocument from mshtml to load and parse e-mails in
HTML format.


This is running inside a service.


The service would hang with a particular e-mail we were receiving (a
spam of course ;-).


After running the service as system and allowing it to interact with
desktop, we realized that what was happening was that an Office
Professional setup dialog would popup asking for the Office CD.


We figured that the e-mail was probably edited with Word and it was
looking for a particular template which had not been installed
locally.


My question is: is there any way to prevent mshtml from automatically
launching the Office setup (or any other setup for that matter)?


Thanks for any info!
François Côté
.