Register staxmem.dll - 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!

Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Register staxmem.dll

Hi,
I'm trying to add staxmem.dll to the system32 folder. This is a Windows dll, required when configuring IIS. I need to register the dll, but when I try to do this in the file Properties dialogue, I get the message "The selected file could not be registered". I've tried using regsvr32.exe, but I get the error message "staxmem.dll was loaded, but the DllRegisterServer entry point was not found. This file cannot be registered". If I try to make changes to IIS using a VB Script as part of Advanced Installer, without adding the dll, the user is prompted for a Windows XP installation disk: if the disk is insereted, the dll is extracted and registered, as required. I don't want the user to need to use their Windows disk to install the software though. Do you know how I can get around this problem?
Arthur
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Register staxmem.dll

Hi Arthur,

Instead of having the .VBS extract the .DLL from the Windows installation disk, you can try to include the .DLL in your package and follow "Auto register DLL" thread.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Re: Register staxmem.dll

Hi Mihai,
I tried that, but couldn't get it to work. Using RegSvr32.exe through a command line results in the error message "staxmem.dll was loaded, but the DllRegisterServer entry point was not found. This file cannot be registered". When I use RegSvr32 as described in the "Auto register dll" thread I get the same message. I used 'dependencywalker' to see if staxmem.dll is dependent on anything else, but it doesn't seem to be.
Arthur
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Register staxmem.dll

Hi Arthur,

Indeed if manually registering the .DLL with RegSvr32.exe didn't work the method I proposed in my last post shouldn't either. Also, since this is the case, I'm afraid there's not much we can do.
You should find a way to register that file and then implement the same behavior in the installer project.

The definition of your error by Microsoft indicates either of the following:
- the .DLL could not be exported
- a corrupted version of the .DLL already exists in the memory. Use Pview to detect the file and remove it.

You can also try the pacakge on other machines to isolate the behavior.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”