claude herbert ostfeld
Posts: 2
Joined: 2011-04-01
|
We are using Add-in Express 2010 for Borland VCL, Professional (but we had seen the same behaviour with version 2007) to create a single button toolbar in Word, Excel and PowerPoint during msi installation phase.
We created a DLL that is registered via a custom action in immediate execution synchronous mode, to insert the button.
We are facing an installation freeze just trying to register the DLL.
There is no other way to salvage the session once the freeze occurs. We have to force a reboot.
The system being used is Windows 7 Ultimate with Office 2010 installed.
A Norton - 360 antivirus program has been installed too.
We have no idea why this is happening.
We don't think that the antivirus is involved by trying to protect Office applications during the MSI installation (administrative privileged execution)?
Has anybody ever seen this sort of behavior?
We made a kit without the Add-In Express component (and of course without the custon toolbar) and the installation went perfectly. |
|
Dmitry Kostochko
Add-in Express team
Posts: 2875
Joined: 2004-04-05
|
Hi Claude,
Did you try to register your add-in manually by using the regsvr32.exe system tool? What happens in this case? |
|
claude herbert ostfeld
Posts: 2
Joined: 2011-04-01
|
Hi Dmitry,
we eventually found out that it was the Norton 360 antivirus program that blocked the registration of our DLL when installation was on Win 7 Ultimate Edition.
We also found out that there were other items linked within the DLL that caused the antivirus to "react".
We solved the problem by splitting our DLL into two parts.
The first DLL creates a toolbar button within Office applications (and does nothing else). It gets registered during installation and then when the user "presses" the button at some later date it dynamically makes the second DLL get loaded.
The time involved does not get noticed but let's just say that previous operating systems may have been less safe but the solution provided by Windows 7 does not make life easy for developers. |
|
Dmitry Kostochko
Add-in Express team
Posts: 2875
Joined: 2004-04-05
|
Hi Claude,
Thank you for keeping us informed.
We also found out that there were other items linked within the DLL that caused the antivirus to "react".
Could you please specify which "other items" you mean? Is it some other DLLs or third-party components? Please clarify, I think this will be useful information for our forum readers. |
|