Self-registering DLLs - 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!

plamen
Posts: 1
Joined: Sun Jan 04, 2009 10:57 am

Self-registering DLLs

Hi,

I'd like to know if any of your products offers an easy and fool-proof way to register DLLs when the user is running on a limited account. So far I have tried to create an installer using the Properties->Auto Register File option but it doesn't work on a limited account. That's on XP, I haven't tried Vista yet.

Thanks!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Re: Self-registering DLLs

Hi,
So far I have tried to create an installer using the Properties->Auto Register File option but it doesn't work on a limited account.
This is because HKCR is accessed and DllRegisterServer routines currently do not support the notion of a per-user HKCR key. Read more on how Windows Installer handle file registration here:
http://msdn.microsoft.com/en-us/library/aa371608.aspx

So my suggestion is to use "Extract registration info from native library" file properties option. In this case the registration info will be automatically extracted to "Registry" page.

Best Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”