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!

mvc451
Posts: 1
Joined: Thu Jul 08, 2004 12:24 am

Will not add reg keys/values on standard ATL COM Addin

I running the free version of Advanced installer(v1,7)
I've created a com addin that:
1) supports and exports DllRegisterServer() and DllUnregisterServer()
2) installs perfectly if I run RegSvr32 /s /c MyComAddin.dll

I've put MyComAddin.dll into the Application folder and enabled the auto register file check box

Advanced installer correctly creates the prgram files subdirectory and transfers the dll into it. However it will not add keys and values to the registry necessary of an office addin. I set these from DllRegisterServer(). I've gone so far as to include them in the Registry portion of Advnaced Installer to no avail.

It's almost as if Advanced Installer makes a judgment during the install that it does not need to update the registry.

I should mention that early on in testing this, I did have some success. But after the first successful install, things went downhill.

Thanks for any and all

-Michael
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Maybe the first time you installed the DLL, you never uninstalled it? And now it thinks they're installed already.

What happend if you rename the dll and change the GUID of the component (by removing and readding the dll to the installation)?
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Guest

I'm experiencing the same problem.
Tried renaming and using different GUID's. Still no luck.
Tried the same installation using another installer, and had no problems.
I had no such problems with version 1.6, however since upgrading to 1.8 any registry access appears to be problematic.
Any suggestions welcome, since this product is great and I'd much prefer to use it.

Sid.
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Sid,

Please send us the AIP file (to: support at advancedinstaller dot com) so we can take a look ASAP.

Regards,
Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”