Archive: WISE sample code-NSIS conversion


WISE sample code-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

[moved DrO -> more relevant in here than the dev forum i think]


cross post

locked