Old 7th September 2006, 00:06   #1
glop
Senior Member
 
Join Date: Dec 2002
Location: Paris
Posts: 454
help for a command regsvr

Hello

instead of use a simply install.bat which including the line "regsvr32 /s "mycreation.dll"

i would like to include this into my NSIS script

does it possible ? can you help me Because i don't find ...

i tested

Quote:
ExecWait '"plugins\install.bat"'
or


Quote:
ExecWait '$SYSDIR\regsvr32.exe /s "$INSTDIR\plugins\mycreation.dll"'
don't match

and when i register my dll manually (double clic on install.bat (who only contain "regsvr32 /s "mycreation.dll")

it match....

Last edited by glop; 7th September 2006 at 00:51.
glop is offline   Reply With Quote
Old 7th September 2006, 19:32   #2
Jnuw
Senior Member
 
Join Date: Sep 2004
Location: Wisconsin, US
Posts: 258
Try:
code:

ExecWait "$SYSDIR\regsvr32.exe /s $INSTDIR\plugins\mycreation.dll"


I think you had some quote problems. I tested it (with different file of course) and it worked fine.

Jnuw
Jnuw is offline   Reply With Quote
Old 7th September 2006, 21:52   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Why are you using regsvr32 which doesn't exist on all Windows versions?
Just use RegDLL and UnRegDLL.

-Stu
Afrow UK is offline   Reply With Quote
Old 7th September 2006, 22:06   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
i believe he sorted things out in the end possibly from the thread i pasted last night and the messages i was left on aim (hopefully the RegDll method was used since that seemed to be the way to go from the most recent thread i'd found about it all).

-daz
DrO is offline   Reply With Quote
Old 7th September 2006, 23:24   #5
glop
Senior Member
 
Join Date: Dec 2002
Location: Paris
Posts: 454
hi guys
thanks for you help!
i finally succeed with that
RegDLL "plugins\mycreation.dll"

woo ! thanks
glop is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

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