Archive: Installers have their own VMs that let you write code that can support: INI files.


Installers have their own VMs that let you write code that can support: INI files.
Hi everyone, I am new to NSIS. What does this statement mean..."Installers have their own VMs that let you write code that can support INI file reading/writing." It can be found on the NSIS Features page (http://nsis.sourceforge.net/Features)

What are VMs?


Virtual Machine. Python scripts run in a VM (I think). It means that the installers generated by nsis are not compiled to native code, therefore you don't have to pay for nsis. Have you used Visual basic? In that program you can choose to compile to native code or to p-code (VM). Nsis uses "p-code".


Thanks for the reply! So, from your knowledge, the VM INI file reading and writing is something that I have to code myself? OR is that capability built into NSIS?


Check the documentation. You'll find many instructions; two of which are called ReadINIStr and WriteINIStr.

You can ignore VM really it isn't that important to you (when it comes to scripting) or the end user. I think this is just a case of someone showing off with their technical terms leaving people lower down in the computer chain in the darkness.

-Stu :)