Unable to register dll in mapped drive - Advanced Installer Community
gcruz
Posts: 16
Joined: Fri Oct 20, 2017 12:09 pm

Unable to register dll in mapped drive

Hello !!

When our users install the application, if they install in a mapped drive, the dll register fails.
However if the dll is registered from an cmd in the same mapped drive, it works fine.

We've tried to set the mapped drive with "net use \\server\path X: /persistent:yes" command before run the installer, but the installer fails to register and registering from the cmd with regsvr32 works.

is there any way for AI can register dlls in mapped drives??

I we refer to the mapped drive for the real path (\\server\path) there is no problem, but not all users can use this method.

Thanks & Regards.
Guillermo
Attachments
Screenshot_1.jpg
Screenshot_1.jpg (20.95 KiB) Viewed 2663 times
Screenshot_2.jpg
Screenshot_2.jpg (55.13 KiB) Viewed 2663 times
Screenshot_3.jpg
Screenshot_3.jpg (23.66 KiB) Viewed 2663 times
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to register dll in mapped drive

Hello Guillermo,

It looks like this is a Windows Installer limitation.

For more information about this, please have a look over the following forum thread, where my colleague Daniel has explained this:

Dlls are not registering

Instead of the "Self register native library" option, could you please try to use the "Extract registration info from native library" option and let me know if that works?

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gcruz
Posts: 16
Joined: Fri Oct 20, 2017 12:09 pm

Re: Unable to register dll in mapped drive

Hello !!
It's works !!

Thaaaaaaaaank you !!!

Best Regards from Canary Islands, Spain.
Guillermo
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to register dll in mapped drive

You are always welcome, Guillermo!

I am really glad everything works as expected.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”