Installer Error WordaddIn

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

Installer Error WordaddIn
 
Andreas Waning


Guest


Hello,
I developed a WordAddin. In my project I created in the Menu "Add-in Express" -> "Create a Setup Project" a setup project.

In 99% the Setup works fine and the Wordaddin is working correctly. But sometimes the WordaddIn is not loading.
Now I find out the following behavior:

When I install the WordaddIn for "Current User" it works fine.
(Find Registrydate in HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins\GutachtenManagerWordAddIn.AddinModule)

If I install it for "All User", the WordAddIn is not working.
Also, when I execute the Setup.exe in "Admin Mode" it is not working.
(Find Registrydate in HKEY_LOCAL_USER\Software\Microsoft\Office\Word\Addins\GutachtenManagerWordAddIn.AddinModule)

Do you have a solution for this problem ?
Posted 02 Nov, 2017 04:27:24 Top
Andrei Smolin


Add-in Express team


Posts: 18816
Joined: 2006-05-11
Hello Andreas,

First off, please verify if your installer works correctly if you start setup.exe using the Run as administrator command.

To create a per-machine installer you need to follow steps listed in section Deploying a per-machine Office extension via an MSI installer, see the PDF file in the folder {Add-in Express}\Docs on your development PC.

If you use WiX, you can create an installer that allows the user to choosing whether to install the add-in per machine or per user; see section Dual-Purpose Installers.


Andrei Smolin
Add-in Express Team Leader
Posted 02 Nov, 2017 07:52:47 Top
Andreas Waning


Guest


Thanks for the answer.

>>> First off, please verify if your installer works correctly
>>> if you start setup.exe using the Run as administrator command.
When I do that, the will not be loaded!!!


>>> If you use WiX, you can create an installer that allows the user to choosing whether
>>> to install the add-in per machine or per user; see section Dual-Purpose Installers.
If have the choose between "Machine" and "Per User"
If I choose "All User/machine" the Wordaddin will not beloaded by Word !!!!

Do you have an idea ?
Posted 02 Nov, 2017 08:18:06 Top
Andreas Waning


Guest


I wrote a small demo project. In this small project it works correct.

I try to find out, why it works not in my project !

Thanks
Posted 02 Nov, 2017 08:27:56 Top
Andrei Smolin


Add-in Express team


Posts: 18816
Joined: 2006-05-11
Ok. Please let me know about your result. If you need my help, don't hesitate.


Andrei Smolin
Add-in Express Team Leader
Posted 02 Nov, 2017 09:31:34 Top