Old 19th January 2011, 02:20   #1
skzhe
Junior Member
 
Join Date: Feb 2007
Posts: 8
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.
skzhe is offline   Reply With Quote
Old 19th January 2011, 10:17   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 19th January 2011, 14:14   #3
skzhe
Junior Member
 
Join Date: Feb 2007
Posts: 8
thanks, although problem is not resolved.
skzhe is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
regdll windows 7

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump