Install class is never called

Add-in Express™ Support Service
That's what is more important than anything else

Install class is never called
AddIn Express Installer runs, but not call .Install method 
Yves Rausch




Posts: 6
Joined: 2012-06-20
I run a office plugin to load and save documents to a web-service.
Did this projects years ago with Visual Studio 2010

Worked pretty fine until I had to update to 64bit Office version.

The component builds correct, the setup compiles correct, but the installer class gets never called.

So I finally found out that adxregister.exe does not call it and I have to add the output dll to custom actions like I did before.

But when I do this now I do get Error 1001: InstallUtilLib.dll. Unknown error.

- it does not matter if target install ix x86 or x64 (I want x64 at the end)
- I use .Net 4.5.x atm as framework for this project, raised to .Net 4.6.1, does not make a difference

Starting MSI with admin priv, it copies all files and then popup the error.

Sidenote: I do have a logger that writes all errors, and on uninstall this show up:

System.UnauthorizedAccessException: Access to the path 'adxregistrator.exe' is denied.
at ....AddinModule.UninstallControls()

So any idea why this happens?
Kind regards,
Yves
Posted 25 Mar, 2021 09:17:58 Top
Yves Rausch




Posts: 6
Joined: 2012-06-20
Nevermind. Problem found 5 minutes after posted (and hours of searching).

using System.Configuration.Install;

was missing :(
Kind regards,
Yves
Posted 25 Mar, 2021 09:26:23 Top