Mozda ti ovo bude od pomoci.
http://nsis.sourceforge.net/
Imas source koji je radjen u C++ pa pogledaj kako su tamo implementirane neke procedure.
Citat:
Plug-in system
NSIS can be extended with plug-in that can communicate with the installer. They can be written in C, C++, Delphi or another language and can be used to perform installation tasks or extend the installer interface. You can use the plug-in with a single line of script code. Plug-ins can also be compressed like other installation data and will only be included when you are using the provided features.
#!/usr/bin/basho
mv frog ancient_pond
echo "Splash!"