NSIS installers and uninstallers can be both silent and not silent. When an installer or an uninstaller is silent, not all callback functions are called. , .onGUIEnd, their uninstaller equivalents and any callback related to a specific page or page type will not be called.

    There are several methods to make an installer or an uninstaller silent:

    Since the directory page is not shown in silent installers the user has an option to specify the installation directory on the command line (this also works on non-silent installers/uninstallers). To do that, the user uses the /D switch as in the following example:

    If your installer/uninstaller requires some more information that can not be gathered when silent, you can allow the user to specify that information on the command line and process it in .onInit. You can use .

    or:

    or: