Old 28th October 2011, 16:20   #1
cowwoc
Member
 
Join Date: Feb 2005
Posts: 51
Help fixing NSIS Service Lib

Hi,

I found a bug in the NSIS Service Lib [1] but I don't know how to fix it. According to http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx the "depend" parameter must consists of a two-dimensional array, where each dependency is null-terminated and the final one is doubly null-terminated. The current plugin doesn't do this so passing multiple dependencies always fails.

How do I construct a two-dimensional array as CreateService is asking for in NSIS?

[1] http://nsis.sourceforge.net/NSIS_Service_Lib

Thanks,
Gili
cowwoc is offline   Reply With Quote
Old 31st October 2011, 06:28   #2
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 562
Send a message via ICQ to T.Slappy
Maybe consider using another plugin: try Simple Service plugin http://nsis.sourceforge.net/NSIS_Simple_Service_Plugin

Cool looking installers with custom design: www.graphical-installer.com
Create Setup Pages easily: www.install-designer.com
Build installers in Visual Studio 2005-2022: www.visual-installer.com
or RAD Studio 2009 - 11 Alexandria: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 31st October 2011, 12:16   #3
cowwoc
Member
 
Join Date: Feb 2005
Posts: 51
Quote:
Originally Posted by T.Slappy View Post
Maybe consider using another plugin: try Simple Service plugin http://nsis.sourceforge.net/NSIS_Simple_Service_Plugin
That's what I ended up doing. Can someone please edit the Wiki for Service Lib and indicate the existence of this bug? We don't want other people getting caught in the same surprise.

Gili
cowwoc 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