Old 17th March 2004, 08:28   #1
Pyjamarama
Junior Member
 
Join Date: Nov 2003
Posts: 25
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]
Pyjamarama is offline  
Old 17th March 2004, 15:16   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
cross post

locked

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline  
Closed Thread
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