Archive: can't register dll on windows 7


can't register dll on windows 7
in my nsis script, there is one line:

!InsertMacro InstallLib REGDLL NOTSHARED REBOOT_PROTECTED "D:\bin\myproject.dll" $INSTDIR\myproject.dll

myproject contains a IE toolbar.

It's correct on XP, myproject.dll can be registered, but it's not correct on windows 7, dll can't be registered, that means that my IE toolbar name can't appear on IE window. Is there any mistake? thanks.


1. Make sure you have RequestExecutionLevel admin.
2. If $INSTDIR points to System32 or Program Files then you must use ${DisableX64FSRedirection} from x64.nsh if you want to write to SysWOW64 or Program Files (x86) instead.
3. Make sure all dependencies are installed.

Stu


thanks, although problem is not resolved.