Archive: Help with simple script. I'm newbie.


Help with simple script. I'm newbie.
Dears, I'm absolutely newbie with NSIS and I need some help.

My needs are very simple:
I want to install 2 .bat files as system services and create 2 folders with some files. It's all.

I tried with NSIS simple service plugin but I have this error:
---
Processing script file: "C:\Documents and Settings\pine\Escritorio\Services.nsi"
Error: Can't add entry, no section or function is open!
Error in script "C:\Documents and Settings\pine\Escritorio\Services.nsi" on line 3 -- aborting creation process
----

I copied simpleSC.dll to NSIS plugins folder.
I don't know what is wrong.

Can you help me with this issue?

Do you know some simple script example for my needs?

Thanks a lot in advance for your help.


Put the plugin command inside a function or section


Thanks freeDB_man.

I think I need to learn basics about NSIS before to do something.

Can you tell me about some beginners tutorial?

Thanks again.