We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.

InstallDir doesn't work

From NSIS Wiki
Jump to navigationJump to search

Make sure InstallDirRegKey isn't setting $INSTDIR. InstallDir only sets the default value of $INSTDIR, in case no other values can be found. The priority of $INSTDIR values, from highest to lowest, is as follows:

  1. Value passed on command line with /D
  2. Value read from registry key specified by InstallDirRegKey
  3. Value specified by InstallDir