Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my project is a addin word with .netoffice. I tried to create a setup file with advance installer,
The dlls of the debug file are registered, and I gave administrator access for run setup

But still my addin is not loaded in Word!


Can anyone help?

Do I have to dll register in another way? Or should I do something else?


What I have tried:

create multi setup file with differnet value for properties
Posted

1 solution

If your add-in is not loading in Word, there could be a few different reasons for this. Here are some steps you can try to troubleshoot the issue:

Check if your add-in is installed correctly by going to the "File" menu in Word and clicking "Options". In the "Options" window, go to the "Add-Ins" section and check if your add-in is listed in the "Active Application Add-Ins" list. If it is not listed, it may not have been installed correctly.

Make sure that your add-in is enabled by going to the "File" menu in Word and clicking "Options". In the "Options" window, go to the "Add-Ins" section and check if your add-in is listed in the "Inactive Application Add-Ins" list. If it is listed here, you will need to select it and click the "Go" button to enable it.

If your add-in is listed in the "Inactive Application Add-Ins" list, it may be because it is not compatible with the version of Word you are using. Try uninstalling your add-in and then installing a compatible version.

If your add-in is still not loading, you may need to manually register the DLL files for your add-in. To do this, you will need to open a command prompt with administrator privileges and run the "regsvr32" command followed by the path to the DLL file you want to register. For example: "regsvr32 C:\path\to\myaddin.dll".

If you have already registered your DLL files using the "regsvr32" command, then you should not need to do anything else. However, if you are still having trouble with your add-in not loading in Word, there are a few other things you can try.

First, make sure that you have installed the correct version of your add-in for the version of Word you are using. If you are using a 64-bit version of Word, you will need to install a 64-bit version of your add-in. Similarly, if you are using a 32-bit version of Word, you will need to install a 32-bit version of your add-in.

You can also try uninstalling and then reinstalling your add-in to see if that fixes the issue. Sometimes, reinstalling can help resolve any issues that may have occurred during the initial installation.

If you are still having trouble, you may need to troubleshoot the issue further. One thing you can try is to use the "Fusion Log Viewer" to see if it can give you more information about why your add-in is not loading. To use the Fusion Log Viewer, you will need to open a command prompt with administrator privileges and run the following command: "Fuslogvw.exe". This will open the Fusion Log Viewer, where you can view any errors or warnings that may be related to your add-in.

If you have tried creating multiple setup files with different properties and your add-in is still not loading in Word, there are a few other things you can try.

First, make sure that you have installed the correct version of your add-in for the version of Word you are using. If you are using a 64-bit version of Word, you will need to install a 64-bit version of your add-in. Similarly, if you are using a 32-bit version of Word, you will need to install a 32-bit version of your add-in.

You can also try uninstalling and then reinstalling your add-in to see if that fixes the issue. Sometimes, reinstalling can help resolve any issues that may have occurred during the initial installation.

If you are still having trouble, you may need to troubleshoot the issue further. One thing you can try is to use the "Fusion Log Viewer" to see if it can give you more information about why your add-in is not loading. To use the Fusion Log Viewer, you will need to open a command prompt with administrator privileges and run the following command: "Fuslogvw.exe". This will open the Fusion Log Viewer, where you can view any errors or warnings that may be related to your add-in.

Additionally, you can try disabling any other add-ins that you have installed to see if one of them is causing a conflict with your add-in. To do this, go to the "File" menu in Word and click "Options". In the "Options" window, go to the "Add-Ins" section and select "COM Add-Ins" from the drop-down menu at the bottom of the window. Click the "Go" button and uncheck any add-ins that you want to disable, then click "OK" to save your changes.

I hope this helps!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900