Skip to content
⌘ NSIS Forum Archive

How to update the "old" function calls?

6 posts

Mæster#

How to update the "old" function calls?

Hi!

Updatet yesterday to 2.01 and i tried to compile my old 2.0 scripts. But on every "old fashion" function call the compiler stops explainig:

"Invalid command: ..."

Some examples are:

KillProcDLL::KillProc
ZipDLL::extractall

I read that there is a new way to call functions using 'System::Call'. Do I have to update all the old fashion function calls using the 'System::Call' way?
If this is the case where could I get informations about the parameters I have to pass to successfully update the function calls?

Many Thanks,
Mæster.
Joost Verburg#
System is just a plug-in like ZipDLL, nothing has changed in 2.01.

I think you removed these plug-ins from your NSIS Plugins folder, please check whether they still exist there.
Mæster#
Originally posted by Joost Verburg

I think you removed these plug-ins from your NSIS Plugins folder, please check whether they still exist there.
You are right. The new installation removed the uncommon plugins. Which stupid mistake of mine. 🧟

Thank you, Joost.
Mæster#
Originally posted by Joost Verburg
Installing a new version does not remove your plug-ins, unless you uninstalled first.
You are right (again 😉).

But the new installation recommend an uninstall of the old version to the user. I followed this recommendation (to prevent a mixedup between two versions) and thats what makes the whole thing to my "mistake" 🙄

Greez,
Mæster.