Archive: Help with a VB6 setup


Help with a VB6 setup
Hello, I'm from Sapain and it is the first time that i use nsis to make my setups.
My problem is that i don't know how can i make a setup that register some ocx and dll.
My program has got an exe an some vb runtimes.

I will like to register that ocx and dll but i don't know so much about the script of nsis.

Thank you very much and sorry for my bad english


uhmm.. the normal syntax for registering files is:


RegDLL "$SYSDIR\nsis.ext"


this will register "nsis.ext" wich is located in $SYSDIR wich is the variable for the System32 folder

ok but....
First i need to copy the ocx and dll in the system folder and then i need to use the code that you said me.
Is that ok?
i'm goingo to be mad.
Thanks a lot


If using 2.0, use the UpgradeDLL macro. If using 2.01 (from CVS), use the new Library system.