Which DLLs need to be registered? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

BGood
Posts: 32
Joined: Thu Apr 19, 2012 4:22 pm

Which DLLs need to be registered?

My windows forms application is installed with an installer built with AI 9.4. After installation of my Windows Forms Application on Windows 7 (Ulitmate) and Windows 8 (beta) machines, I get the following execution error as the application is loaded for execution:

Bootstrap Error: An unhandled exception (Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))) occurred while bootstrapping the application.

The exception dialog pops up during the splash screen as my main assembly is being loaded, but does not indicate which DLL is not registered. How do I determine which DLLs need to be registered and which DLL is causing this exception on Win 7 and 8?

I currently do not do anything special for DLL registration. I simply put the DLL files in the APPDIR.

Thanks for any assistance.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Which DLLs need to be registered?

Hello,

In order to register a DLL file you can take a look on our "How do I register a file?" article. Also, if you want to debug and find which of your application DLLs need to be registered you should use your development environment documentation and support.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”