Archive: WISE script -NSIS conversion


WISE script -NSIS conversion
Hi!
I have the source of a wise installation app.
It uses a DLL called lets say aaa.dll
I m trying to find how i could call the dll's function in NSIS.

the wise app source
...
item: Call DLL Function
Pathname=%TEMP%\%UPGDLL%
Function Name=INVALIDTARGET
Parameter=%MAINDIR%
Flags=00000110
end
...

in NSIS I tried this (after I put the aaa.dll in the plugins folder)
...
Function CustomPageB
!insertmacro MUI_HEADER_TEXT "ahaahahah" "ahahahah"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "ioB.ini"
aaa::INVALIDTARGET "d:\temp\"
FunctionEnd

When i try to compile the script it says
Invalid command: aaa::INVALIDTARGET

I know the description of my problem is not very clear.
Any help would be appreciated
thanx in advance


Hi :)

To be able to use your dll you'll have to check the examples in the NSIS "Contrib" directory, and to include the header file in "Contrib\ExDLL"

And reading this thread could be useful:
http://forums.winamp.com/showthread....hreadid=119184


evilO/Olive