Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class subkey of InprocServer32 uses the ProdId instead of the full namespace and class name #12

Open
chadknudson opened this issue Aug 31, 2023 · 2 comments

Comments

@chadknudson
Copy link

I ran into a situation where a team member was having issues with an AddIn not being loaded in Word, When I dug into it, the Class subkey has the ProdId and Word seems to use the full namespace and class name to instantiate the AddIn for loading it.

I wrote a small utility to auto generate a setup script for Inno Setup to create an installer for a NetOfficeFw AddIn. I stole profusely from your NetOfficeFw.BuildTasks to help ensure that I got all the registration correct. I will publish this once I get through this current bug in our app.

@jozefizso
Copy link
Member

Yes, for .NET COM types the ProgId must match the fully qualified class name.

@chadknudson
Copy link
Author

I created a small app based heavily on your BuildTasks that will generate an INNO: Setup script file for creating an installer for a NetOfficeFw based COM AddIn for Microsoft Office. I have it up on my Github at https://github.com/chadknudson/INNOSetupScriptGeneratorForNetOfficeFW. I will include it in my walkthrough series of documentation I'm working on for building NetOfficeFw addins.

Thank you so much for all that you have done and continue to do on NetOfficeFw!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants