Two AddIns in one installation

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

Two AddIns in one installation
I want to install 2 AddIns in one Installer 
Daniel Brenner




Posts: 85
Joined: 2007-09-24
Hallo,

I want to install an COM AddIn and an XLL AddIn in one installation Script. The problem ist the adxloader.dll.manifest

Can I edit the adxloader.dll.manifest that the dll loads both AddIns?

With kind regards
Daniel
Posted 14 Nov, 2007 05:46:27 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Daniel.

Do the add-in and XLL add-in share the same assembly?
Posted 14 Nov, 2007 10:43:56 Top
Daniel Brenner




Posts: 85
Joined: 2007-09-24
No they are in different DLLs. But I think thats not the problem. The Problem is the loading of the adxloader.dll.mannifest

Can I rename the mannifest file.

I did edit the minnifest and put both conigurations in it. I can load both AddIns in Excel. But the XllAddin doesn't work. I get an Error. The loading works but I can't use the UDFs.
Posted 14 Nov, 2007 10:50:03 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Daniel, the XLL loader should be renamed in
the 'adxloader.<Project Assembly Name>.dll' name. Do you have such file in the add-in application folder?
Posted 14 Nov, 2007 10:58:26 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Did you add the 'adxloader.<Project Assembly Name>.dll' file as a custom action in the setup project?
Posted 14 Nov, 2007 11:06:44 Top
Daniel Brenner




Posts: 85
Joined: 2007-09-24
Yes, I have.
Posted 14 Nov, 2007 11:07:46 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Daniel, I guess you have added the adxloader.dll file to the add-in application folder as well. If so, please remove it and rebuild the setup.
Posted 14 Nov, 2007 11:45:02 Top
Daniel Brenner




Posts: 85
Joined: 2007-09-24
Hi Sergey,

Is it right that i have to add the following files to my Application folder.

- adxloader.dll.mannifest (ComAddIn)
- adxloader.dll (ComAddIn)
- adxloader.dll.mannisfest (XLL AddIn)
- adxloader.XLLAddIn.dll

plus the Office AddIns and the Add-In-Express dlls.

Posted 15 Nov, 2007 08:52:23 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Daniel.

Please remove adxloader.dll file from the setup project.
The adxloader.dll.manifest file should be common for both add-ins and it should contain two assemblyIdentity attributes.
Posted 15 Nov, 2007 08:59:20 Top
Daniel Brenner




Posts: 85
Joined: 2007-09-24
Hi Sergey,

thats the code of my new adxloader.dll.mannifest

Is that code OK. Thanks for helping.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<assemblyIdentity name="BPSKonz2Excel, PublicKeyToken=0204e394200d55e6" />
<assemblyIdentity name="BPSKons_Functions, PublicKeyToken=dc71a5c99734105a" xllClass="BPSKons_Functions.BPS_KonsFunctions" />
<loaderSettings generateLogFile="true" shadowCopyEnabled="true" privileges="user" />
</configuration>
Posted 15 Nov, 2007 09:02:56 Top